Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hello,
I need to access Power BI Amin REST API from c# Azure function for getting PBI audit logs. But there are two issues:
Is there any way how I can get a token from login.microsoftonline.com with my Acc with MFA?
Thank you very much.
Good morning, I am having the same issue witg MFA when I want to see a Power Bi Dahboard from an aplication web. If I have disable MFA I can see the dashboard without problems, but If I enable again MFA I have again the issue.
I read that : "The actual solution we have to wait till powerbi enabled the SPN autentication for PowerBI Admin API's."
Is already there Any solution?
Thank you.
Disable the MFA on Azure Portal.
Azure Active Directory -> Properties -> Manage Security Defaults Link and Disable
It would be nice if the world was so easy.
I'm not an AAD administrator and MFA is a company policy.
Hi @soldous ,
I think there is currently no way to solve your problem. You have to disable to MFA to use your credentials for azure functions.
The other workarond for you is, Instead of using your AAD account, you can create a service account with MFA disabled then assign the service account as the PowerBI admin. Then using the service account you can do your business logics in azure functions.
The actual solution we have to wait till powerbi enabled the SPN autentication for PowerBI Admin API's.
Hi @Jayendran
I was afraid of this answer. I can't use a service acc because it's impossible to give admin rights to service acc in our company.
Hi soldous, have you find a solution for using Power BI Api Rest with MFA?
You can use Use service authentication, it's work.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
16 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
13 | |
6 | |
4 | |
3 | |
2 |