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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
mgm-vhx
New Member

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.

 

1 ACCEPTED SOLUTION
mgm-vhx
New 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!)

 

 

 

View solution in original post

1 REPLY 1
mgm-vhx
New 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!)

 

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.