Microsoft Teams Error code - 6 issue

⚠️ Error code - 6
There is a more permanent way to sign in to Microsoft Teams.
If you are having trouble completing the process, speak to your IT administrator

I ran into an issue while using Microsoft Teams on my desktop computer, after login in few minutes I was getting logged out and got the below error message with code 6. When I tried to access teams on the web-browser I faced no issues. After reading some posts on the Microsoft Teams forum, the below helped me to resolve this issue.

  1. Click on your User Icon -> Check for Updates.
  2. Remove your credential cache from Credential Manager.
  3. Clear all cache in Microsoft Teams.
    1. "%appdata%\Microsoft\teams\blob_storage”
    2. "%appdata%\Microsoft\teams\Cache”
    3. "%appdata%\Microsoft\teams\databases”
    4. "%appdata%\Microsoft\teams\GPUcache”
    5. "%appdata%\Microsoft\teams\IndexedDB”
    6. "%appdata%\Microsoft\teams\Local Storage”
    7. "%appdata%\Microsoft\teams\tmp”
  4. Restart Teams
Microsoft Teams Error Code - 6.PNG
Microsoft Teams Error Code - 6

This error mostly occurs due to a misconfiguration of Teams:

Try Out Code2care Dev Tools:


Android Java Linux Microsoft Google Python macOS Notepad++ Microsoft Teams CSS PHP SharePoint Html Linux C Programs Bootstrap jQuery Sublime Android Studio Facebook Eclipse WhatsApp News MySQL Json HowTos JavaScript FTP S3


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Tutorials, Trouble-Shooting steps, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.
🎉 We are celebrating the 10th years of Code2care! Thank you for all your support! We hope we made a difference.
We strong support Gender Equality & Diversity.

We stand in solidarity with Ukraine - Make a donation to UNHCR -