During a large-scale outage of Microsoft 365 services this month, some emails never reached their recipients. This is stated in the company’s report, which also revealed serious gaps in the testing and infrastructure recovery processes.

Image source: Sam Torres / unsplash.com
Microsoft detailed how a flaw in Windows caused Exchange Online to fail and disrupted other Microsoft 365 services. For users, this meant that the cloud services that ran on those products simply stopped functioning. The reason was changes to the program code made in July, which, combined with the procedure for switching to reserve capacity and a reduction in available resources, led to a failure.
Microsoft drew conclusions from the incident and announced plans to improve control over changes made, optimize system recovery procedures and increase reserve capacity. The issue affected the configuration of Microsoft’s gateway servers and not standard Windows deployments.
A large-scale failure began on November 12, and was completely eliminated only on November 14. Microsoft has increased the message delivery retry period to 48 hours. But some letters addressed to users whose mailboxes remained inactive for more than 30 days were finally discarded by the system after this period – the senders received non-delivery notifications. At the same time, all messages from corporate users in the queue were delivered; there were no irretrievably lost messages among them.

Image source: Salah Darwish / unsplash.com
As US users began their workdays, one by one the gateway servers went down. At its peak, more than 80% of gateway servers in North America stopped responding. It took Microsoft time to detect the specific code change and deploy a fix. The company had a week to review its actions and omissions. She presented a plan for further steps to prevent a recurrence of these events.
An obvious step is to reduce the “radius of damage” during failures: the company intends to introduce segmentation and isolation mechanisms to localize the problem, preventing it from spreading to the entire global network. Refinement of recovery procedures, improved communication and an increase in the supply of computer power are required to provide the necessary reserve for stable operation.
During the load testing, Microsoft used older hardware with fewer cores, making it less likely to detect a defect that would appear on more modern systems. Now the company will transfer testing to new equipment and will use more realistic traffic scenarios and peak loads; The testing program for emergency transfer mechanisms will be expanded.
Microsoft will improve diagnostics and change auditing to help engineers find problematic Windows updates faster. The defect, which occurred in July, was present in systems around the world for more than three months before causing gateways to fail.
If you notice an error, select it with the mouse and press CTRL+ENTER.


