question

AlexsanderGillott-6255 avatar image
1 Vote"
AlexsanderGillott-6255 asked John-4898 answered

Microsoft Teams errored and won't let me log out?

I am currently trying to log into my Teams account on my laptop, but have run into an issue.
Before I move on: this laptop is a personal laptop, and I am the administrator account. I am running the latest version of Windows 10.

I had previously attempted to sign into Teams on a different account which has is a Microsoft account but nothing with Teams. Now whenever I open up Teams, I get this page saying "We're sorry - we've run into an issue" and it does not present an error code at the bottom left.
It prompts to restart, or to log out. Restarting simply returns to the same issue, and I want to log out anyway. Pressing the log-out button simply does nothing. The link to log out highlights, but then nothing.

A screenshot of the error:
129064-image.png

Could anyone let me know how I can get around this?

Edit: I have tried reinstalling Teams as well, but it remembers what my first login was and doesn't let me change, which leaves me back at square one.

office-teams-windows-itpro
image.png (17.0 KiB)
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.

JimmyYang-MSFT avatar image
2 Votes"
JimmyYang-MSFT answered PeterChandler-3768 published

Hi @AlexsanderGillott-6255

To exclude the client issue, it firstly recommends you try to login to Teams web client to see if this issue can be reproduced. If there is no issue in Teams web client, then please try to follow these steps to clear your client cache file and restart Teams client:

  1. Fully quit Microsoft Teams and ensure it’s not still running in the toolbar at the bottom right of Windows.

  2. Navigate to %appdata%/Microsoft/Teams in a File Window.

  3. Select everything in the folder.

  4. Delete everything.

  5. Open Teams and wait for it to download required files.


If the response is helpful, please click "Accept Answer" and upvote it.

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.

· 4
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.

@AlexsanderGillott-6255

Just checking in to see if above information was helpful. If you have any further updates on this issue, please feel free to post back.

0 Votes 0 ·

Hi, thank you for the answer! My laptop died a little after my post, but I have access once again. Your solution worked, so thank you! I don't know why I didn't consider clearing the cache of Teams.

0 Votes 0 ·

In Macbook, this does not work and the same screen in the original message above keeps coming up. Removed com.microsoft.teams folder (under ~/Library/Caches). Still it doesn't work to switch account in Teams on Mac.

0 Votes 0 ·

This solved my issue even though there was a few files I was unable to delete due to in use by the system.

0 Votes 0 ·
MohammadjavadLashkari-9010 avatar image
1 Vote"
MohammadjavadLashkari-9010 answered ChenDaqi-5393 commented

I have the same problem in mac. Does someone know what should I do?

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

Just had this issue and resolved it on my Mac, so go into Finder:
1. Go -> Go to Folder (Top bar)
2. "~/Library/Application Support"
3. Find "Microsoft" Folder
4. Delete the entire "Teams" Folder

I read on Google that Application Support is kind of like the equivalence of AppData for Windows.

Times like these, I really miss my Windows Surface...



0 Votes 0 ·
John-4898 avatar image
0 Votes"
John-4898 answered

Had this problem too. I'm using a macbook. Removing the "Teams" folder would allow me to see what user I could login as, but then when I attempted to...it would still be the original incorrect credential. So go ahead and follow the steps that were provided earlier:

  1. Stop Teams app

  2. Using Finder, Go -> Go to Folder

  3. "~/Library/Application Support"

  4. Find the "Microsoft" folder

  5. Delete the "Teams" folder

  6. After that...use "Keychain Access" (I search for this using CMD+Spacebar)

  7. Search for "Teams" in Keychain Access

  8. Delete the "Microsoft Teams Identities Cache" item

  9. Restart Teams App

I hope that helps someone out there...

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.