Share via

Get Error AADSTS50079 when refreshing Token with Azure Intra ID with MFA enabled

Bruin Fan 0 Reputation points
2024-10-18T19:19:18.5766667+00:00

We are using OpenID Connect (OIDC) to have our users authenticate with MFA to a Cloud application. The user is able to authenticate with MFA and we initially see the proper refresh token request response. After some time, we suddenly get the Error message "AADSTS50079: Due to a configuration change made by your administrator, or because you moved to a new location, you must enroll in multi-factor authentication to access". We have created a guest account for us to diagnose the problem connecting from our network and we do not see the issue. It seems that the issue only occurs for our customer connecting from within their own network. They are utilizing other applications that use SAML for authentication and do not see that same issue. Any ideas on what would cause this error inside our customers network when authenticating via OIDC but not when using SAML? Thanks in advance!

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments

1 answer

Sort by: Most helpful
  1. Akhilesh Vallamkonda 15,355 Reputation points Moderator
    2024-10-21T20:53:46.0666667+00:00

    Hi @Bruin Fan

    Thank you for post!

    Based on the information you provided it seems that the user is blocked by Conditional Access policy or security defaults.
    This happen might be the configuration change made by the admin such as a Conditional Access policy, per-user enforcement, or because the user moved to a new location, the user is required to use multi-factor authentication.

    If you are using the Conditional Access policy, please ensure that the user is not included in any Conditional Access policies that require MFA.

    If you enable the security defaults which means MFA is enabled for your whole tenant and users will need to enroll and authenticate.

    Reference: https://learn.microsoft.com/en-us/entra/identity-platform/reference-error-codes#:~:text=to%20access%20%27%7Bresource%7D%27.-,AADSTS50079,-UserStrongAuthEnrollmentRequired%20%2D%20Due%20to
    Hope this helps. Do let us know if you any further queries by responding in the comments section.

    Thanks,

    Akhilesh.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.