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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Power BI App Owns Data Application Error: Unauthorized (401)

Hi I am trying to integrate a report into an application using the Power BI .NET SDK with the Power BI JavaScript API. I followed the steps in the below tuitorial:
https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-sample-for-customers#:~:text=App%....

I am using ServicePrincipal. When I run my .config script, I am getting the error status "Unauthorized (401)".

I have added the Power BI API to the registered app and granted all permissions.

How can I fix this?

Thanks in advance!

Status: New
Comments
v-chuncz-msft
Community Support

@Anonymous 

 

You may take a look at Troubleshoot your embedded application.