Forum Discussion
Disabling multi factor authentication for power bi
- 6 years ago
Hi piper ,
The request requires the user to do multi-factor authentication and then send this new token back to Web API 1 and complete the on-behalf-of flow. MFA was enabled by triggering a rule if some action (e.g. sudden location change) was treated as "risky activity". For an account there is a "moved to a new location" flag that can get set, automatically triggering the need for MFA, even if it was initially off.
Please check the conditional access locations in Azure AD and check if your AAD admin can clear the flag. Disable MFA for the account or configure conditional access to give access to "Global Admin" role.
Please find additional info in the following articles:
https://docs.microsoft.com/en-us/azure/active-directory/develop/conditional-access-dev-guide
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
Found a solution. Created a Service account with Power Bi portal admin and have this service account to be excluded from the nightly process that forces the MFA the next day.
Log in to the Power Bi Portal under this service account and recreate the subscription under this login. This is working for my organization so far.
iabrani could you please elaborate on your approach? Why it forces MFA only next day? You mentioned subscriptions? what subscriptions are those? email report export ones?
piper I wonder if you found a solution. I have a similair issue: Automate export to PDF for paginated without servi... - Microsoft Fabric Community