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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.