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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
data_model
Frequent Visitor

PBI Desktop authentication error with REST API

Hi,

In PBI Desktop, I am receiving below error when i try to get data using web connector via PBI REST API. I can run the same REST API from outside ( i tried even in MS REST API documentation page and it works fine eg., Datasets - Get Datasets In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn). I am on latest version of PBI desktop, if it helps. I thought of permission issue with my account but it works from browser etc., Am i missing something here? Any help is appreciated. Thanks

data_model_0-1726007959458.png

 

1 REPLY 1
lbendlin
Super User
Super User

You need to authenticate via AAD and you need to use a custom connector for that.

 

For example https://github.com/migueesc123/PowerBIRESTAPI

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.