Microsoft Purview eDiscovery export failing or timing out? Here is how to backup Office 365 user and shared mailboxes to local PST files on-premises.
On This Page (6 sections) ▾
- 1. Method 1: Export Individual Mailbox via Desktop Outlook (Classic)
- 2. Method 2: Native Compliance Export via Microsoft Purview & PowerShell
- 3. Running Native Compliance Searches with PowerShell & Purview
- 4. Method 3: Automated Local Backups via Prism Office 365 Backup Tool
- 5. Production Rules for Enterprise Mailbox Backups
- 6. Frequently Asked Questions (FAQs)
⚡ Quick Direct Answer: How to Backup Microsoft 365 Mailboxes to PST
- Single User Backup (Desktop Outlook): In Classic Outlook desktop, open File > Account Settings > Account Settings, double-click your account, and set the Download email for the past slider to All (to prevent exporting only recent cached emails). Then go to File > Open & Export > Import/Export > Export to a file > Outlook Data File (.pst), select the root folder, and check Include subfolders.
- Tenant Compliance Export (Microsoft Purview): In the Microsoft Purview portal (
purview.microsoft.com), run an eDiscovery or Content Search query targeting the desired mailboxes, select Export results, and retrieve the generated.pstarchive package through the Process Manager. - Automated Tenant Mailbox Backup: Use Prism Office 365 Backup Tool to stream primary, shared, and archive mailboxes directly into 64-bit Unicode PST files via modern OAuth 2.0.
Under Microsoft's Shared Responsibility Model, Microsoft manages datacenter infrastructure, hardware failover, and service availability. However, data governance, accidental deletion safeguards, compliance archiving, and point-in-time disaster recovery remain the customer's operational responsibility.
If an account is deleted or correspondence is purged beyond default retention periods, recovery from the cloud is impossible without an external backup. Maintaining local or cold-storage PST archives provides an independent fallback against configuration mistakes, credential compromises, or administrative errors.
Below are the three methods to export Microsoft 365 mailboxes to PST, covering individual accounts, native compliance queries, and automated tenant backups.
Method 1: Export Individual Mailbox via Desktop Outlook (Classic)
For individual users or small deployments, the Classic Outlook desktop application provides a built-in export wizard.
Step 1: Ensure Cached Exchange Mode is Set to "All"
Before exporting, you must verify your offline synchronization settings. By default, Outlook caches only 12 months (or less) of email locally. If you do not adjust this slider, Outlook will export only cached items, omitting older correspondence:
- In Outlook, navigate to File > Account Settings > Account Settings.
- Select your Microsoft 365 Exchange account and click Change.
- Under Offline Settings, move the slider for Download email for the past all the way to the right: All.
- Click Next, click Done, and restart Outlook. Allow Outlook to finish updating all folders before proceeding.
Step 2: Export to Outlook Data File (.pst)
- Go to File > Open & Export > Import/Export.
- In the wizard, select Export to a file and click Next.
- Select Outlook Data File (.pst) and click Next.
- Select the top-level mailbox root (your email address) and ensure Include subfolders is checked.
- Browse to your chosen local backup folder, choose your duplicate handling preference, and click Finish.
Method 2: Native Compliance Export via Microsoft Purview & PowerShell
Every Exchange administrator who has tried to pull a large mailbox out of the compliance portal knows the operational challenges:
Microsoft throttles compliance exports to preserve interactive user traffic, which can leave large export generation jobs queued for extended periods in the cloud.
Large mailboxes also produce multi-part archive packages that must be downloaded sequentially through browser sessions or storage tools.
Furthermore, Purview does not always produce a single contiguous file; it often splits In-Place Online Archives into separate folder fragments across subdirectories.
Automating recurring compliance exports natively requires maintaining custom Azure Automation runbooks or interacting manually with the compliance portal interface.
Running Native Compliance Searches with PowerShell & Purview
Administrators can automate search definitions using PowerShell cmdlets before generating export packages in the Microsoft Purview portal.
Assigning eDiscovery Admin Roles
Open PowerShell with elevated privileges and connect to Security & Compliance PowerShell:
# Connect to Exchange Online and Security & Compliance PowerShell
Connect-ExchangeOnline -UserPrincipalName admin@yourdomain.com
Connect-IPPSSession -UserPrincipalName admin@yourdomain.com
# Assign eDiscovery Manager role (specifically the Export role) to compliance admin
Add-RoleGroupMember -Identity "eDiscovery Manager" -Member "admin@yourdomain.com"Role assignments in Microsoft Entra ID can take up to 2 hours to propagate across all global compliance endpoints. Allow adequate time for role assignments to replicate before initiating search queries.
Creating and Starting the Compliance Search
Target the mailbox and use a date filter to keep the export scope defined:
# Create new compliance search for target user mailbox
New-ComplianceSearch -Name "UserBackup_August2026" `
-ExchangeLocation "john.doe@yourdomain.com" `
-ContentMatchQuery "received>=01/01/2020"
# Start the search execution
Start-ComplianceSearch -Identity "UserBackup_August2026"Monitoring the Search Job
Check search progress until the query reports completed:
# Check search status until Completed
Get-ComplianceSearch -Identity "UserBackup_August2026" | Format-Table Name, Status, Items, SizeMicrosoft Purview Cmdlet Update: Microsoft retired the -Export action on the cloud New-ComplianceSearchAction cmdlet, and deprecated the legacy -ArchiveFormat SinglePst parameter. In modern Microsoft 365 environments, export package generation is initiated directly in the Microsoft Purview portal.
Generating and Downloading the Export Package in Microsoft Purview
- Open the Microsoft Purview Portal (
purview.microsoft.com). - Navigate to Content search (or eDiscovery).
- Select your completed search (
UserBackup_August2026), click Actions, and select Export results. - Configure output options: select whether to export all items or indexed items, and choose the PST structure (e.g. one PST file for each mailbox or separate files per folder).
- Submit the export job. Microsoft Purview processes the package asynchronously in the cloud.
- Once processing is complete, navigate to the Export tab (or Process manager in modern Purview) and click Download results (or Download packages) to save the files directly to your local storage.
(Note: The legacy ClickOnce eDiscovery Export Tool and manual 64-character export keys have been replaced by the direct browser and Process Manager download workflow in modern Microsoft Purview).
Method 3: Automated Local Backups via Prism Office 365 Backup Tool
Manual compliance exports can become tedious when backing up multiple mailboxes across departments or scheduling routine archives. The Office 365 Backup Tool connects directly via modern OAuth 2.0 authentication to stream primary, shared, and archive mailboxes directly into structured local PST archives without requiring Outlook.
Step-by-Step Execution:
- Launch Prism Office 365 Backup Tool on your workstation.
- Select your tenant login mode (Modern OAuth 2.0 or Azure App Certificate) and authenticate securely.
- Select the mailboxes you want to back up from the discovered hierarchy, including primary user accounts, shared mailboxes, or archive folders.
- Select PST as the export format (or export to MBOX, PDF, or EML if needed).
- Set your preferred threshold splitting (e.g., split at 10 GB or 20 GB) to keep archive files manageable and compliant with Outlook storage recommendations.
- Select your local or network destination directory and click Start Backup to stream the mailbox items directly to disk.
Evaluation Mode: The free evaluation preview displays discovered mailboxes and exports up to 50 items per folder, allowing administrators to verify permissions and mailbox integrity before purchase.
| Evaluation Metric | Native Purview eDiscovery | Prism Office 365 Backup Tool |
|---|---|---|
| Download Speed | Dependent on Purview cloud generation and browser download bandwidth | Managed API batching with automatic retry on throttling |
| Shared Mailbox Support | Requires eDiscovery case or assigned license | Supported for tenant mailboxes via admin consent |
| In-Place Online Archives | Split across fragmented folders | Supported via discovered archive tree (verify in trial) |
| Output Formats | PST Only | PST, MBOX, PDF/A, EML, MSG, HTML |
| Recurring Automation | Complex custom Azure Automation runbooks | Built-in CLI and scheduled backup tasks |
| Data Storage | Intermediate Purview Cloud Staging Package | Direct stream to local disk or network storage |
Production Rules for Enterprise Mailbox Backups
Stick to the 3-2-1 backup strategy. Keep three copies of your mail data across two different media types—like local NVMe RAID storage and an on-premises NAS—while keeping at least one copy air-gapped offsite.
Always split large PST exports. While modern Unicode PST files technically support up to 50 GB, keeping archive files under 20 GB to 25 GB reduces disk fragmentation, improves search responsiveness, and minimizes corruption risks when mounting in Outlook.
Don't delete accounts immediately upon employee departure. Convert departing employees to Shared Mailboxes first, pull your local archival backup, and then revoke the licenses.
Frequently Asked Questions (FAQs)
Can I backup Office 365 mailboxes without having Microsoft Outlook installed?
Yes. The Office 365 Backup Tool features a built-in 64-bit MAPI byte serializer. It parses and writes Outlook Unicode .pst files natively without requiring Microsoft Office or Outlook on the host computer.
Does downloading mailboxes reset unread email flags for end-users?
Standard Microsoft Graph mailbox reads are non-destructive and do not alter message properties unless an explicit update request is sent. The backup tool is configured to issue read-only requests intended to preserve original message states. We recommend validating flag preservation on a pilot test account before executing full organizational backups.
Can I backup secondary In-Place Online Archives?
When authenticating with appropriate administrative or delegated permissions, the tool is designed to display discovered primary mailboxes, shared mailboxes, and secondary In-Place Archive folders in the selection tree. Because cloud tenant configurations vary, verify archive folder discovery and extraction for your specific tenant using the free evaluation preview before purchasing. For large archives, enabling the Auto-Split PST feature creates partitioned output PST volumes (such as 10GB or 20GB files) to keep archives within recommended Outlook limits.
Related Guides: Prefer running PowerShell cmdlets? See our step-by-step guide on How to Export Office 365 Mailbox to PST via PowerShell. Calculate total transfer duration free with our Mailbox Size & Bandwidth Calculator.
Office 365 Backup Tool
Desktop utility engineered for reliable mailbox conversion and data migration.