when i login in my azure account it is showing that Selected user account does not exist in tenant 'Microsoft Services' and cannot access the application in that tenant. The account needs to be added as an external user in the tenant first. how to solve

Rishabh Solanki 5 Reputation points
2023-09-13T12:15:52.28+00:00

Selected user account does not exist in tenant 'Microsoft Services' and cannot access the application in that tenant. The account needs to be added as an external user in the tenant first. Please use a different account.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,293 questions
{count} vote

1 answer

Sort by: Most helpful
  1. JamesTran-MSFT 36,596 Reputation points Microsoft Employee
    2023-09-13T20:25:31.65+00:00

    @Rishabh Solanki

    Thank you for your post!

    Error Message:
    User account {email} from identity provider {idp} does not exist in tenant {tenant} and cannot access the application {appId}({appName}) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.

    Based off your error message, it looks like the user that you're trying to sign-in with doesn't exist within the tenant and can't login. Since there are several causes for your issue and to hopefully help point you in the right direction or resolve your issue, I'll share my findings below.


    Findings:

    When it comes to the error message that you received, you should be able to reference the Error AADSTS50020 documentation to resolve your issue.

    If you didn't have any issues logging in to your Azure AD tenant / Portal previously, you can try to:

    • Log-in through a private browsing session to reduce the potential for logging into the incorrect tenant.
    • If your user belongs to multiple tenants, you can navigate to the appropriate tenant using the URL - https://portal.azure.com/<tenantName or tenantID>

    Additional Links:

    If you're still having issues, can you share a screenshot of your error message or copy and paste the Correlation ID and Timestamp so I can take closer look into your issue.

    I hope this helps!

    If you have any other questions, please let me know. Thank you for your time and patience throughout this issue.


    If the information helped address your question, please Accept the answer. This will help us and also improve searchability for others in the community who might be researching similar information.

    0 comments No comments

Your answer

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