AADSTS50020: User account 'user.name@domain.com' from identity provider 'live.com' does not exist in tenant

S T 101 Reputation points

AADSTS50020: User account 'user.name@domain.com' from identity provider 'live.com' does not exist in tenant '<old tenant name>' and cannot access the application '5e3ce6c0-2b1f-4285-8d4b-75ee78787346'(Microsoft Teams Web Client) 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.

We're to delete and old Azure account that used to have our domain.com assigned to it. We're doing this because we want to use Teams free level but cannot do it whilst the domain is part of the Azure Tenant. We tried removing the domains with no luck, and slowly trying to delete the account with no luck (the tenant is stuck saying subscriptions are active even though tye are clear). Microsoft support is no longer responding to our questions.

Is the above related to the tenant or another issue?

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,549 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,446 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SokiGuo-MSFT 25,651 Reputation points Microsoft Vendor

    Hi @S T

    It seems that the error message is a Azure AD login error. This article gives an explanation of the issue:


    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.

    It recommends you delete your Teams client cache as the following steps:

    Fully exit the Microsoft Teams desktop client. To do this, either right click Teams from the Icon Tray and select ‘Quit’. Or run Task Manager and fully kill the process.

    Go to File Explorer, and type in %appdata%\Microsoft\teams.

    Once in the directory, delete any file in the following folders:
    %appdata%\Microsoft\teams\application cache\cache
    %appdata%\Microsoft\teams\Local Storage
    If it is no luck after that, you could uninstall and reinstall the Microsoft Teams client and have a try.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.