Forum Discussion
sirkubax
May 06, 2021Copper Contributor
Teams open and close itself when you change Team scope. Ubuntu; userStorageMisMatch
Hello We have a problem with Microsoft Teams breaking down. After logging in to the client's scope (switching the team from main 'company' scope to client Team), the application turns off and th...
- Jun 29, 2021This workaround worked for me: https://www.reddit.com/r/MicrosoftTeams/comments/mktdgu/anyone_with_the_teams_for_linux_desktop_client/gtoiodd?utm_source=share&utm_medium=web2x&context=3
1. sign out of teams
1. open teams, get to the sign in page
1. click "Sign-in options" on the O365 login screen and choose "Sign in to an organization"
1. type in the domain name of the organization to sign in to - you can see what these are in the azure portal's "switch directory" option, for me it was "$COMPANY.onmicrosoft.com"
1. enter user/pass as normal
There are a few related issues on uservoice, consider upvoting those to raise the profile of this issue:
* https://microsoftteams.uservoice.com/forums/908686-bug-reports/suggestions/43208844-cannot-login-to-organization-as-guest-anymore
* https://microsoftteams.uservoice.com/forums/908686-bug-reports/suggestions/43068624-unable-to-switch-organizations-after-1-4-00-7556-u
* https://microsoftteams.uservoice.com/forums/908686-bug-reports/suggestions/43090383-switching-tenants-no-longer-works-on-linux
ryepup
Jun 05, 2021Copper Contributor
I also had no luck with the "clear cache" snippet.
A few other things I tried:
- rm -rf "~/.config/Microsoft/Microsoft Teams" No change
- sudo apt remove teams && rm -rf "~/.config/Microsoft/Microsoft Teams" && sudo apt update && sudo apt install teams No change, installed 1.4.00.7556 again
- change `enableUserMismatchCheck` to false in settings.json, with various reboots no change, it got flipped back to true
- disable ad blocking no change
- rm "~/.config/Microsoft/Microsoft Teams/Cookies" then change orgs without restart no change
- change desktop-config.json to set `guestTenantId` to the $ORG I want and `homeTenantId` to my home org. This starts the desktop app in $ORG, but then I get the userStorageMisMatch and it restarts to my home org
- reboot no change
- install teams=1.2.00.32451 no change
The only other clue I see is this error in my logs :
Sat Jun 05 2021 17:50:13 GMT-0400 (Eastern Daylight Time) <23633> -- error -- Error saving cookie
Maybe teams is trying to update the sqlite db in ~/.config/Microsoft/Microsoft Teams/Cookies and having a problem? The file permissions look fine: 600.
For now I'm using the browser client, but this is a bad workaround.