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 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 nul
and 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 🙂
stefankabiThis still works but you may have to work your way manually (del ... *.*, rmdir ... repeatedly) through the sub-folders and randomly named .def files (up to 2 further sub-levels I found). It worked for using Teams v1.3.00.28779
- stefankabiDec 03, 2020Copper Contributor
it is still working fine for me, exactly like i posted it.
The only issue if you would like to call it that way is, if you run the batch file with administrative privileges, then it will "patch" this for the administrator account and not the user.