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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
vijaykvs
Microsoft Employee
Microsoft Employee

Access Power BI REST API using Managed Identity

I am currently have a Service Principal (App Reg) which has access to the Power BI REST API. And I use this app from my python notebook in Azure Databricks to make REST API calls. Now we have a manadate to move away from secret or certificate based authentication and use Managed Identity. I created an user assigned managed identity, assigned to the databricks workspace and added it as a Federated Credential in the Service Prinicipal that has access to the REST APIs. Bot the managed identity and Service Prinicipal have beed added to the PowerBI workspace as well. But I still get unauthorized error. Any gudiance is appreciated. Thanks!

2 REPLIES 2
Anonymous
Not applicable

Hi Vijay, I'm also a MSFT employee and have a similar issue where I need to move from SPN to UAMI. I'm totally lost. Wondering if you figured this out for your use case and if I could ping you on Teams to understand how you configured it if you did? Feel free to DM me.

Anonymous
Not applicable

Hi @vijaykvs ,

Can you please share some more detail information about this issue? They should help us clarify your scenario and test to troubleshoot.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.