Login problems Microsoft Teams web app fixed

The problem

I ran into a problem with Microsoft Teams in the browser. My daughter needed to use the web app to communicate with her school, so I let her use my computer to do that. That was the first time using the web app. That all went fine. No problems there. 

A bit later I needed to use the web app myself, but when trying to login, it would give me an error saying 'something went wrong'. Even after signing out, and signing back in, it would show me the error. 

Searching for a solution showed me several other people with the same problem, but all the solutiuons presented didn't work for me.

Today I finally was able to fix the problem. 

pexels-ekaterina-bolovtsova-4049983.jpg

Solution

When trying to clear the browser cache, cookies, localstorage etc. for a specific website, you need to be on that website, open up the developer tools (for all chromium based browsers (Chrome, Brave, Edge)) and under 'Application' you can remove everything. 
The problem with the teams.microsoft.com website is that it redirects you to the login.microsoftonline.com site to authenticate, so you do not have the opportunity to remove anything from the browser. 

After tracing the redirect I found out that if you browse to https://teams.microsoft.com/auth/prelogin the browser does not get redirected, and you can remove everything. 

So under the developer tools (F12) in the 'Application' remove everything under 'Local storage', 'IndexedDB' (probably the most important) and 'Cookies'.

After this you can browser to https://teams.microsoft.com/ again and login correctly. 

I hope this helps someone. 

 

Umbraco Registered Partner