AADSTS50076: Due to a configuration change made by your administrator...

James Blake 76 Reputation points
2022-05-04T14:15:36.497+00:00

I'm having trouble authenticating a set of user accounts. I'm attempting to use accounts which are supposed to have MFA disabled to run automated tests in Azure DevOps against an application configured with the latest version of MSAL using the ROPC flow. If I run the tests locally on my desktop, I do not run into any problems, everything works as expected. Running the tests in DevOps on the default hosted agent results in the following error:

Body: {

"error": "invalid_grant",

"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 '27d94bfb-5e0d-42e8-8602-86b12a54b4ca'.\r\nTrace ID: 02948260-4992-4278-a8da-0be26e7a8f00\r\nCorrelation ID: 31961951-fe16-44f1-9b9a-8ba230c5b7f8\r\nTimestamp: 2022-05-04 13:22:46Z",

"error_codes": [

50076
],

"timestamp": "2022-05-04 13:22:46Z",

"trace_id": "02948260-4992-4278-a8da-0be26e7a8f00",

"correlation_id": "31961951-fe16-44f1-9b9a-8ba230c5b7f8",

"error_uri": "https://login.microsoftonline.com/error?code=50076",

"suberror": "basic_action"

}

Could someone look up the correlation id and give me some more details?

Thanks,

James Blake
Planet Technologies

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,464 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. James Blake 76 Reputation points
    2022-05-04T15:33:11.777+00:00

    Excluding the account from from Sign In Risk and User Risk solved the problem

    7 people found this answer helpful.

  2. Dr Rockstar 11 Reputation points
    2022-09-23T18:24:25.197+00:00

    I too have experienced this problem:

    https://screenrec.com/share/LJ9jE7QZch

    This code will expire in 15 minutes.   
      
    Authenticated.       
    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 'xxx-xxx-xxx-xxx-xxx'.       
    Trace ID: 0b55f402-4f76-4b95-a7d3-99ce2be30800       
    Correlation ID: c682da51-2c42-4e01-b9df-15b78426efb6       
    Timestamp: 2022-09-23 03:23:01Z       
    [process exited with code 1 (0x00000001)]  
    

    I will follow-up if I am successful with logging in after some trials as mentioned above. I am quite disappointed however, as I'm pretty sure whatever "promo" for preview I had is long gone.

    0 comments No comments