Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
I'm trying to connect to a data source that uses REST API and can't seem to get authentication working. In REST, this code works:
In PowerBI, I've used the same URL and set the Authorization header with the same parameters and get the following authorization error:
What am I doing wrong here?
Hi @keds2300 ,
Please see my exisiting answer below
By directly this is not achieveable however using gateway as a workaround this can be achievable !
Hi @keds2300
check Chris Webb's Blog.
https://blog.crossjoin.co.uk/category/power-bi-api/
Regards,
Marcus
Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
Thanks, but the post has information about creating a custom connector for the Power BI REST API. I'm trying to connect to a another application's API. Can I not do that directly from PowerQuery or do I need to create a custom connector as well?
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 31 | |
| 28 | |
| 24 | |
| 24 | |
| 19 |
| User | Count |
|---|---|
| 44 | |
| 32 | |
| 18 | |
| 17 | |
| 16 |