New Teams - How do you remove users from the "Pick an account" / Login screen?

Anonymous
2023-12-01T12:57:48+00:00

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.

Microsoft Teams | Microsoft Teams for education | Sign up and Sign in | Switch between accounts

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.

0 comments No comments

99 answers

Sort by: Most helpful
  1. Anonymous
    2024-03-05T10:36:32+00:00

    In the we had to ditch shared accounts on devices and get them to login into windows with there own accounts. This contains teams and other setting to there own profiles.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-03-04T20:54:18+00:00

    i can confirm deleting those folders definitely is not the best option, but the only one until MS corrects this.

    we're having random errors and as an extra, all the audio and camera settings have to be reconfigured after each deletion.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-03-04T20:16:07+00:00

    Glad to hear people have been collaborating and finding success. When I put my script into Windows startup, I also removed Teams from Windows startup.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2024-03-02T16:51:22+00:00

    I have a feeling it's %LocalAppData%\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy

    I could not delete it until after I restarted. Now my problem is fixed.

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2024-02-28T09:20:59+00:00

    Restarting the PC after deleting the folders fixed the instability for me, and I haven't had an issue since, I am on Windows 11. If we could find out which exact files are added with a new teams login we could reduce the number of files deleted and hopefully prevent the issues mentioned. When I contacted Microsoft about this, they said it was expected behavior.

    Was this answer helpful?

    0 comments No comments