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

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.