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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.