A hidden software bug caused a global Microsoft outage affecting services including Outlook and Teams, after a surge in traffic combined with reduced server capacity, the company said.
The fault had remained undetected for more than three months after being introduced through a software change in July to a central gateway handling Microsoft 365 data traffic.
At the height of the disruption last Thursday, more than 80 per cent of the affected servers had stopped responding. The incident ultimately affected users in more than 70 countries.
Microsoft said testing had failed to identify the problem because it relied mainly on older technology, while the bug primarily affected newer and more powerful servers.
How the Microsoft global outage spread
The failure emerged during peak usage hours in the United States, after Teams was switched to the same main infrastructure as scheduled. That increased the flow of data through the system.
At the same time, just under 14 per cent of server capacity was temporarily unavailable because of another technical issue. When servers began failing under the heavier load, an automated system redirected users’ requests to those still operating.
The same fault then spread to the remaining servers. Digital safeguards designed to separate regional systems also failed, allowing the disruption to extend around the world.
Restoring the service took until Saturday because servers that had been restarted immediately crashed again under the volume of pending requests.
Microsoft eventually developed a special repair update and brought the servers back online gradually. Risk analysts estimated that the outage caused global economic losses of several billion US dollars.
