question

EZ235-9026 avatar image
0 Votes"
EZ235-9026 asked RakeshS-7823 commented

Error logging into Teams

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

AADSTS50020: User account 'username@gmail.com' from identity provider 'live.com' does not exist in tenant 'Microsoft Services' and cannot access the application '1fec8e78-bce4-4aaf-ab1b-5451cc387264'(Microsoft Teams) 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: 347a57b3-9f1a-4c4d-8312-0466d9b30100
Correlation Id: 0fac2e8e-e14d-450c-9b5d-7d892de31532
Timestamp: 2021-08-21T01:55:07Z
Message: AADSTS50020: User account 'username@gmail.com' from identity provider 'live.com' does not exist in tenant 'Microsoft Services' and cannot access the application '1fec8e78-bce4-4aaf-ab1b-5451cc387264'(Microsoft Teams) 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.
Flag sign-in errors for review: Disable flagging
If you plan on getting help for this problem, enable flagging and try to reproduce the error within 20 minutes. Flagged events make diagnostics available and are raised to admin attention.

office-teams-windows-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JimmyYang-MSFT avatar image
0 Votes"
JimmyYang-MSFT answered RakeshS-7823 commented

Hi @EZ235-9026

According to your error message, it seems that the error message is a Azure AD login error. This article give a explanation of the issue: .

In this case, it recommends you delete your Teams client cache as the following steps:

  1. 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.

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

  3. Once in the directory, delete any file in the following folders:
    %appdata%\Microsoft\teams\application cache\cache
    %appdata%\Microsoft\teams\blob_storage
    %appdata%\Microsoft\teams\Cache
    %appdata%\Microsoft\teams\databases
    %appdata%\Microsoft\teams\GPUcache
    %appdata%\Microsoft\teams\IndexedDB
    %appdata%\Microsoft\teams\Local Storage
    %appdata%\Microsoft\teams\tmp

If it is no luck after that, you could uninstall and reinstall the Microsoft Teams client and have a try.

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.



· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@EZ235-9026

It has been a while, how is everything going?
If you have any update about this issue, please feel free to post back.

0 Votes 0 ·

I am facing this issue in Chrome browser. I used to work in ABC and signed in to teams with ABC id, then I left and whenever I try to login I with new id from new employer DEF, I get this error. I cant logout of ABC since I cant access it. any way to getaround it in browser. I am tired of using incognito mode everytime.

0 Votes 0 ·