What the error means
0xCAA70007 (shown as caa70007) means sign-in could not reach a Microsoft service because the connection was interrupted. Microsoft's support article for Teams users describes it as "The download has failed because the connection was interrupted" and tells users to check their Internet connection and then work with IT to make sure other apps or a firewall are not preventing access.
The same code appears in Office apps with a longer message, documented in Microsoft's article on connection issues after Office build 16.0.7967: "You'll need the internet for this. We couldn't connect to one of the services we needed to sign you in." Microsoft explains that Office on Windows uses Web Account Manager (WAM) for sign-in, and that the error can occur even when the overall network is working. Microsoft's Teams sign-in article sends 0xCAA70007 to that same Office article.
Common causes
- A real loss of connectivity at the moment of sign-in, such as Wi-Fi dropping or the PC waking from hibernation before the network stack is ready.
- A local firewall, antivirus or Windows Defender blocking the Windows processes that request sign-in tokens.
- A network that blocks
login.microsoftonline.com, or only some of the many IP addresses behind it, so some devices fail while others work.
How to fix it
1. Confirm the connection and retry
Make sure you are connected to the Internet, then quit Teams completely and sign in again. Microsoft's Office article asks you to check that the errors match times when you were really connected, and are not caused by a lost Wi-Fi connection or the system waking from hibernation.
2. Test sign-in in Microsoft Edge
Open Edge and go to https://login.microsoftonline.com, then repeat in an InPrivate window and sign in. Microsoft says you should be taken to office.com or your company's landing page. If either attempt fails, the network environment, a local firewall or antivirus software is the cause.
3. Update Teams and Office
In Teams, select Settings and more next to your profile picture and choose Check for updates. Microsoft's Office article also asks you to update Office to the latest build for your channel, and to run a supported Windows version.
4. IT: allow the sign-in broker processes
Microsoft says to make sure the local firewall, antivirus software and Windows Defender do not block these token acquisition processes, and that the network does not block https://login.microsoftonline.com:
C:\Windows\SystemApps\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy\Microsoft.AAD.BrokerPlugin.exe
C:\Windows\System32\backgroundTaskHost.exe5. IT: confirm the pattern in Event Viewer
Open Event Viewer and go to Applications and Services Logs, Microsoft, Windows, AAD, Operational. Microsoft's article says to look for XMLHTTPWebRequest entries with codes matching 0x?AA7????, 0x?AA8????, 0x?AA3????, 0x102 or 0x80070102.
6. Reinstall Teams
If the error persists, Microsoft's Teams sign-in article ends with uninstalling Teams, deleting the Teams folder under %appdata%\Microsoft, and reinstalling.
If nothing works
Collect Teams debug logs and the error code and open a support request through your Microsoft 365 administrator, as Microsoft recommends. If the code is 0xCAA70004 instead, see the 0xCAA70004 page, which covers proxies and HTTPS inspection tools.
What we checked
Three Microsoft pages were read on 2026-11-21. The Microsoft Learn article Fix Teams sign-in errors groups 0xCAA70004 and 0xCAA70007 and points to the Office connection article, and lists the update and reinstall steps. The Microsoft Support article for Teams users gives the 0xCAA70007 description and the connection guidance. The Office connection article shows the 0xCAA70007 message and gives the Edge test, the broker processes to allow and the Event Viewer check. The error was not reproduced for this page.
Last checked: 2026-11-21.