Forum Discussion
CAN'T sign in to Microsoft teams
- Sep 22, 2019
Anonymous2240I believe What is happening is on the Microsoft end! Make sure you have an updated acc# and you type in your Microsoft Teams credentials correctly ! We had a problem for a bit but We were able to resolve it ! darn SSSH KEYS ! Always been a PROBLEM !
I run into this issue multiple times in different situations and all the hotfixes out there help sometimes but more and more less.
What haved worked for me is going to %LOCALAPPDATA%\Packages where you should find a folder "Microsoft.AAD.BrokerPlugin_" with some random letters an numbers at the end.
Inside is a folder called "LocalState" remove this folder and create a file called LocalState but remove the extension. So for example create a textfile.txt and call it LocalState.
If the folder got created again, then you did something wrong.
After this start Teams and you will have to enter your email adress and maybe it will show you this login screen twice, but after the second one you are able to login again and use Teams.
Worked for me on all computers i got this error before.
Thanks for the help.
Just so I've got this straight:
1) Delete LocalState folder.
2) Create text file in Microsoft.AAD.BrokerPlugin_... directory called LocalState.txt and rename it to LocalState with no extension.
3) Try and login to Teams.
Correct?
Thanks
- Beltran1207May 20, 2021Copper Contributorwhere do I find these files in my mac...? How do I go there?
- stefankabiJul 25, 2020Copper Contributor
- Mer2112Jul 25, 2020Copper ContributorThank you! Can't wait to try it on Monday. We've got 2 people in the office that can't sign in.
- stefankabiJul 25, 2020Copper Contributor
i already wrote an batch file for it because it was a problem that comes more and more often.
but fixed it for me forever, whereever i used it.
just create a batch file with this:
taskkill /IM teams.exe /f
cd "%LOCALAPPDATA%\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy"
rmdir LocalState
> LocalState type nuland run it as user, where teams is unable to login.
But its important to not run it as admin, because it will fix it for admin and not the user 🙂