Forum Discussion
Jovan_S
Jan 13, 2023Copper Contributor
Unable to remove old account sing up form Teams on Mac OS
I cannot remove an old sing account from Teams on Mac OS. I have to delete the keychain, I delete the temp folder, and remove and reinstall Teams, and the old account is still there. I have a case op...
cargdev
Apr 28, 2026Copper Contributor
I've faced the same issue; nothing was working. Tried to delete Microsoft Teams completely, purge the keychain, but nothing happened until I did the following:
# First quit all the apps
pkill -x "Microsoft Teams"
pkill -x "Microsoft Teams (work or school)"
pkill -x "OneDrive"
pkill -x "Microsoft Outlook"
pkill -x "Microsoft Edge"
# Second delete the containers completely
rm -rf ~/Library/Group\ Containers/UBF8T346G9.com.microsoft.oneauth/BlobStore/
rm -f ~/Library/HTTPStorages/com.microsoft.OneDrive.binarycookies
rm -rf ~/Library/Group\ Containers/UBF8T346G9.com.microsoft.teams/Library/
# Third delete the cache on the sso
defaults delete UBF8T346G9.com.microsoft.identity.ssoextensiongroup 2>/dev/null; echo "done"
# Fourth delete all the keychain passwords saved
security find-generic-password -s "Microsoft Office Identities Cache 3" 2>/dev/null && \
security delete-generic-password -s "Microsoft Office Identities Cache 3"