How a July gateway update led to the Microsoft 365 outage
Microsoft's preliminary report blames a July software defect for the nearly 24-hour Microsoft 365 outage that disrupted email worldwide on November 12.
Key points
- A software defect introduced through a July update to Microsoft 365 networking gateway servers remained undetected for more than three months before triggering the November 12 outage.
- Three factors combined to cause the failure: a hidden bug, increased traffic from a Teams automatic failover, and a nearly 14% reduction in gateway server capacity from an unrelated issue.
- Exchange Online could not reroute to backup infrastructure the way Teams and other services could, which is why email was disrupted longer than other Microsoft 365 products.
- Microsoft has deployed a fix and added monitoring and safeguards; a final post-incident report was due on November 20, though its release was not confirmed at the time of publication.
A software bug was slipped into Microsoft 365 networking gateway servers through a July update. It sat undetected for more than three months before triggering a worldwide service outage on November 12. Microsoft's preliminary post-incident report, shared in its 365 Admin Center, says the defect set off a chain reaction. The vast majority of gateway servers were unable to respond for nearly a full day.
BleepingComputer, in a November 16 report by Lawrence Abrams, said the incident began at 11:20 AM ET on Thursday, November 12. Microsoft confirmed services were fully restored at 11:10 AM ET the following day. During those nearly 24 hours, Outlook, Exchange Online, Teams, and Copilot were disrupted worldwide. Users could not reach their email, and messages backed up across the platform.
Key facts
- A software defect introduced through a July update to Microsoft 365 networking gateway servers sat dormant for more than three months before it was triggered.
- The defect spread across the server fleet in less than two hours; at its lowest point, more than 80% of gateway servers were unresponsive.
- Multiple factors combined to cause the failure: increased traffic from a Microsoft Teams automatic failover, a nearly 14% drop in gateway server capacity from an unrelated problem, and a hidden software defect.
- Exchange Online could not shift to backup infrastructure the way Teams, OneDrive, and SharePoint could, which kept email down longer.
- Microsoft published a preliminary post-incident report on November 15; The Register said a final report was due on November 20.
How the July gateway update led to cascading failures
The update at the center of the outage was written for Microsoft 365 networking gateway servers. It passed load testing and ran in production for more than three months without apparent problems. The Register, citing Microsoft's preliminary report, said the testing used weaker hardware with fewer processing cores than the production machines. The defect triggered resource contention inside a core Windows process, which exhausted the server's CPU and memory. Resource contention occurs when competing program threads fight over the same shared resource until the machine runs out of capacity.
Testing on lower-end hardware can hide certain defects. A bug that creates resource competition may never surface on a small machine. On servers with many more cores and newer chips, the same code runs in more parallel threads. That makes the conflict far worse. This gap between the lab and production is why the July update cleared testing but failed in the live environment.
The Register said the Teams failover happened at 0107 UTC on November 12, pushing more traffic onto the gateway servers. At the same time, nearly 14% of gateway capacity was offline from a separate, unrelated problem. Microsoft said each condition alone was manageable. Together, they crossed the threshold that woke the dormant defect.
When servers began failing, Microsoft's systems rerouted users to other available servers. Those servers hit the same bug and went down too. The cycle continued until, as BleepingComputer reported, Microsoft said: "At its lowest, more than 80% of servers were unresponsive." Safeguards meant to block problems from spreading between regions could not contain the collapse.
What it means for you
BleepingComputer said the outage disrupted Outlook, Exchange Online, Teams, and Copilot for users worldwide. Microsoft 365 is used by businesses and individuals for email, messaging, and collaboration. When Exchange Online went down, it took personal and business email with it. Workers who relied on email for client communication or internal approvals had no workaround during the outage.
Teams, OneDrive, and SharePoint recovered sooner. Those services could reroute around the faulty gateway. Exchange Online could not, BleepingComputer said, because of how it connects to the gateway at scale. For anyone who depends on Microsoft 365 for daily work, that meant nearly 24 hours without reliable email and significant delays in message delivery.
Recovery took longer than a typical outage. When engineers restarted failed servers, each one was immediately overwhelmed by the queued traffic and went down again. Only after a targeted software update was deployed could the servers begin to stabilize.
What you can do
Users do not need to install any patch or change any settings. Microsoft has already deployed a fix that returned the gateway code to a stable state.
If your organization sent time-sensitive messages on November 12, it is worth verifying that they arrived. BleepingComputer said Microsoft confirmed active customer impact had ended by 11:10 AM ET on November 13. Delivery delays were confirmed during the outage. Neither BleepingComputer nor The Register's coverage stated whether any email was permanently lost. That detail remains unknown from the sources available at publication.
BleepingComputer said Microsoft has since added server capacity, upgraded its monitoring tools, and put new safeguards in place to block traffic redirection from setting off similar cascading failures.
What happens next
The Register said a final post-incident report was due on November 20. That document should provide a fuller account of what failed in Microsoft's testing and release process. Whether Microsoft published that final report was not confirmed at the time of this article.
A simple rollback of the July update was not possible because the defect had been in production for months, The Register noted. Engineers instead wrote a targeted update that returned the affected code to a known-good state, then deployed it in stages across the fleet. Charles Lamanna, Microsoft's Copilot and platform chief, apologized in a post on X. BleepingComputer quoted him saying: "We are deeply sorry for the impact to all our customers."
FAQ
What caused the outage?
BleepingComputer said Microsoft's preliminary report pointed to a software defect in the codebase since a July gateway update, a Microsoft Teams automatic failover that boosted traffic, and reduced capacity from an unrelated problem. Any one of those conditions alone would not have caused a failure. All of them together pushed the servers past what automated recovery could handle.
How long did the outage last?
The Register added that the Teams failover happened at 0107 UTC on November 12, that Microsoft's connectivity monitoring flagged issues at 1603 UTC, and that the first support case arrived at 1633 UTC.
Was any email lost during the outage?
Neither BleepingComputer nor The Register's coverage of the preliminary report stated whether any email was permanently lost. That detail is not established from the sources available at the time this article was published.
Sources
- BleepingComputerMicrosoft says months-old bug caused global Microsoft 365 outage
More from the network
Junious Media Network ↗SB19's VISA and BINI's Unang Kilig Nominated for Grammy
SB19's VISA and BINI's Unang Kilig are nominated for Best Asian Pop Music Performance at the 69th Grammy Awards, a new category both acts championed.
junidaily.media ↗SAG-AFTRA Creates Healthcare Task Force as Actors Lose Coverage
SAG-AFTRA's new task force will advocate for universal healthcare as most union members cannot meet the income or workday threshold to qualify for health benefits.
junidaily.media ↗Presumed Innocent Season 2 on Apple TV+ Gets a New Story and Cast
Apple TV+ is retooling its hit legal drama as an anthology series, bringing a fresh cast and new legal thriller to screens in February 2027.
junidaily.media ↗Yellowjackets Season 4 Is the Show's Final Chapter
Showtime's survival drama Yellowjackets concludes after four seasons, with creators Ashley Lyle and Bart Nickerson saying the story is complete and no spinoff is planned.
junidaily.media ↗