Reputation: 253
I have a web application that uses Microsoft Power BI Embedded. To embed a report, first I need an OAUTH2 token from Microsoft and for this I use the following request:
URL [POST] https://login.microsoftonline.com/common/oauth2/token
scope
resource
client_id
username
password
grant_type
client_secret
This request works fine for me for months, but recently, I don't receive a token anymore, instead I receive an error:
{
"error": "interaction_required",
"error_description": "AADSTS50076: 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'. Trace ID: __________ Correlation ID: ____________ Timestamp: 2025-03-04 17:13:38Z",
"error_codes": [
50076
],
...
I know that some configs are changed in Azure Portal, in the past, multifactor authentication was not required, but now, it is required. I assume that this changes have connection. My question is:
How can I disable multifactor authentication forever for the user? Or bypass this OAUTH2 error?
I already went to page "Multi-factor authentication per user" and disabled for the user, but it not worked fine, show "disabled", but still require and receive the error mentioned below.
Upvotes: 0
Views: 28
Reputation: 253
I found a solution, here:
To disable multi-factor authentication:
Upvotes: 0