Microsoft Graph API Teams Error throwing

Venkat Mallela 1 Reputation point

AADSTS50020: User account 'abcdl@Stuff .com' from identity provider '' does not exist in tenant 'zxcbv' and cannot access the application '456766-5954-40e3-9ed5-3484e88098e7'(testpreprod) 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.

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

2 answers

Sort by: Most helpful
  1. AmanpreetSingh-MSFT 56,506 Reputation points

    Hello @VenkatMallela-5002 ,

    You need to add the user account '' as a Guest User to your tenant and when that user will authenticate against Azure AD, he might need to reset his password for the first time to create a corresponding Microsoft Account (Live ID) if it doesn't exist already. Once this is done, user should be able to access the application.

    Please do not forget to "Accept the answer" wherever the information provided helps you. This will help others in the community as well.

    2 people found this answer helpful.
    0 comments No comments

  2. Dhivya G - MSFT Identity 11 Reputation points Microsoft Employee

    Your authority endpoint should be common if your application must support both Azure AD and Personal accounts. For more details on endpoint you can refer this documentation.

    2 people found this answer helpful.
    0 comments No comments