Forum Discussion

vdesetty's avatar
vdesetty
Microsoft Employee
3 years ago

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"

 

 

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

3 Replies

    • vdesetty's avatar
      vdesetty
      Microsoft Employee

      Hi Xiaoxin Sheng, 

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

       

  • vdesetty's avatar
    vdesetty
    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.

    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.

     

    Please let me if I can provide more details.