Microsoft outage reason: a bug from July, lock contention and a cascade

Why Outlook and Exchange Online went down on 12–13 November 2026, minute by minute, from Microsoft's preliminary report as reported: a three-month-old defect, a Teams failover, 14% of capacity already out, more than 80% of gateway servers unresponsive, and why more cores made it worse.

At the worst point of Microsoft’s 12–13 November outage, more than 80% of the network gateway servers in front of Microsoft 365 were unresponsive. Outlook mail, served by Exchange Online, was out for most of a day. The cause was a defect that had been running in production since July.

Microsoft published a preliminary post-incident report on 15 November. It sits in tenant admin portals, so everything about the incident below is from Microsoft’s preliminary report, as reported by The Register, BleepingComputer and Computerworld, whose quotes match. The general mechanics (locks, cascades, overload) come from published research and the Google SRE book. No benchmarks or tests were run for this post.

The short version

  • Root cause: a fix “prepared specifically for Microsoft 365 networking gateway servers” shipped in July. It contained a latent defect: “lock contention inside an internal Windows process which caused the machine’s resources (CPU & memory) to be exhausted.” Microsoft didn’t name the process.
  • Why nobody saw it: “for more than three months, the change was deployed worldwide without impact.” And: “The contention issue is worsened on machines with more cores and newer hardware”, while “our load testing tended to focus on weaker hardware with fewer cores.”
  • Trigger: Teams failed over onto the primary gateway, the one Exchange Online also uses, while nearly 14% of that gateway’s capacity was already out of service.
  • Spread: “a cascading failure from server to server as the same amount of load was spread across fewer servers.” In under two hours the whole fleet hit the defect.
  • Fix: no simple rollback, since the change was months old. The mitigation was “an update that reverted the defective change”, applied on 13 November at 07:20 UTC.

Minute by minute (UTC)

outage: 16:03 UTC 12 Nov to 16:10 UTC 13 Nov12 Nov13 Nov01:07Teams fails over16:03first alarm<2 h>80% unresponsive00:30culprit found07:20revert applied16:10healthy≈ 15 h, nobody noticed15 h 17 min of firefighting
The outage on a to-scale clock (UTC); the thick band runs from the first alarm to healthy. Times from Microsoft's preliminary post-incident report, as reported by The Register (16 Nov 2026); the two durations are arithmetic on them.
Time (UTC) What happened
July 2026 Gateway fix with the latent defect rolls out. Passes load testing.
before 12 Nov Nearly 14% of gateway capacity out of service for an unrelated reason. Microsoft says “the service had sufficient capacity headroom”.
12 Nov 01:07 Teams fails over from the alternative gateway to the primary one, which also carries Exchange Online. More load, a different traffic mix.
12 Nov, day Load ramps up.
12 Nov 16:03 Microsoft’s connectivity anomaly detection monitor flags rising connectivity issues.
12 Nov 16:33 First support case.
within 2 h “the previously unknown defect was encountered across our fleet”. At the lowest point “more than 80% of servers were unresponsive”.
13 Nov 00:30 Connection negotiation identified as the main culprit: competing processes stop connections from being handled.
13 Nov 07:20 Mitigation applied: an update reverting the defective change.
13 Nov 16:10 Service confirmed healthy (BleepingComputer: impact ended 11:10 AM ET).
14 Nov 04:15 Final customer update.
15 Nov Preliminary post-incident report. Final report due 20 November.

Some quick arithmetic on those times: about 15 hours passed between the Teams failover (01:07) and the first alarm (16:03), and another 15 hours 17 minutes from the first alarm to the mitigation. The admin-center incidents were EX1550543 (Exchange Online) and MO1550821 (Microsoft 365), per Computerworld. On 13 November Microsoft also said “This was a technical issue not related to cyber or AI / agents.”

Why Exchange took the hit

Teams, OneDrive, SharePoint and the Office apps could fail out of the struggling gateway, and did. Exchange Online couldn’t: “not all services, like Exchange Online, can fail out of this network gateway for scale reasons.” So the service with the most users and no escape route sat on the gateway that was falling over.

During the incident Microsoft also said “the elevated load isn’t driven by an overall increase in traffic.” The number of users didn’t grow. The same traffic landed on fewer, sicker servers, and Microsoft’s own “traffic rebalancing actions” added volume on top.

Why a bug can sleep for three months

