Blog/Incident analysis

When the identity provider goes down: the Azure AD outage of March 2021

A signing key that should have been retained was deleted by automation, and sign-in to Teams, Office, Dynamics, Xbox and the Azure Portal failed worldwide.

CyberWatch AI24 November 2026 · 7 min read
A laptop on a desk displaying a sign-in screen with username and password fields

Just after 7pm UTC on 15 March 2021, people started being unable to sign in to Microsoft Teams. Then Office. Then Dynamics, Xbox Live, Intune, the Azure Portal and a long tail of third-party applications that had nothing to do with Microsoft except that they used Azure Active Directory to authenticate their users.

The oddity, for anyone watching at the time, was how inconsistent it looked. Teams was dead. Outlook on the desktop carried on. SharePoint in a browser was fine until you tried to save a Word document to it. Some colleagues were locked out completely and others noticed nothing for hours.

That inconsistency is the clue to what broke. Nothing was wrong with the applications. The problem was in the cryptographic plumbing that lets an application decide whether a token is genuine, and you only hit it at the moment you need a new token.

How token signing works, briefly

When you sign in to a service through a central identity provider, the provider does not hand the application your password. It issues a token that asserts who you are, and it signs that token with a private key. The application verifies the signature using the matching public key, which it fetches from a metadata document the provider publishes at a well-known address.

Those keys are rotated regularly, which is good hygiene. During a rotation there is a period where more than one key is valid, because tokens signed with the outgoing key are still in circulation. The old key stays published until everything signed with it has expired, then it is cleaned up. Microsoft documents this lifecycle for its own platform under signing key rollover, and the design assumption is explicit: applications must be able to handle the set of published keys changing.

What Microsoft said happened

Microsoft's explanation, published through its service status notifications under tracking ID LN01-P8Z and reported consistently at the time, is that an error occurred in the rotation of the keys Azure AD uses for OpenID and other identity standard protocols.

The detail that made it an outage rather than a non-event is the retention state. One key had been marked to be retained longer than usual, because Microsoft was carrying out a cross-cloud migration and needed it kept. An automated process that removes unused signing keys on a schedule failed to honor that marking, and deleted the key anyway. When Azure AD then published its updated public metadata, applications fetched the new key list, found that the key which had signed tokens they were being handed was no longer there, and correctly refused to trust those tokens.

From the application's point of view, nothing was broken. It was doing exactly what it should: rejecting a signature it could not verify. That is why there was no graceful degradation. Signature validation is binary.

Microsoft said at 21:15 UTC that it had identified the underlying cause, and began rolling out a worldwide mitigation around 21:25 by rolling the key metadata back to its previous state. Most services were recovering within the following hour. Residual problems, including Intune failures and impact on Azure Storage and Key Vault, continued into 16 March.

Error, not attack

This was an operational defect in automated key management. Microsoft's account describes an automation bug, there was no claim of intrusion, and no subsequent reporting has suggested otherwise.

The distinction is worth stating plainly because an identity provider failure and an identity provider compromise look similar from a help desk queue, and they demand opposite reactions. A compromise means you assume tokens in circulation may be attacker-issued and you revoke aggressively. An outage means you wait, because revoking anything makes it worse. Getting that call right inside the first twenty minutes requires knowing where your provider publishes authoritative status and having already decided who makes the call.

There is an uncomfortable wrinkle in that advice, which this incident demonstrated. Microsoft's own Microsoft 365 Service Health dashboard could not load incident data, because loading it required authenticating, and authenticating was the thing that was broken. The same pattern appeared in Amazon's 2017 S3 failure, where the status dashboard depended on the service it was reporting on. If your only route to authoritative information about an outage runs through the system that is out, you have no route.

Why some things kept working

Access tokens have lifetimes. An application holding a valid token simply continued, because it had no reason to talk to the identity provider at all. Applications that re-authenticate frequently failed almost immediately.

That produced a confusing distribution of symptoms and a useful lesson about blast radius. Short token lifetimes are a security control: they limit how long a stolen token is useful and how long a revoked user keeps access. They also make you more exposed to an identity provider outage, because you touch it more often. Long lifetimes do the reverse. There is no free setting here, only a trade-off to make deliberately rather than by default.

It also means the question "were we affected?" has no single answer. Sign-in logs are the place to find out, and keeping those logs somewhere you control is what lets you answer it later.

What is confirmed and what is not

Confirmed: the approximate start time, the services Microsoft named, the attribution to an error in signing key rotation, the mitigation by rolling back key metadata, and the residual impact into the following day. The mechanism described above, a key marked for retention being deleted by automation that ignored that state, comes from Microsoft's preliminary analysis as published at the time and reported consistently by multiple outlets.

Not readily verifiable today: Microsoft promised a full root cause analysis once its investigation completed, and that document is not easily locatable in Microsoft's current public archives, which retain status history only for a limited window. Treat the fine detail as Microsoft's preliminary account rather than as a final engineering report. Microsoft has also never published the number of affected tenants or users, and any figure you see for that is someone's estimate.

What changed afterwards

Microsoft said at the time that this fell within a multi-phase effort to apply additional protections to the backend Safe Deployment Process system, the mechanism that is supposed to stop a bad change reaching everything at once.

