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: Oldest
  1. Anonymous
    2024-05-11T19:06:34+00:00

    I would if Microsoft forcing everyone to "upgrade" from Teams Classic is related to the legal cases about unbundling Teams from MS365 https://www.reuters.com/technology/microsoft-separate-teams-office-globally-amid-antitrust-scrutiny-2024-04-01/

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-05-23T02:40:16+00:00

    This honestly should not be so hard. How about 'Remove Identity' ... 2 hours later, I found this after editing the registry, deleting all references to the account (name). All I wanted to do was remove a Teams identity but ...

    Thank you for this. Found it by another user link but this should seriously be an FAQ, at the very least, something more prominent.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-05-29T19:21:48+00:00

    Hi,

    No need to delete all the folders.

    1. Check if process ms-teams.exe is still running and kill it.
    2. Rename %LocalAppData%\Microsoft\OneAuth\accounts or remove the content.
    3. 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!

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2024-06-04T17:03:25+00:00

    I just tried that with the new Teams. Even after resetting it, it still remembers. You must be using the classic Teams.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2024-06-12T19:53:01+00:00

    Hello,

    You can launch Registry Editor, and hold down Ctrl + F, do a search of the exact match for the email address, whenever you find it, you can delete it.

    This is actually the only useful answer here. Any other answer does not work. Thanks Emily you rock!

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments