AADSTS50020 can't login to teams account

piotr cierkosz 41 Reputation points
2020-03-25T13:01:09.643+00:00

Got invited by friend, then decided to setup my own teams. SO after being removed from his organization my teams stopped working.
MY office365 still working correctly

Error:
Sorry, but we’re having trouble signing you in.

AADSTS50020: User account 'piotr.w.cierkosz@Stuff .com' from identity provider 'live.com' does not exist in tenant 'PrismCode' 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.

Request Id: 2ba3ba9c-097e-42fc-bcc2-dab9a7d24900
Correlation Id: 03a3a753-a1fd-464f-9c19-0a971db99815
Timestamp: 2020-03-25T12:54:58Z

Message: AADSTS50020: User account '@Stuff .com' from identity provider 'live.com' does not exist in tenant '' 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.
Advanced diagnostics: Disable
If you plan on getting support for an issue, turn this on and try to reproduce the error. This will collect additional information that will help troubleshoot the issue.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,122 questions
{count} votes

16 answers

Sort by: Most helpful
  1. Tessa Zhou 6 Reputation points
    2020-09-26T06:42:43.953+00:00

    hey mine comes as Selected user account does not exist in tenant 'Microsoft' and cannot access the application '71dada86-21db-493b-93e4-1a902601f30f' in that tenant. The account needs to be added as an external user in the tenant first. Please use a different account. and i cant figure out a way to fix it. its really annoying as i cant log into any Microsoft related apps. I am using my school email that is linked to 2 different emails. i dont understand what you guys mean about tenant and ect.

    1 person found this answer helpful.
    0 comments No comments

  2. Fedor Kurilo 46 Reputation points
    2020-10-20T11:49:29.433+00:00

    Same issue, nothing helped me. I had a business with some sort of corporate account in the past, that may be was connected some-how to my main one. Now I don't know how to fix this issue.

    1 person found this answer helpful.
    0 comments No comments

  3. Calvin Hung 6 Reputation points
    2020-11-10T05:07:00.457+00:00

    Hi guys, I met the same problem as my team member accidentally leave my group and cannot join back to the group from Teams "Add users" function and got the same error.

    I manage to resolve this issue by following steps.

    1. Remove the user from the group with this guide: https://support.microsoft.com/en-us/office/go-to-guide-for-team-owners-92d238e6-0ae2-447e-af90-40b1052c4547
    2. Go to Azure portal https://portal.azure.com/ -> Azure Active Directory -> Manage -> Users
    3. Make sure the user account was deleted in the "Deleted Users": https://learn.microsoft.com/en-us/azure/active-directory/external-identities/add-users-administrator
    4. Restore the user account
    5. Go to Teams -> Group -> Add users to add the account again as a member.

    Problem solve! FYR

    1 person found this answer helpful.
    0 comments No comments

  4. Ocean Yap 11 Reputation points
    2021-02-03T08:47:05+00:00

    Hi, I encountered the same problem while trying to access school work.

    Head to this link here (Microsoft Azure): <https://azure.microsoft.com/en-au/>;

    Look in the top right, and log out of whatever account is signed into it.

    You should be able to access teams properly from then on.

    0 comments No comments

  5. Romeo T 1 Reputation point
    2021-03-24T20:43:02.443+00:00

    I'm also getting this error. I've never seen anything more confusing than this. I already registered accounts everywhere: MS Teams, Live, GitHub, received 100 different confirmations emails, linked 100 different MS accounts between each other etc, still getting this error and the error message isn't really helpful. No idea what to do next. Thanks Microsoft...

    0 comments No comments