Menu

Why PowerShell Mailbox Exports Crawl at 1 GB/Hour (And How We Solved It)
📰

Why PowerShell Mailbox Exports Crawl at 1 GB/Hour (And How We Solved It)

DEV Community: cloud·Parvez Gazi·17 days ago
#B704diVX
#devtocloud#devto#dev#microsoft#local
Long article (727 words) — no AI summary yet.
Reading 0:00
15s threshold

If you have ever managed an Exchange Online or Microsoft 365 environment, you know this exact frustration:

A legal request or a departing executive requires an immediate backup of an 80 GB mailbox. You open PowerShell, fire up the standard export command, and wait:

New - MailboxExportRequest - Mailbox "[email protected]" - FilePath "\\backup\pst\archive.pst" # Status: Queued... Processing... StalledDueToTarget_DiskLatency (ETA: 40+ Hours)

Enter fullscreen mode

Exit fullscreen mode

Or worse, if you try writing a custom script using Microsoft Graph API, your console gets hit with:

HTTP / 1.1 429 Too Many Requests Retry - After : 300 X - MS - Throttle - Reason : ApplicationThrottling

Enter fullscreen mode

Exit fullscreen mode

Two days later, the export is still crawling at roughly 1.1 GB per hour.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.