Forum Discussion
Microsoft Teams Desktop on Mac Stuck in Login Loop
- May 01, 2020
I’ve got this login loop after I logged in with me private MS account in Teams. I stucken in a login loop when I tried to log with my company account in Teams. Close your Teams application and go to $HOME//Library/Application Support/Microsoft/Teams in files browser and delete/move the Teams folder to Teams_old for example.
Start your Teams application, the Teams folder will created and the Login window appears.
For me it works, when I delete the $HOME//Library/Application Support/Microsoft/Teams folder after I was logged in with me private MS account.
Heiko
For anyone else with this issue, this worked for me and was super quick:
- Stop Teams (even better, reboot your Mac!)
- Open the `terminal` application on your Mac (click Launchpad then type term, hit Enter)
- Change to the Teams directory - e.g. cd ~/Library/Application\ Support/Microsoft/Teams
- To find files that mention your 'bad' email address (note there is a dot at the end of this command!): grep -r 'mypersonalemail@eghotmail.com' .
- For me, this gave desktop-config.json and storage.json
- Run rm desktop-config.json and then rm storage.json
Now when I restarted Teams, it asked me which of the two accounts on my Mac I wanted to use - my personal one or my business one.
- seanwangSep 15, 2022Copper ContributorThank you so much. I have been bugged by this for a year. Finally solved!
- acbcAdminJan 30, 2022Copper ContributorHi Peter,
I wonder if you could help me please. When I tried your steps, there was no Teams folder. There was another folder, which included the Teams keyword, which I deleted (not sure if this was wise or not).
Secondly, ran the commands that you prescribe. I got desktop-config.json and storage.json in the results. I then ran rm desktop-config.json and then rm storage.json commands. After this ran many lines of code in the Terminal console and came to an end, I still had the login loop issue (a pop login pop up to my legacy account). I also tried rebooting my Mac, but it still didn't resolve the issue.
Is there something I'm missing or is there something else you could recommend?
Thanks in advance
acbcAdmin - HieuTr0508Jul 09, 2021Copper ContributorIt's very helpful
It's work for me
Thank you so muchhhhhh - Mike_HironsJul 05, 2021Copper Contributor
This finally worked for me, many thanksPeter Wake