cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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

 

 

 

 

2 REPLIES 2
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
Microsoft

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

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.