Skip to content

How to Export a Microsoft 365 Mailbox to PST

Export a Microsoft 365 mailbox to PST two ways: a Content Search eDiscovery export for admins and Outlook's import/export for a single user. Covers permissions, when to use each, and compliance.

MGMCSA Guru Team July 30, 2026 7 min read
Diagram-style cover showing a Microsoft 365 mailbox being exported into a PST file through Content Search and Outlook

Exporting a Microsoft 365 mailbox to a PST file comes up constantly: someone leaves the company and you need to archive their mail, legal asks for a copy of a specific account, or a user just wants a local backup before a big change. There are two clean ways to do it, and picking the right one saves a lot of friction.

The admin route is Content Search in the compliance portal (part of eDiscovery), which exports a mailbox without the user’s password and scales to several mailboxes at once. The user route is Outlook’s built-in import/export, which is perfect when one person wants a copy of their own mail. This guide covers both, the permissions the admin method quietly requires, and the compliance points worth knowing before you start handing PSTs around.

Which method fits your situation

Decide this first — it determines everything that follows.

Content Search vs Outlook export

Content Search (eDiscovery) Admin-driven, no user password needed. Best for departed employees, legal/HR requests, multiple mailboxes, or capturing deleted/archived items.
Outlook import/export User-driven, needs access to the signed-in profile. Best for a single user backing up their own mail before a migration or device change.

The short version: if you’re an admin acting on someone else’s mailbox, use Content Search. If a user can open the mailbox themselves and just wants a copy, Outlook is faster and needs no special roles.

Method 1: Content Search export (the admin way)

This runs from the Microsoft Purview compliance portal and doesn’t require signing in as the user — which is exactly why it’s the standard for offboarding and legal requests.

Step 1: Get the right permissions

This is the step that blocks most people. Being a Global Administrator does not automatically give you eDiscovery rights.

