This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
I'm trying to set up a connection to a Web REST API in Power BI Service. I've attempted to use the API key in the username field under Basic Authentication, but I keep getting an error that all fields need to be filled out. Has anyone encountered this issue before, or does anyone have suggestions on how to properly configure this? Any help would be appreciated.
Hi @sajohnson05,
Can you try the below API key approach from the Web.Contents documentation? The Power Query M code is:
Web.Contents("https://contoso.com/api/customers/get", [ApiKeyName="api_key"])
https://learn.microsoft.com/en-us/powerquery-m/web-contents#example-3
@ExpiscornovusI'm able to get the API connection to work in the Desktop version of Power BI. However, when I try to update the data source credentials in the Power BI Service, I'm encountering issues. Any advice on how to resolve this?
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 50 | |
| 27 | |
| 23 | |
| 23 | |
| 22 |