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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
seemasam
Regular Visitor

User Assigned Managed Identity Authorization for Power BI REST API and Embed

We have created a User Assigned Managed Identity ( Note: Not a System Assigned Managed Identity nor Normal App Reg).

  1. Can I authorize Power BI REST API calls with User Assigned Managed Identity?

    Using User Assigned Managed Identity authorization to Power BI REST API calls we get Unauthorized access.

    We tried to add the Power BI Service API Permissions on the User Assigned Managed Identity using Az CLI, but that also did not fall into the right place.

  2. Can I implement Power BI Embedded with User Assigned Managed Identity?

Thanks for the help in advance

 

 

 

 

3 REPLIES 3
seemasam
Regular Visitor

@AmosHersch 
1. Yes, my scenario is with a combination of Power BI Embedded and Power BI REST API.

2. Unauthorized for all the Power BI REST API calls are thrown.

 

I am using the Power BI REST API to generate the tokens, with the Auth Token as Azure AD Token generated for the User Assigned Managed Identity.

We did try to add the Power BI Permissions to the User Assigned Managed Identity, but it all fell under the MS Graph API.

seemasam_0-1696359724331.png

 

AmosHersch
Microsoft Employee
Microsoft Employee

Hi @seemasam ,

I believe your scenario is supported in Power BI embedded.

Which API(s) failed for you? Did you give your user permissions for the relevant workspace?

Did you check if the response message body has additional information regarding the reason of the Unauthorized error?

Hi are there any documentation specifically on PBI Embedded and Managed Identity combination please?

We are struglling to find any reference on this topic. 

Basically we need to be able to embed PBI Embedded hosted reports in a webpage with Manged Identity, hiding tokens from the client. thanks

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.