Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
gauthamboppana
Solution Specialist
Solution Specialist

Power BI Rest API authentication token error



I am try get the authentcation token for the Power BI REST api.

 

gauthamboppana_0-1658506930737.png

 

Getting the below error.

gauthamboppana_1-1658507173722.png

 



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. 

3 REPLIES 3
gauthamboppana
Solution Specialist
Solution Specialist

@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).

lbendlin
Super User
Super User

You have a typo - "TennatID"

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Kudoed Authors