Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi
I have set up a report in power BI desktop that uses an API with a key as its data source.
When I publish the report in power BI service how do I input the credentials?
It does not seem to give me an option to add a key and I have not managed to find any notes on how to do this.
Details:
In desktop I connected to the API but selecting:
When I publish and go to the data source credentials I cannot see any option that lets me input the key.
How can I input the credentials required so that the report will refresh?
Thanks
Regards
Trotter
Solved! Go to Solution.
Hi. Reading your comment it looks like the credentials are written at the code in the header of the request. That means you are not using powerbi credentials (auth2, basic, windows, etc). When editing the credentials look for "Anonymous" category. Power Bi Service will asume that it doesn't need credentials for running the request because it's a public request or they already are in the power query code.
I hope that helps,
Happy to help!
Hi. Reading your comment it looks like the credentials are written at the code in the header of the request. That means you are not using powerbi credentials (auth2, basic, windows, etc). When editing the credentials look for "Anonymous" category. Power Bi Service will asume that it doesn't need credentials for running the request because it's a public request or they already are in the power query code.
I hope that helps,
Happy to help!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 51 | |
| 24 | |
| 13 | |
| 12 | |
| 11 |