Permissions you need first

  • Membership in the eDiscovery Manager role group (Purview compliance portal)
  • The Export role assigned (it's what lets you download results as PST)
  • Access to the compliance portal at compliance.microsoft.com / purview.microsoft.com
  • A supported setup for the eDiscovery Export Tool (the ClickOnce download tool)

To add yourself: in the compliance portal, go to Roles & scopes → Permissions → Microsoft Purview solutions → Roles, open eDiscovery Manager, and add your account. Confirm the Export role is included.

  1. In the compliance portal, go to Content search (under eDiscovery or Solutions).
  2. Click New search and give it a name.
  3. Under Locations, choose Specific locations and add the user’s mailbox (you can add several).
  4. Add a query if you only want part of the mailbox (date range, keywords), or leave it blank to take everything.
  5. Save & run the search and wait for it to finish estimating results.

Step 3: Export the results to PST

  1. Open the completed search and choose Actions → Export results (or the Export tab).
  2. Pick the export options — include the Recoverable Items folder if you need deleted mail, and decide how items are organized (one PST per mailbox is the common choice).
  3. Start the export, then go to the Exports tab and open the export job.
  4. Copy the export key, click Download results, and let the eDiscovery Export Tool launch.
  5. Paste the export key, choose a download location, and download. The result is one or more PST files.

Method 2: Outlook import/export (the user way)

When a single user can sign into the mailbox and just wants a local copy, Outlook does this without any admin involvement.

  1. In the Outlook desktop client, go to File → Open & Export → Import/Export.
  2. Choose Export to a file, then Next.
  3. Select Outlook Data File (.pst), then Next.
  4. Pick the account or folder to export (select the top of the mailbox to take everything, and tick Include subfolders).
  5. Choose where to save the .pst, set any duplicate-handling option, and click Finish.
  6. Optionally set a password on the PST when prompted.

When to use each, in practice

A few concrete cases to make the choice obvious:

Pick the method by scenario

Employee left, mailbox needs archiving Content Search — no password, captures everything, works on inactive mailboxes.
Legal or HR asks for a date-bounded copy Content Search — scope by date/keyword and export only the relevant mail.
User wants a backup before a new laptop Outlook export — quick, self-service, no admin roles.
Several mailboxes at once Content Search — add multiple locations to one search.
Capture deleted / archived items Content Search — include Recoverable Items and the archive in the export options.

Compliance and a few cautions

PST exports move mail outside Microsoft 365’s protections, so handle them with care.

  • Treat exported PSTs as sensitive data. Once a PST is on a laptop or file share, it’s outside retention, DLP, and audit. Store it encrypted, restrict access, and delete it when it’s no longer needed.
  • Preserve the mailbox before exporting a leaver. A deleted mailbox is retained for a period (commonly 30 days) and can be made an inactive mailbox with a hold to keep it indefinitely. Set the hold before removing the license so there’s still something to export.
  • PST is a poor ongoing backup. PSTs corrupt, don’t scale, and aren’t centrally searchable. For routine protection, lean on retention policies, litigation hold, or a dedicated backup product rather than scheduled PST dumps.
  • Log who exported what. For legal requests especially, record the search, the export, and who handled the file. eDiscovery activities are auditable — use that trail.

Wrapping up

Two methods, one decision: act as an admin on someone else’s mailbox with Content Search, or let a user copy their own mail with Outlook’s export. The admin route needs the eDiscovery Manager and Export roles before it’ll work, and the export tool is picky about browsers — sort both out before you start and the rest goes smoothly. Whatever you produce, remember a PST is a copy living outside Microsoft 365’s protections, so secure it and clean it up when you’re done.

If you’re exporting because someone left, pair this with recovering deleted emails in Exchange Online to make sure nothing important was purged first, and consider converting their account to a shared mailbox if the team still needs the address.

Frequently asked questions

Which method should I use to export a mailbox to PST?

Use Content Search / eDiscovery export when you're an admin handling a departed employee, a legal request, or several mailboxes — it doesn't need the user's password and runs from the compliance portal. Use Outlook's built-in import/export when a single user just wants a local backup of their own mail and can sign in to the account.

What permissions do I need to export a mailbox with Content Search?

You need the eDiscovery Manager role (or membership in a role group that includes it) in the Microsoft Purview compliance portal, and specifically the Export role. Global Admin alone isn't automatically assigned eDiscovery permissions — you usually have to add yourself to the eDiscovery Manager role group first.

Why does the Content Search export button do nothing?

Content Search export relies on a ClickOnce tool that historically required Internet Explorer or the legacy Edge mode, plus the export role. If the export won't start, it's usually a missing Export role assignment or a browser that won't launch the eDiscovery Export Tool. Confirm the role first, then use a supported browser.

Can I export a mailbox after the user has left and their license is removed?

Only if the mailbox still exists. A deleted mailbox is retained for a period (commonly 30 days) and can be made inactive with a hold to preserve it indefinitely. As long as the mailbox or inactive mailbox exists, Content Search can export it. Once it's permanently removed, there's nothing left to export.

Is a PST export a good backup strategy?

For a one-off archive of a departing user or a legal copy, yes. As an ongoing backup, no — PSTs are large, easily corrupted, hard to search at scale, and not centrally managed. For routine protection, use retention policies, litigation hold, or a dedicated third-party backup rather than scheduled PST exports.

Will exporting to PST include deleted items and the archive?

Content Search can include the Recoverable Items folder and the user's online archive depending on how you scope the search and export options, so you can capture deleted and archived mail. Outlook's export only covers what's visible in that user's profile, so it may miss server-side recoverable items unless they're restored first.

Sources & further reading

Official vendor documentation referenced while writing this guide.

MG

MCSA Guru Team

IT & Systems Administration

We are working IT pros and system administrators who spend our days in Windows Server, Microsoft 365, and the wider Microsoft stack. MCSA Guru is where we write down the fixes and walkthroughs we wish we had found the first time.

MCSA Guru provides independent, educational IT guidance. Microsoft, Windows, Windows Server, Microsoft 365, Exchange, and Microsoft Teams are trademarks of Microsoft Corporation; Docker is a trademark of Docker, Inc. MCSA Guru is not affiliated with or endorsed by Microsoft or Docker. Always test changes in a safe environment before applying them in production.

Related guides

Fixing something right now?

Jump straight into the guide library or search for the exact error or task you are dealing with.