The account needs to be added as an external user in the tenant first - AADSTS50020

Vinoth Jijan Vincent 201 Reputation points
2021-11-24T02:55:42.2+00:00

Experiencing authentication issues
The portal is having issues getting an authentication token. The experience rendered may be degraded.

Additional information from the call to get a token:
Extension: fx
Resource: jarvis
Details: AADSTS50020: User account '{EmailHidden}' from identity provider 'live.com' does not exist in tenant 'Microsoft Services' and cannot access the application 'c44b4083-3bb0-49c1-b47d-974e53cbdf3c'(Azure Portal) 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.
Trace ID: e198db53-ed9d-4647-9349-cb05413b7f00
Correlation ID: 949c25ac-bbd1-47c8-8587-7362ffffb59f
Timestamp: 2021-11-24 01:33:12Z


How to fix this issue due to this azure active directory i'm unable to get the primary domain field with the default domain "onmicrosoft.com"

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,068 questions
{count} votes

8 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. adamctaylor 0 Reputation points Microsoft Vendor
    2023-09-12T19:06:30.23+00:00

    I was able to resolve (this error in Visual Studio 2022) by unchecking -

    Authenticate across all tenants when adding accounts in Options -> Accounts -> Sign-in options.User's image


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.