Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I am try get the authentcation token for the Power BI REST api.
Getting the below error.
Followed the solution from the below link, buy no luck.
https://community.powerbi.com/t5/Power-Query/Connect-to-API-Bad-Request-Error/td-p/910259
Please can any one guide me.
@lbendlin - Yes, that's not the issue :). Tha just my mistake when grabbing the sample screenshot.
OK, so here's the bad news. According to Chris Webb you cannot use OAUTH2 authentication with the Power BI REST API from within Power Query. You can only use AAD auth (which is a simplified subset of OAUTH2).
You have a typo - "TennatID"
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 7 | |
| 4 | |
| 3 | |
| 3 |