How a Sleeping Bug Knocked Out Outlook for Nearly a Day
Microsoft says a months-old defect, a traffic shift and missing server capacity lined up to cause one of its biggest outages ever.
Last Thursday, Outlook and other Microsoft 365 services went dark for just under 24 hours. Hospitals reportedly fell back on paper records and schools lost contact with parents. Microsoft has now published a preliminary report, and it says this was a technical issue, not a cyberattack or AI gone wrong.
The root cause was a bug introduced in July in an update for Microsoft's networking gateway servers, the entry points that route traffic into its services. It sat quietly for months. Microsoft says its tests missed it because lab machines were weaker, with fewer processor cores, than the newer servers where the bug got worse.
Two other things woke it up. About 15 hours before the outage, Teams traffic shifted onto the gateway that serves Exchange Online, Microsoft's email backbone. Meanwhile, about 14 percent of that gateway's capacity was already offline from an unrelated problem. Together, they triggered the bug.
Then the safety nets backfired. As servers froze, traffic was redirected to healthy ones, which then froze too. Within two hours, more than 80 percent were unresponsive. Rebooted servers were instantly swamped by waiting traffic, and because the bug was months old, the usual "undo recent changes" tools did not help.
The failover systems did exactly their job, and that was the problem.
Microsoft says it has added capacity, monitoring and safeguards, and a final report is expected later this week. The open question is how it will change testing so a bug like this gets caught before millions of inboxes depend on it.
Sources: [1] Inside Microsoft’s giant Outlook outage · [2] Three small failures combined to take down Microsoft 365 · [3] Microsoft identifies months-old bug as a root cause of global outage · [4] Microsoft says months-old bug caused global Microsoft 365 outage