A latent defect only shows up when an input or a load pattern it hasn’t seen before arrives. Here three things had to line up: the July code, a traffic mix shifted by the Teams failover, and capacity already down 14%. Each on its own was harmless, Microsoft says. Together they “caused the network gateway to encounter the latent bug from July.”

That’s the uncomfortable part for anyone who ships code: “it has run fine in production for months” doesn’t prove much about the day traffic changes shape.

Why more cores can make lock contention worse

A lock lets one thread at a time into a critical section. If the section is short and few threads want it, you never notice it. If many cores want it at once, they queue, and the queue itself starts to cost.

Microsoft didn’t say what kind of lock was involved, so here is the general pattern, from a well-known study. In “Non-scalable locks are dangerous” (Boyd-Wickizer, Kaashoek, Morris, Zeldovich, MIT, Linux Symposium 2012), the authors ran Linux on a 48-core machine and found that “non-scalable locks can cause dramatic collapse in the performance of real workloads, even for very short critical sections.” Why: every waiting core caches the lock; each release invalidates that cache line and all waiting cores read it again, one after another, so “the cost of each lock handoff increases in proportion to the number of waiting cores.” “A single release can take many thousands of cycles if dozens of cores are waiting.”

1 corebaseline1 core: 1× one core1× one core9 coresthe peak9 cores: 4.7× one core4.7× one core48 coresafter the collapse48 cores: 0.35× one core0.35× one core
More cores, less work: throughput of one Linux benchmark (MEMPOP) behind a non-scalable lock, relative to one core. Peak at 9 cores, about 35% of a single core at 48. Source: Boyd-Wickizer et al., "Non-scalable locks are dangerous", MIT, Linux Symposium 2012. Not Microsoft's code: the general pattern.

In one of their benchmarks, throughput peaked at 9 cores (4.7× one core) and at 48 cores fell to about 35% of what a single core did. They also report “a system that performs well with 25 cores completely collapses with 30.” This is Linux, not Microsoft’s code, but it shows why “more cores and newer hardware” can be exactly where a contention bug turns from invisible to fatal, and why a test lab with smaller machines can pass it.

Why the cascade happened

The Google SRE book defines it: “A cascading failure is a failure that grows over time as a result of positive feedback.” And: “The most common cause of cascading failures is overload.” When a replica dies, its traffic moves to the others, “increasing load on remaining replicas and increasing their probability of failing.”

The arithmetic is simple if load spreads evenly (Microsoft published no per-server numbers, so this is only an illustration):

Servers still up Load per surviving server
100% 1×
86% (14% out) 1.16×
50% 2×
20% (80% down) 5×

With a lock that gets worse the busier the machine is, every step down that table makes the next server more likely to lock up.

Why “just reboot” and “just roll back” didn’t work

  • Reboot: “Bringing servers back to service didn’t help – they were immediately overwhelmed and fell over again,” writes The Register. The SRE book describes the same thing: restarted servers are “bombarded with an extremely high rate of requests and fail almost immediately”, so “identify the source of the cascading failure before you restart your servers.”
  • Automation: “Our normally automated recovery processes were not designed to restore service from this broad unresponsive state.”
  • Rollback: “A straightforward rollback was also not possible because the defect was months old.” Engineers built “an update that returned the code path to the previously known good state in Windows.”

What to take to your own systems

  1. Load test on production-like hardware. Same core counts, same SKUs, same traffic mix. The SRE book also warns that limits “may not be adequately reflected by synthetic load test traffic” and suggests “failure tests in a small slice of production.”
  2. Headroom must survive the failover. Count the traffic a failover will land on you and the capacity that’s already broken. The SRE book’s example plans for N+2: with a 5,000 QPS breaking point per cluster and 19,000 QPS at peak, “approximately six clusters are needed.”
  3. Let overloaded servers say no. Handling Overload: a backend “should accept only the requests that it can process and reject the rest gracefully.” Load shedding, client-side throttling (“Requests above the cap fail locally without even reaching the network”), and circuit breakers that return an error “without the protected call being made at all.”
  4. Budget your retries. Up to three attempts per request and a retry ratio below 10% in Google’s setup. Retries are where the next video goes: how good clients make outages worse.

Open questions

The final report is due on 20 November. The preliminary one leaves the Windows process, the kind of lock and the exact detection timing open (one analyst quoted by Computerworld puts the high-priority alert at 16:20 UTC; The Register’s timeline has the anomaly monitor at 16:03). This post will be updated if the final report changes anything above.