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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
fuadak
New Member

Embed Power BI for customers - sample embed error

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

1 ACCEPTED SOLUTION
v-yangliu-msft
Community Support
Community Support

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

Developer guidance for Microsoft Entra Conditional Access - Microsoft identity platform | Microsoft ...

Set up multifactor authentication for users - Microsoft 365 admin | Microsoft Learn

 

Here is the official documentation explaining why the same code appears:

Microsoft Entra authentication & authorization error codes - Microsoft identity platform | Microsoft...

vyangliumsft_0-1719367946043.png

 

This is the related document, you can view this content:

Solved: Error: AADSTS50076 while trying to login on App-ow... - Microsoft Fabric Community

AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new...

Error AADSTS50076: Due to a configuration change made by your administrator, or because you moved to...

 

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.

View solution in original post

1 REPLY 1
v-yangliu-msft
Community Support
Community Support

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

Developer guidance for Microsoft Entra Conditional Access - Microsoft identity platform | Microsoft ...

Set up multifactor authentication for users - Microsoft 365 admin | Microsoft Learn

 

Here is the official documentation explaining why the same code appears:

Microsoft Entra authentication & authorization error codes - Microsoft identity platform | Microsoft...

vyangliumsft_0-1719367946043.png

 

This is the related document, you can view this content:

Solved: Error: AADSTS50076 while trying to login on App-ow... - Microsoft Fabric Community

AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new...

Error AADSTS50076: Due to a configuration change made by your administrator, or because you moved to...

 

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.

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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