Exporting Office 365 Mailboxes Using eDiscovery

This short blog will show you how to export Office 365 mailboxes to PST files using an built-in Office 365 feature called eDiscovery.

What is eDiscovery and why would you need to use it?

Electronic discovery is the process of identifying and delivering electronic information. In terms of Office 365, you can work with data stored in Exchange Online, SharePoint Online, OneDrive for Business, Skype for Business, Office 365 Groups & Microsoft Teams.

This information could be used as evidence in legal cases.


How to use eDiscovery.


Steps to export Office 365 mailboxes to PST using eDiscovery

  1. In the Office 365 Admin Center after logging in to your Office 365 portal access the Security & Compliance Center as shown in the below image.Accessing Office 365 Admin Center
  2. In your Office 365 Admin center, expand Admin centers and click Security & Compliance

Access Office 365 Security & Compliance Center

3. In your Security & Compliance center, go to Permissions and edit eDiscovery Manager role group. This and the next step are necessary because you need to be a member of the eDicscovery manager role group to be able to use eDiscovery features.

How to export Office 365 mailboxes to pst


4. In the eDiscovery Manager role group properties window, add your account to the eDiscovery  Administrator list using the edit button and following a simple creator.


Choosing the eDiscovery Administrator5. Now go to search & investigation > Content Search


How to export Office 365 mailboxes to pst - Content Search6. In the new window, click New Search

How to export Office 365 mailboxes to pst - New Search

7. This window has experienced a few layout updates since the introduction of eDiscovery searches. However, the way it functions is similar. The search windows let you specify which mailbox data you wish to export. Mind that ticking all locations will cause the tool to search through your SharePoint Online and public folders database, which might take a little longer. If you want to export data from all mailboxes, select specific locations and modify.

How to export Office 365 mailboxes to pst New Search - choose what to export8. In this window, choose Exchange email or select specific mailboxes using the Choose users, groups option. Additionally you can enable exporting from SharePoint (again the whole database, or specific sites) and Public folders by checking the Exchange public folders option (in the public folders section at the bottom of the window)

How to export Office 365 mailboxes to pst Select location

9. Apart from the location filter, the search option gives you several filtering options:

Keywords/phrases (separated by logical operators: AND, OR, NEAR, NOT, etc.)

Time ranges

From/To/CC/BCC fields

Message types (which can be defined in the window that opens when you click the select message types… button)

And many more. You can check those options by clicking the Add conditions button in the search window.


eDiscovery Export conditions10. If you want to export all mailbox data, just do not add any conditions or keywords. Click save and run and you will be prompted to enter a name of the search and its description:

Mailbox PST Backup via Office 365 eDiscovery - Name the new Search

11. After clicking save, the wizard will perform the search in the background. Now go back to the content search window, hit refresh and choose your search.

How to export Office 365 mailboxes to pst Select Search

12. In the window that pops up, you can see if the search has been completed and the details concerning its result. Click More and Export results.

How to export Office 365 mailboxes to pst export results

13. In this window, you can choose if you want to include encrypted files. You can also decide how to export the exchange content. I find the default options to be the most reasonable for a backup – each mailbox has a separate PST file, which makes recovery a bit easier if necessary. Do not check the Enable deduplication option, unless you want the search results to be exported to a single PST file.


When you are finished, click export at the bottom of the window.

How to export Office 365 mailboxes to pst export results 2

14. The wizard starts to export data. Go to the export tab and choose your search again to see its progress.


How to export Office 365 mailboxes to pst export results 315. You can either wait for the task to finish or click download results right away. If you start to download the results before the export is completed, the download and export tools should finish at the same time. Another important part of this window is the special export key. Remember to copy it, as it will be required in the click once application that will start in the next step.


Export Office 365 mailboxes to PST download results16. A Click Once application called eDiscovery PST export tool will start. Paste the export key copied in the previous step. Next, point the export tool to a folder where you want to save the PST files.

Paste the export key and point to the download location

After you click start, the tool will begin the export. When it completes, close the application.

About the author