Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
I am trying to setup Embed Power BI for customers. I have setup all credentials in config.py file under AppOwnsData folder, completed all steps mentioned in documentation. Authentification mode is 'MasterUser'. When I run that flask app ('flask run'), I get this error in the browser:
Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access '00000009-0000-0000-c000-000000000000' etc.
Solved! Go to Solution.
Hi @fuadak ,
According to the error message description, 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.
Check the conditional access location in Azure AD and check if the AAD administrator can clear the flag to disable the MFA for the account , you need to get the administrator to retry granting a new authorization request against that resource.
Network in Conditional Access policy - Microsoft Entra ID | Microsoft Learn
Set up multifactor authentication for users - Microsoft 365 admin | Microsoft Learn
Here is the official documentation explaining why the same code appears:
This is the related document, you can view this content:
Solved: Error: AADSTS50076 while trying to login on App-ow... - Microsoft Fabric Community
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @fuadak ,
According to the error message description, 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.
Check the conditional access location in Azure AD and check if the AAD administrator can clear the flag to disable the MFA for the account , you need to get the administrator to retry granting a new authorization request against that resource.
Network in Conditional Access policy - Microsoft Entra ID | Microsoft Learn
Set up multifactor authentication for users - Microsoft 365 admin | Microsoft Learn
Here is the official documentation explaining why the same code appears:
This is the related document, you can view this content:
Solved: Error: AADSTS50076 while trying to login on App-ow... - Microsoft Fabric Community
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
15 | |
13 | |
7 | |
7 | |
6 |