Forum Discussion
Power BI REST API return PowerBINotAuthorizedException
Hello guys,
We are working on embedding Power BI Report into a legacy web application. We have finished setting up:
- Entra ID App Registration + Client Secret + Power BI API Readonly Permissions
- The only step we could not reproduce is this Step 6. We can only see Allow service principles access to Fabrics API on the PBI admin account
- The Power BI Pro account doesn't have access to Admin Portal and sits on a separate account (not admin, just the account for the DE to work with)
How can I use Entra Application with delegated permissions to use PBI REST APIs to generate token for secured embedding on our legacy web app?
Thanks.
Today we found out that:
- We could skip Step 6 in the tutorial since we could not find it
- We've forget to include the Entra App (Service Principle) in in Workspace access which of course lead to 401 Unauthorized. (we did this with the Pro PBI account which is Workspace/Group owner and it finally works!)
1 Reply
- mgm-vhxNew Member
Today we found out that:
- We could skip Step 6 in the tutorial since we could not find it
- We've forget to include the Entra App (Service Principle) in in Workspace access which of course lead to 401 Unauthorized. (we did this with the Pro PBI account which is Workspace/Group owner and it finally works!)