top of page

WTF Microsoft?

Writer: Ray Delany
Ray Delany
51 minutes ago
3 min read

A months-old software bug that wasn't caught in testing was triggered by unusually high traffic and reduced server capacity, causing a cascading failure that spread globally through Microsoft's networking gateway and took hours to recover from.


That’s the summary of Microsoft’s explanation of the global outage, which ironically occurred on Friday the 13th November NZ time.


As one critic put it regarding the Microsoft report, “this is technical enough to confuse but vague enough to avoid real explanation”. Throughout the outage itself, Microsoft 365’s health status was showing a forest green across the world


What went wrong?


Microsoft says the outage happened because three separate issues lined up at the same time, exposing a software bug that had been quietly sitting in their systems for months.


A hidden software bug existed in Microsoft's networking gateway


  • A change released in July introduced a flaw that could cause servers to lock up and stop responding when under certain heavy loads.

  • The bug went unnoticed because Microsoft's testing environment didn't accurately reflect its production environment. Their tests were mainly run on smaller, less powerful servers, while the problem was more likely to occur on larger, newer servers.


Traffic suddenly increased


  • About 15 hours before the outage, Microsoft Teams traffic was moved onto the same gateway infrastructure used by Exchange Online.

  • This was a normal resilience procedure, but it increased traffic and changed usage patterns, making the hidden bug more likely to appear.


Some servers were already unavailable


  • Around 14% of gateway capacity was offline due to an unrelated issue from the day before.

  • Normally this wouldn't have mattered because there was enough spare capacity, but together with the higher traffic, it reduced Microsoft's margin for error.


Why did it become a global outage?


  • The heavier traffic and reduced capacity triggered the hidden bug.

  • Servers began freezing and stopping responses.

  • Microsoft's systems automatically redirected users to healthy servers, but that simply pushed more traffic onto those servers.

  • The same bug then hit those servers too, creating a cascade effect.

  • Within two hours, more than 80% of the gateway servers were unresponsive.


Normally, Microsoft's infrastructure is designed so that failures stay isolated to small sections. However, another separate issue prevented those barriers from working properly, allowing the failure to spread globally.


Why did some services recover sooner than others?


  • Services such as Teams, OneDrive, SharePoint, and Office apps were able to switch to alternative networking infrastructure and recover sooner.

  • Exchange Online relied more heavily on the affected gateway and could not switch away as easily.


Why did recovery take so long?


  • When Microsoft brought servers back online, they were immediately flooded by queued traffic and crashed again.

  • Automated recovery systems weren't designed for a failure this widespread.

  • Because the bug had been introduced months earlier, Microsoft couldn't simply flip a switch or roll back a recent update.


How was it fixed?


  • Engineers eventually identified the July code change as the root cause.

  • They created a software fix that restored the previous, known-good behaviour.

  • Microsoft then carefully removed groups of servers from service, applied the fix, restarted them, and brought them back online in stages until service was restored.


What critics are saying


The main criticism from engineers and commentators is straightforward.


Microsoft appears to have tested primarily on hardware that did not match its production environment. Had testing been done on servers equivalent to those running live customer workloads, the bug may have been discovered before deployment.


In essence, many observers view this less as an unavoidable failure and more as a testing and production-validation gap that only became visible under real-world conditions.


What it means


Unfortunately, it appears that even the largest software companies are not invulnerable to the lure of doing things in a half-pai way. We have developed a very thick skin for this kind of thing; “there are always tech problems” is a common thought.


For sure, running a worldwide hyperscale cloud service is not for the faint-hearted. Equally, I feel that because it’s not easy, we are entitled to expect it to aspire to the highest standards.


Strategically, few will want to change away from using Microsoft because of this incident, any more than we would change power companies because we experienced a power cut. Power cuts in this country have become much less frequent as improvements are constantly made to the network and the management tools. Let’s all hope that the same continuous improvement mentality is embedded in the hyperscalers.

 
 
bottom of page