Please follow these steps to remove all MS Teams credentials.
Step 1
– Go to Windows settings > Accounts >
– Select “Access Work and School” > Select old work account > Click Disconnect
– Sign out and Sign in again. Go to “Email & App account” > Click on old work account and Remove
Step 2:
– Click Windows Start > Control Panel > User Accounts > Credential Manager.
Note: if View by is set to Category, click user accounts first, and then click Credential Manager.
– Select the Windows Credentials option. Locate the set of credentials that has either Microsoft Teams in the name and then expand the corresponding folder.
– Click Remove from Vault (depending on which version of Windows you are running).
Step 3:
Remove all contents from the below folders.
C:\Users\%username%\AppData\Local\Packages\Microsoft.AAD.BrokerPlugin_* “
C:\Users\%username%\AppData\roaming\Microsoft\Teams
C:\Users\%username%\AppData\Local\Microsoft\IdentityCaches