Changing between multiple Microsoft Teams accounts within the app or browser
Dear @Knox Aurelia
I understand how frustrating it can be when old work or business accounts linger on the Microsoft Teams sign-in screen, even after deleting Keychain entries and reinstalling the app.
This issue occurs because macOS uses sandboxed Group Containers and local cache directories shared across Microsoft 365 applications. Standard uninstalls do not remove these background app data files, so the saved account identities persist.
To completely purge those legacy accounts from your sign-in prompt, please follow the steps below to perform a targeted cache and identity reset.
Step 1: Fully Quit All Microsoft Applications
- Right-click the Microsoft Teams icon in your Dock and select Quit (or press Command + Q while active).
- Quit all other open Microsoft 365 apps (such as Outlook, Word, or Excel).
Step 2: Remove Local Application Data & Cache
Per official Microsoft documentation on clearing the Teams cache on macOS, run the following terminal commands to clean both Classic and New Teams local data:
- Press
Command + Spaceto open Spotlight, type Terminal, and press Enter. - Copy and paste the following commands one by one, pressing Enter after each:
rm -rf ~/Library/Group\ Containers/UBF8T346G9.com.microsoft.teamsrm -rf ~/Library/Containers/com.microsoft.teams2rm -rf ~/Library/Application\ Support/Microsoft/Teams
Please refer to this document: Clear the Teams client cache
Step 4: Restart Your Mac & Relaunch Teams
- Restart your Mac to clear any remaining background identity processes.
- Relaunch Microsoft Teams.
You will now be presented with a completely clean sign-in screen where those legacy business accounts are permanently removed.
If you need any further assistance, please let me know.
If the answer is helpful, please click "Yes" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in the forum document to enable e-mail notifications if you want to receive the related email notification for this thread.