The more substantial change was architectural. Microsoft subsequently documented a backup authentication system for Azure AD, now Microsoft Entra ID, which runs on separate systems and network paths from the primary service and takes over user sign-ins automatically when the primary is unavailable. It is worth understanding its limits as documented: it serves sign-ins using session data from recent successful authentications, applies Conditional Access with resilience defaults for conditions it cannot evaluate in real time, and does not cover service principals that are not managed identities. A user with a security event against them regains access only once the primary service is back.

Those limits are the interesting part. A resilient fallback that evaluated nothing would be a security hole; one that evaluated everything would not be independent enough to help. The compromise is explicit, documented, and configurable, which is more than most fallback systems offer.

Practical takeaways

  1. List what breaks when sign-in breaks. Not just applications. Your ticketing system, your password vault, your VPN, your chat, your documentation, your monitoring console and the multi-factor prompt itself may all sit behind the same provider.
  2. Keep a small number of break-glass accounts. Local or cloud-only administrative accounts, excluded from policies that would block them during an outage, with credentials held offline, split between two people, and alerted on every use. Review them on a schedule so they still work when you need them.
  3. Store incident runbooks somewhere that does not require your identity provider. Printed, or in a separate account with separate credentials. The test is simple: could you read it right now with no access to corporate sign-in?
  4. Decide the outage-versus-compromise question in advance. Write down the two or three signals you would use and who decides. Our incident response guide covers how to structure that call, and single sign-on for small businesses covers the trade-off from the other direction.
  5. Do not conclude that federated identity was a mistake. The alternative, where every application keeps its own passwords, fails more often and fails worse. Centralization is the right answer with a known cost attached.

Sign-in failures attract phishing. Fake "your account needs re-verification" messages follow every large authentication outage. Paste a suspicious message or link into CyberWatch AI Scan for a free check before entering credentials anywhere.

The thing that stays with you about this incident is how small the defect was. Not a design flaw in a protocol, not an intrusion, not a data center failure. A housekeeping job deleted a file it had been told to keep, and for a couple of hours a very large fraction of the world's corporate computing could not prove who its users were. Identity is the most load-bearing dependency most organizations have, and almost nobody treats it with the care that implies.

Frequently asked questions

What happened in the March 2021 Azure AD outage?

On 15 March 2021, from roughly 19:15 UTC, users worldwide could not sign in to services that depend on Azure Active Directory. Microsoft attributed it to an error in the rotation of the cryptographic keys Azure AD uses to sign authentication tokens.

Was it an attack?

No. Microsoft's published explanation describes an automated key-management process that deleted a key it should have kept. Nothing in Microsoft's statements or in contemporary reporting indicates an attacker was involved.

Which services were affected?

Microsoft Teams, Office, Dynamics, Xbox Live, the Azure Portal and Intune were named by Microsoft, and users reported problems with Exchange Online, Forms, Yammer and Azure Kubernetes Service. Azure Storage and Key Vault had residual impact. Third-party applications that used Azure AD for sign-in were affected too.

Why did some applications keep working?

Anything holding a valid, unexpired access token carried on working, because no new authentication was needed. Applications that re-authenticate frequently failed first, which is why Teams was so visible. This is also why the outage looked wildly different from one user to the next.

What is a token signing key and why does deleting one break everything?

An identity provider signs the tokens it issues with a private key, and applications verify that signature against the matching public key published in the provider's metadata. Remove the key from the published metadata and applications stop trusting every token signed with it, so valid users look invalid.

How long did it take to fix?

Microsoft said at 21:15 UTC it had identified the cause and began rolling out a worldwide mitigation at around 21:25, with the key metadata rolled back to its previous state. Most services recovered within a few hours, and residual problems with Intune and some Azure services continued into 16 March.

What did Microsoft change afterwards?

Microsoft said it was adding protections to the backend Safe Deployment Process system used for this class of change, and has since documented a separate backup authentication system that can take over sign-ins when the primary Entra ID service is unavailable.

What should an organization take from this?

Single sign-on concentrates risk as well as convenience. Work out which of your emergency procedures require the identity provider to be working, and keep a small number of break-glass accounts and offline runbooks that do not.

Does federating everything to one identity provider still make sense?

Yes, for security. Centralized identity makes joiner and leaver processes work, enforces multi-factor authentication consistently and gives you one place to look for sign-in evidence. The trade-off is availability, and the answer is to plan for the outage rather than to fragment identity.

Sources

  1. Notification: Authentication errors across multiple Microsoft services (Tracking ID LN01-P8Z), Microsoft Learn Q&A
  2. Microsoft customers locked out of Teams, Office, Xbox, Dynamics, The Register
  3. Microsoft cloud users hit by global outage linked to Azure Active Directory issue, Computer Weekly
  4. Failure to Authenticate Causes Users to Lose Access to Apps, Practical 365
  5. Azure AD Outage Explained, Redmond Magazine
  6. Signing key rollover in the Microsoft identity platform, Microsoft Learn
  7. Advancing service resilience in Azure Active Directory with its backup authentication service, Microsoft Azure Blog
  8. Microsoft Entra backup authentication system, Microsoft Learn
  9. Advances in Azure AD resilience, Microsoft Entra Blog
Share this article
LinkedIn WhatsApp X
For organizations

Your people get these messages at work too.

CyberWatch AI sends your staff realistic practice attacks, trains the gaps it finds, and shows management exactly where the organization stands.