What the error means
0xCAA20004 (shown in Teams as caa20004) means the sign-in was not completed because an authorization decision is pending or was not satisfied. Microsoft's support article for Teams users describes it as "Your request needs to be approved by a resource owner or authorization server," and asks users to contact their IT admin so the admin can confirm the organization is complying with Microsoft Entra ID configuration policies.
Microsoft's admin article Fix Teams sign-in errors is more specific: the error occurs if an issue affects Conditional Access, and it points admins to Microsoft's explanation of how Conditional Access policies work for Teams. In short, a policy in Microsoft Entra ID is deciding whether this user, on this device and in this location, may get a token for Teams or for a service Teams depends on.
Common causes
- A Conditional Access policy that targets the Microsoft Teams cloud app blocks the sign-in or requires something the device or user does not meet.
- A Conditional Access policy on Exchange Online or SharePoint applies to Teams. Microsoft explains that Teams relies on these services for meetings, calendars, interop chats and file sharing, so their policies apply when a user signs in to Teams on any client.
- The organization's Microsoft Entra ID configuration does not meet the policy requirements the sign-in needs, which Microsoft's user guidance asks the admin to confirm.
How to fix it
1. Users: send the code to your IT admin
This is Microsoft's documented action for users. Note the status code shown in the lower-left corner of the Teams sign-in window and the time of the attempt, and send both to your IT admin. As a general step, mention whether you were on a personal device, a new device or an unusual network, because Conditional Access decisions often depend on these.
2. Admins: run the Teams sign-in diagnostics
Run the Teams Sign-in diagnostic from the Microsoft 365 admin center with the affected user's address, or the Teams Sign in test in the Microsoft Remote Connectivity Analyzer. Microsoft notes the admin center diagnostic is not available for Microsoft 365 Government, Microsoft 365 operated by 21Vianet or Microsoft 365 Germany.
3. Admins: review Conditional Access for Teams, Exchange and SharePoint
Microsoft's guidance for this code leads to Conditional Access. Review the policies that target the Microsoft Teams cloud app and those that target Exchange Online and SharePoint, since Microsoft says the latter also apply to Teams sign-in. As a general step, open the failed sign-in for the user in the Microsoft Entra sign-in logs and read the Conditional Access tab to see which policy applied and what it required.
4. Update Teams and retry
Select Settings and more next to the profile picture and choose Check for updates, as Microsoft's sign-in article directs, then sign in again after the policy issue is resolved.
5. Reinstall Teams if the client stays stuck
If the error persists after the policy is fixed, 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
Collect Teams debug logs and the error code and open a support request, as Microsoft's sign-in article recommends. For testing policies before changing them, see Conditional Access What If troubleshooting; if the policy requires a compliant device, see Conditional Access require compliant device.
What we checked
Three Microsoft pages were read on 2026-11-21. The Microsoft Learn article Fix Teams sign-in errors says 0xCAA20004 occurs if an issue affects Conditional Access and lists the diagnostics, update and reinstall steps. The Microsoft Support article for Teams users gives the description and the action to contact the IT admin. The Microsoft Teams security and compliance overview explains how Conditional Access policies for Teams, Exchange Online and SharePoint apply to Teams sign-in. The error was not reproduced for this page.
Last checked: 2026-11-21.