Microsoft has revealed that a software bug had remained dormant and undetected in its data centers since July, causing a widespread outage that disrupted several of its services, including Outlook, Teams, and its AI assistant Copilot. The incident affected users, businesses, and organizations around the world.

According to a preliminary report issued by the company, the crisis began on November 11, when Microsoft made a routine adjustment to the routes used to direct user data traffic. The change redirected Teams data to a server system that also operates Outlook.

The adjustment coincided with a reduction in the servers’ data-processing capacity due to another issue that had occurred earlier in the week. This triggered the dormant software bug and exhausted the servers’ memory, causing them to fail one after another.

Automated systems further complicated the problem by redirecting emails and user data to other servers, allowing the bug to spread to those systems as well.

Microsoft did not realize the full extent of the crisis until the morning of November 12. It took the company approximately 15 additional hours to identify the cause and begin fixing the problem.