AADSTS50020 – User Account Authentication Error

Admin Jerad 20 Reputation points
2026-11-25T16:42:08.6866667+00:00

An authentication issue occurs when attempting to access an application or service through Microsoft Entra ID (Azure Active Directory). The login process fails and displays the error code AADSTS50020. Tried different ways but didn't resolve the issue. Any help here is highly appreciated.

Windows for business | Windows Client for IT Pros | User experience | Authentication with Azure Virtual Desktop
0 comments No comments

1 answer

Sort by: Most helpful
  1. Harry Phan 37,320 Reputation points Independent Advisor
    2026-11-25T17:14:14.7666667+00:00

    Hi,

    The error AADSTS50020 typically occurs when the user account trying to sign in does not exist in the target Microsoft Entra ID tenant or is not recognized as a valid guest account.

    I recommend checking the following:

    Verify that you are signing in with the correct account and tenant.

    If using a guest account, ensure the user has been invited to the target tenant and has accepted the invitation.

    Check whether the application is configured to allow users from external organizations.

    Try signing out of all Microsoft accounts or using an InPrivate browser session to avoid cached credentials.

    Review the sign-in logs in the Microsoft Entra admin center for additional details about the failure.

    If the issue persists, check the error details for the User, Resource tenant ID, and Home tenant ID to identify whether the authentication request is being sent to the wrong tenant.

    Best regards,

    Harry P

    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.