Export guide · Checked against Microsoft 365 documentation 2026-11-17
How to export all your data from Microsoft 365
An eDiscovery Manager exports Microsoft 365 content from a case in the Microsoft Purview portal. Mailbox items come out as PST or .msg files, and SharePoint and OneDrive content as copies of the native documents, with CSV reports. Packages can be downloaded for 14 days. One user can also export a single mailbox to a .pst file from Outlook.
Who can export from Microsoft 365
Organization-wide export runs through Microsoft Purview eDiscovery. The people who can do it are members of the eDiscovery Manager role group, which carries the Compliance Search, Preview and Export roles among others. To add someone to that group you must be in the Organization Management role group or hold the Role Management role, and the assignment is made in the Purview portal under Settings > Role groups.
At the time of checking, Microsoft states that the eDiscovery user needs a Microsoft 365 Enterprise E3 or E5 license to export content, and a SharePoint E3 license as well when exporting SharePoint content. Its process report documentation also notes that without an active pay-as-you-go subscription, data is not exported or added to a review set, so confirm billing is set up before you plan a large export.
The Outlook route needs no admin role. Any user can export the mailbox of an account they have open in Outlook, one account at a time.
How to export, step by step
Route 1 of 3
Microsoft Purview eDiscovery search export
Members of the eDiscovery Manager role group with an E3 or E5 license
- 01Go to the Microsoft Purview portal and sign in with an account assigned eDiscovery permissions.
- 02Select the eDiscovery solution card, then select Cases.
- 03Select a case, select the Searches tab, then select the search query to export.
- 04Select Export and enter a name in Export name.
- 05Under Select items to include in your export, choose indexed items, partially indexed items, or both.
- 06In the OneDrive and SharePoint items section, select how many document versions to export: latest only, recent 10, recent 100 or all.
- 07In the Export type section, choose Export items with items report.
- 08In the Export format section, choose Create PSTs for messages or Create .msg files for messages.
- 09In Package size settings, set the maximum PST size (1, 2, 5 or 10 GB) and the maximum .zip package size (2, 10, 20 or 40 GB).
- 10Select the output options you want, such as Organize data from different locations into separate folders or PSTs and Include folder and path of the source.
- 11Select Export, then OK.
- 12Open Process manager, select the Export process and select Download packages when it completes.
Microsoft recommends running Generate statistics before a large tenant-wide export, because the export can then skip locations with no search hits. Unzip the packages with a tool such as 7-Zip, since the built-in Windows extractor can fail on long paths and resets file dates.
Route 2 of 3
Items report only
Members of the eDiscovery Manager role group
- 01Follow the search export steps as far as the Export type section.
- 02Choose Export items report only.
- 03Select Export and download the report package from Process manager.
This gives you an inventory of what a full export would contain without moving any content. String fields in the CSV are cut to the first 255 characters in this mode.
Route 3 of 3
Outlook export to a .pst file
Any user, for one mailbox at a time
- 01In classic Outlook, choose File.
- 02Choose Open & Export, then Import/Export.
- 03Choose Export to a file, then Next.
- 04Select Outlook Data File (.pst), then Next.
- 05Select the account to export, keep Include subfolders checked and choose Next.
- 06Click Browse, enter a file name and choose OK.
- 07Choose Finish.
In new Outlook the path is Settings > Files > Export, then Get started. In Cached Exchange Mode Outlook only exports what is in the local cache, which holds about 12 months by default, so turn caching off or set the sync slider to All first.
What comes out
A Purview export is delivered as .zip packages. Mailbox content is inside as PST files, or as individual .msg files if you chose that format. With location grouping selected, each mailbox becomes its own PST named after the mailbox, and a primary mailbox is merged with its archive mailboxes. Without it, all mailboxes are merged into one PST until the size limit forces another file. The option to include folder and path keeps the original hierarchy, such as Inbox > Legal > Q2, inside the PST.
SharePoint and OneDrive content is exported as copies of the original documents, in a folder per site when location grouping is on. If you do not give items a friendly name, files are named with system-generated identifiers and you use the Items report to match them back to their titles. Data from other apps stored in mailboxes, such as Microsoft Forms, may be converted to HTML and exported in separate Items.zip files.
Each export has a report package: Summary, Settings, Locations and Items CSV files. Items has one row per exported item with its source, compound path, subject or title, date and status, and is the record of original timestamps.
| In the export | What it contains |
|---|---|
| PST files | Mailbox items in Outlook data file format, one per mailbox or merged, up to the maximum PST size you set. |
| .msg files | Individual messages, named by subject when friendly names are on or by GUID when off. |
| Site folders | Copies of SharePoint and OneDrive documents, with the original folder path if you chose to keep it. |
| Items.zip | HTML conversions of app data stored in mailboxes, for example from Microsoft Forms or Sway. |
| Items CSV report | Inventory of every item processed, with source, path, title, date and error details. |
| Locations CSV report | Every mailbox and site in scope with item count, size in bytes and status. |
| Summary and Settings CSV reports | The query, submitter, timings and totals, and the configuration used for the export. |
Before you rely on it
Limits and gotchas.
- Search export packages expire 14 days after the export is created. The packages are then deleted and cannot be recovered.
- An export that runs for more than seven days without completing is canceled automatically. Microsoft suggests splitting by date range or data source.
- Files restricted by a DLP action, content in SharePoint sites locked with NoAccess, and files restricted by SharePoint access controls can appear in search statistics but are left out of the export.
- Preserving folder paths can exceed the Windows path limit of 259 characters when unzipping. The Condense paths option shortens them.
- Download links are for individual use. With pre-authorized links turned on, anyone who has the link can download the package until it expires.
- An Outlook .pst export leaves out folder properties such as views and permissions, message rules and blocked senders lists.
Handle with care
Personal data inside a Microsoft 365 export.
- Email messages with sender and recipient addresses, subjects, bodies and attachments
- Calendar items and contacts held in mailboxes
- Documents from SharePoint and OneDrive, including any earlier versions you chose to export
- Teams and Viva Engage conversations stored in mailboxes
- Mailbox addresses, site URLs and item titles in the Items and Locations reports
- Mailboxes and OneDrive sites of departed users and guest users, if those options are included
An export is a copy outside the access controls of Microsoft 365. Store it encrypted, limit who can open it and delete working copies when you are done. The personal data scrubber removes common identifiers in your browser before a file is shared.
What the export can be worth
Outrich Data is a direct buyer of de-identified company data for AI training, from companies with 50 or more employees. We never connect to your Microsoft 365 account: your team runs the export above and removes what is out of scope. Not every export qualifies, and a rights review comes before any offer.
Questions
Exporting from Microsoft 365: common questions.
Can I export all mailboxes in Microsoft 365 at once?
What format does a Microsoft 365 export use?
How big can each export file be?
Can a regular user export their own mailbox?
Sources
- Microsoft: Export search results in eDiscovery2026-11-17
- Microsoft: Assign permissions in eDiscovery2026-11-17
- Microsoft: Process reports in eDiscovery2026-11-17
- Microsoft: Use Process reports in eDiscovery2026-11-17
- Microsoft: Export emails, contacts, and calendar items to Outlook using a .pst file2026-11-17
Steps were checked against Microsoft 365 documentation on 2026-11-17. Vendors change menus, plans and limits, so confirm against the linked pages. Microsoft 365 is a trademark of its owner. Outrich Data is not affiliated with Microsoft 365.
Find out if your data qualifies.
Eleven questions, about five minutes, no call required. You get an answer on screen and a written follow-up.