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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
Tony-A
Microsoft Employee
Microsoft Employee

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.