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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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