What the error means
0xCAA90018 (shown in Teams as caa90018) is a credential mismatch. Microsoft's support article for Teams users describes it as "You're not using the right credentials" and explains the situation: the Windows credentials you signed in with are different from your Microsoft 365 credentials. Microsoft's action is to sign in again with the correct email and password combination and, if the status code keeps appearing, to contact your IT admin.
On Windows, the Teams desktop app tries to use single sign-on, which Microsoft describes as part of modern authentication: once you complete sign-in on a device, you should not have to enter your credentials again on that device. When the identity Windows offers is not the one your organization's Microsoft 365 tenant expects, sign-in fails with this code instead of completing silently.
Common causes
- You are signed in to Windows with a personal Microsoft account or a local account, while Teams needs your work or school Microsoft 365 account.
- You are signed in to Windows with a different work account, for example from another organization.
- The email address or password typed at the Teams prompt is not the one for your Microsoft 365 account, for example after a recent password change.
- A problem with the organization's account or domain setup, which Microsoft says only the IT admin can resolve.
How to fix it
1. Sign in with your Microsoft 365 work account
This is Microsoft's documented fix. At the Teams sign-in screen, choose to use another account if needed, and enter the full work email address and current password for your Microsoft 365 account rather than the account you use to sign in to Windows.
2. Check which accounts Windows has
This is a general step. On Windows, open Settings, Accounts, Access work or school, and confirm your work account is listed and connected. Then open Settings, Accounts, Email and accounts and check which accounts other apps use. If a stale or wrong work account is there, ask IT before removing it on a managed PC.
3. Update Teams and try again
Microsoft's Teams sign-in article asks you to make sure the client is up to date. In Teams, select Settings and more next to your profile picture and choose Check for updates, then sign in again with the correct account.
4. Admins: run the Teams sign-in diagnostics
A Microsoft 365 administrator can run the Teams Sign-in diagnostic from the Microsoft 365 admin center for the affected user, or the Teams Sign in test in the Microsoft Remote Connectivity Analyzer. The test signs in with the user's credentials and checks that the account meets the requirements to sign in to Teams.
5. Reinstall Teams if the wrong account keeps returning
If Teams keeps offering the wrong account on one PC, Microsoft's sign-in article ends with uninstalling Teams, deleting the Teams folder under %appdata%\Microsoft, and reinstalling, as administrator if possible.
If nothing works
Contact your IT admin with the status code from the lower-left corner of the Teams window, as Microsoft's support article advises. If the password itself is being rejected, the AADSTS50126 page covers invalid username or password errors, and the Outlook password prompt guide covers repeated prompts across Microsoft 365 apps.
What we checked
The Microsoft Support article for Teams users was read on 2026-11-21; it is the official page that lists 0xCAA90018, with its description, the explanation that the Windows credentials differ from the Microsoft 365 credentials, and the action to sign in again and then contact the IT admin. Microsoft's Learn article Fix Teams sign-in errors was read for the update, diagnostic and reinstall steps; it does not list this code. Step 2 is labelled as a general step. The error was not reproduced for this page.
Last checked: 2026-11-21.