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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
vdesetty
Microsoft Employee
Microsoft Employee

PowerBI to dotnetcore Web API through Microsoft Identity Provider

Hi Team, I am trying to connect from PowerBI to dotnetcore Web API through Microsoft Identity Provider.

 

I am able to login and see the response in web browser but when I am trying to connect from PowerBI Desktop, its giving me the following error.

"invalid_resource: AADSTS500011: The resource principal named xxx was not found in the tenant yyy"

 

vdesetty_3-1668644627625.png

 

Would be great if anyone help in resolving or pointing to any resources.

3 REPLIES 3
vdesetty
Microsoft Employee
Microsoft Employee

Hi Xiaoxin Sheng, Thanks for the response.

1. I am having a .Net 6.0 Web API developed without any authentication from a code or project point.

2. I deployed into Azure Web App which authenticated by Microsoft Identity. - No special scopes or permissions defined.

vdesetty_1-1669053702941.png

3. I am able to access the web app by browser by Microsoft Authentication.

4. When I trying to connect from Power BI to this api as Web, getting this error message.

vdesetty_4-1669053874937.png

 

Please let me if I can provide more details.

 

 

 

 

Anonymous
Not applicable

HI @vdesetty,

What type of data connector are you used? Can you please share some more detail about these operations?

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Hi Xiaoxin Sheng, 

I am trying with Other --> Web (by Organizational account)

vdesetty_0-1669157522372.png

vdesetty_1-1669157600320.png

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.