Using Microsoft Teams on macOS, including installation, features, and compatibility
Dear @Scott Boston,
I understand that you’re having trouble signing in to Microsoft Teams. As a forum moderator, I genuinely wish I could directly access your account or delve into the backend systems to diagnose and fix this for you. However, our role here is limited to providing general guidance and solutions that can be applied by users.
Based on your description and my research, since you’re able to sign in successfully via the web but not through the desktop app on your iMac (macOS Tahoe), the issue is unlikely to be related to your account or password. Instead, it is most commonly caused by a corrupted authentication token or a Keychain conflict stored locally on your Mac.
In this situation, the Teams app attempts to reuse an outdated or broken authentication “handshake” with Microsoft’s services, which results in the “unexpected error” message. To resolve this, you’ll need to clear the local cache to force a fresh sign-in.
Please follow the steps below to see if this resolves the issue:
1.Clear Teams cache
- If Teams is still running, right-click the Teams icon in the dock, and then select Quit or press Command+Q.
- In the Finder, open the /Applications/Utilities folder, and then double-click Terminal.
- Enter the following commands, and press Return after each command:
rm -rf ~/Library/Group Containers/UBF8T346G9.com.microsoft.teams
rm -rf ~/Library/Containers/com.microsoft.teams2 - Restart Teams.
For reference: Clear the Teams client cache - Microsoft Teams | Microsoft Learn
2.Fix the Keychain Conflict
Sometimes the "Login Keychain" on Mac holds onto an old password that blocks the new app from connecting.
Quit Teams completely (right-click the icon in the Dock and select Quit, or use Activity Monitor to force quit if needed).
Open Keychain Access (Finder > Applications > Utilities > Keychain Access).
In the search bar, look for these terms one by one and delete all matching entries (check both "login" and "System" keychains on the left sidebar):
- com.microsoft.oneauth
- com.microsoft.adalcache
- OneAuthAccount
- msoCredentialSchemeADAL
- msoCredentialSchemeLiveId
- Microsoft Teams Identities Cache
- Teams Safe Storage
- MSOpenTech.ADAL.1
- MicrosoftOfficeRMSCredential
Also search for and delete any entries related to "Liveid", "teams", "skype", or "Exchange" that have matching timestamps.
Sign in to the account you want and restart Microsoft Teams.
If you spot multiple similar entries, delete them all, user report this has resolved similar issues where basic keychain clears miss nested auth data.
3.Uninstall and Reinstall Teams Completely
If the above doesn't work, a full wipe and reinstall often clears stubborn accounts:
- Quit Teams.
- Drag the Teams app from Applications to the Trash (or use a third-party uninstaller like App Cleaner & Uninstaller for a deeper clean)
- Empty the Trash, restart your Mac.
- Download the latest Teams version from the official Microsoft site and install it fresh.
- When you open it, sign in only with the desired account.
If none of the steps above resolve the issue, it’s possible that your organization’s Conditional Access policy allows web access but blocks the desktop app (for example, requiring device compliance, Intune enrollment, or specific security conditions). In that case, I recommend checking with your IT administrator.
I hope this information is helpful. Please follow these steps and let me know if it works for you. If you have any questions or need further assistance, please feel free to share them in the comments so I can continue to support you. I'm looking forward to your reply.
If the answer is helpful, please click "Accept Answer" and kindly upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.