Skip to Content

How Did One PowerShell Command From ChatGPT Crash Exchange Online and Microsoft 365 Globally?

Microsoft has faced severe disruptions to its Microsoft 365 services and Exchange Online since February 2025. While the company has remained tight-lipped about the root cause, reports suggest a catastrophic failure triggered by a tenant administrator’s actions. Here’s a breakdown of the unfolding chaos:

Key Events and Observations

Initial Disruptions

Problems began in February 2025, with sporadic email issues reported by users. By March 1, disruptions intensified, affecting Exchange Online globally.

Spam Overload and Failed Fixes

An IT service provider discovered that 50,000 spam emails bypassed filters, overflowing the junk folders of mailboxes. Attempts to clean these folders remotely via PowerShell failed, prompting a support ticket to Microsoft.

ChatGPT’s Role in Escalation

Frustrated by Microsoft’s lack of resolution, the IT provider turned to ChatGPT for advice on clearing junk folders. ChatGPT suggested a PowerShell command sequence. Executing this sequence led to widespread deletion of Exchange Online mailboxes.

Global Fallout

The command bypassed input validation, granting unintended cross-tenant permissions—a critical architectural flaw. Mailboxes vanished worldwide, forcing Microsoft to scramble for restoration.

Microsoft’s Response

Microsoft allegedly threatened legal action against the IT provider for causing “millions in damage.” Support staff reportedly deleted evidence from the ChatGPT session during remote troubleshooting.

Critical Insights

  • Architectural Weakness: The incident exposed vulnerabilities in Exchange Online’s tenant isolation mechanisms, allowing unintended cross-tenant effects.
  • GDPR Concerns: If mailboxes were compromised across tenants, this raises serious data protection issues requiring regulatory reporting.
  • Reliance on AI: The misuse of AI tools like ChatGPT in technical environments can lead to disastrous consequences when paired with flawed system designs.

Lessons for Tenant Administrators

  • Understand Permissions: Always verify the scope of administrative actions within cloud environments.
  • Avoid Blind Trust in AI Solutions: AI tools can provide quick answers but lack contextual safeguards against unintended outcomes.
  • Demand Transparency from Providers: Cloud service providers must ensure secure architectures and communicate openly during crises.

Microsoft’s silence on the matter leaves many questions unanswered, but one thing is clear: tenant administrators are navigating a precarious landscape where one misstep can have devastating consequences.