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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.