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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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





Regular Visitor

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.




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?

Helpful resources

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.