Changing between multiple Teams accounts within the app or browser
How do I fix the issue on Macbook Pro?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
While testing "New Teams" I have noticed that the "Pick an account" / Login screen shows the previous users that have logged in, even if they have clicked "sign out".
When clicking on those users, it also logs them in without asking for a password.
After reading other posts here, I have tried deleting the cache here: %LocalAppData%\Packages\MSTeams_8wekyb3d8bbwe
And also deleting the data in this folder: %LocalAppData%\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy
Doing this has stopped the accounts from being logged in without a password, but the accounts still appear on the "Pick an account" / Login screen.
They do not show in classic teams or any other application and there are no additional accounts in the "Access Work and School" windows setting page.
I have also tried to fully remove and reinstall Teams but the accounts are still visible.
Does anyone have a solution for this?
Thanks
EDIT:
I have found a possible solution:
Delete:
%LocalAppData%\Packages\MSTeams_8wekyb3d8bbwe
%LocalAppData%\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy
%LocalAppData%\Microsoft\OneAuth
%LocalAppData%\Microsoft\TokenBroker
%LocalAppData%\Microsoft\IdentityCache
Then restart the PC.
This will sign out all Microsoft products but does remove the users from the login list and removed their login details, meaning a password is required to login to Teams.
Changing between multiple Teams accounts within the app or browser
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
How do I fix the issue on Macbook Pro?
Hi,
No need to delete all the folders.
- Check if process ms-teams.exe is still running and kill it.
- Rename %LocalAppData%\Microsoft\OneAuth\accounts or remove the content.
- Start Teams, the primary account will automatically be recreated.
Cheers,
This worked for me.
I confirmed I the accounts were not connected in the windows settings - accounts page and removed Teams items from the Windows Credentials Manager.
Then I followed Kris' steps, and the accounts were removed, the only account that came back was the account signed into the computer.
THIS WORKED, NOTHING ELSE DID! delete accounts from Credentials Manager first. Then try to rename %LocalAppData%\Microsoft\OneAuth\ to OneAuth-.
Stupid Indian programmers... WE NEED REMOVE ACCOUNT OPTION FROM NEW TEAMS!!!!!!!!!!!!!!!!!!!!!!! DEV LOG THIS!
That's easy to achieve with regedit, under
HKLM\SOFTWARE\Policies\Microsoft\Windows\WorkplaceJoin
add the the following:
DWORD: BlockAADWorkplaceJoin
Value: 1
This is the one that worked for me. Thanks
Hi,
No need to delete all the folders.
- Check if process ms-teams.exe is still running and kill it.
- Rename %LocalAppData%\Microsoft\OneAuth\accounts or remove the content.
- Start Teams, the primary account will automatically be recreated.
Cheers,
This worked for me.
I confirmed I the accounts were not connected in the windows settings - accounts page and removed Teams items from the Windows Credentials Manager.
Then I followed Kris' steps, and the accounts were removed, the only account that came back was the account signed into the computer.