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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.