Forum Discussion
soldous
6 years agoAdvocate II
Power BI Admin API with MFA
Hello, I need to access Power BI Amin REST API from c# Azure function for getting PBI audit logs. But there are two issues: my AAD acc with Power BI Administrator right has multi-factor authent...
Jayendran
6 years agoSolution Sage
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.