A Step-by-Step Guide to Export Office 365 Mailbox to PST

A Step-by-Step Guide to Export Office 365 Mailbox to PST

As an organization admin, you may encounter situations such as users leaving their position or migrating to another mail service, etc. In such circumstances, you need to export Office 365 mailbox to PST and store them offline for investigation purposes. You can accomplish this in Office 365 without depending on any external third-party tools. You can export individual mailboxes or entire exchange mailboxes as an eDiscovery admin through the Microsoft Purview compliance portal.

This guide will walk you through the steps to export Office 365 mailboxes to PST format using eDiscovery and PowerShell.

Why Do We Need to Export Exchange Online Mailbox to PST?

PST stands for Personal Storage Table file format used by Microsoft Outlook to store email messages, contacts and calendar entries. When you back up your email mailbox to a PST file, that will be saved on your computer.

Here are some reasons why PST files are commonly used for exporting Office 365 mailbox data:

Compatibility: PST files can be opened and accessed by a variety of email clients, including Outlook and some third-party email clients. This makes it easy to share data with others or to access your data from different devices.

Portability: PST files are small in size and can be easily transferred to a different location, such as a hard drive, USB drive, or cloud storage. This makes it easy to create backups of your mailbox data or to move your data to a different computer.

Offline Access: PST files can be accessed even when you are not connected to the internet, making it easy to access your email messages and other data when you are on the go.

Organization: PST files allow you to organize your email messages, contacts, and other data into folders, making it easy to find and retrieve specific items.

Steps to Export Office 365 Mailbox to PST

As an Office 365 admin you can get the Exchange Online mailboxes and their details by exporting them to PST with eDiscovery admin permission. You need to follow the steps listed below.

  1. Assign eDiscovery administrator
  2. Content search to export Office 365 mailbox
  3. Export Office 365 mailbox to PST
  4. Download exported PST file from Office 365 mailbox

This approach helps export a list of emails in PST format from the mailbox. If you wish to download emails as individual files, you can export emails as EML files.

Assign eDiscovery Administrator

To export Office 365 mailboxes, you must be an eDiscovery Administrator. By default, this role is not assigned to a global administrator. Follow the steps to assign user(s) to eDiscovery admin role.

  1. Login to the Microsoft Purview compliance portal with your global administrator account.
  2. Navigate to ‘Roles & Scopes’ tab and select ‘Permissions’ option.
  3. Select ‘Roles’ under ‘Microsoft Purview Solutions’ category. Assign Permissions eDiscovery Admin
  4. Click on ‘eDiscovery Manager’ role and select Edit option in the popup window. eDiscovery Role Management
  5. Navigate to ‘Manage eDiscovery Administrator’ page by clicking on ‘Next’ button. Manage eDiscovery Manager
  6. Select ‘Choose users and select the user(s) who you want to make as eDiscovery admin. Then click on the ‘Select’ button in the popup and select ‘Next’ button. Manage eDiscovery Administrator
  7. Finally, click ‘Save’ on the ‘Review and finish page. eDiscovery Admin Review and Finish Page

Content Search to Export Office365 Mailbox to PST

In Office 365, before exporting a mailbox, it’s necessary to perform a content search that collects all the mail of the specified user(s) or all the contents of a mailbox. Once you complete the search, you can use the Export option to export the results to a PST file.

Note: An informational alert will trigger, and you will receive mail when an eDiscovery search started or exported.

  1. Login to the Microsoft Purview compliance portal with the user account with which you have assigned an eDiscovery Administrator role.
  2. Go to ‘Content search’ tab in the solutions menu and click on ‘New Search’ option. Content Search to Export Office365 Mailbox to PST
  3. Type the preferred name and description in the ‘Name and description’ page and click on ‘Next’.
  4. Turn ‘Exchange mailboxes’ on and click on ‘Choose users, groups, or Teams’ to select the users from the list. Choose Users, Groups, or Teams for Content Search
  5. Select the required users whose mailbox is to be exported or leave this option to export all user’s mailboxes and click on the ‘Next’ button.
  6. Leave the conditions empty if you want to export the complete mailbox and click on ‘Next’. You can also define your conditions if you want filtered results.
  7. Check the details in ‘Review your search’ page and click on ‘Submit’.
  8. A message ‘New search created. Soon you will be able to review estimates and preview results for your search’ will show in the portal.
  9. Click on ‘Done’ and wait for the status to change to ‘Completed’ in the content search page. Content Search Status

Note: The waiting time may differ with respect to the size of the mailboxes you have performed a content search.

You can also perform Content search using the PowerShell with ‘New-ComplianceSearch cmdlet. First, connect to the compliance center ‘Connect-IPPSSession‘ cmdlet.


Now run the cmdlet below by providing the name for the content search and Exchange location that you want to do content search.

New-ComplianceSearch <SearchName> -ExchangeLocation <UPN>| Start-ComplianceSearch

Export Office 365 Mailbox to PST

Once you have successfully created a mailbox content search, the next step is to export the search results. To do this, simply follow the steps below, which will guide you through the process.

  1. Click on the content search ‘Mailbox Export’ that you have created in the previous steps.
  2. Select ‘Actions’ and choose ‘Export results’. Export Office 365 Mailbox to PST
  3. Select the appropriate ‘Output options’ and the Export Exchange Content as’ options. Then click on ‘Export. If you are not sure about the options, leave it as default. PST Export Results Options
  4. A message box with a message “A job has been created” is displayed. Click on ‘OK’. It will take some time to complete the export.

You can also perform export using the PowerShell with ‘New-ComplianceSearchAction cmdlet.

Run the below cmdlet with the content search name to export the mailbox.

New-ComplianceSearchAction <SearchName> -Export -Format Fxstream

Content Search Using PowerShell You can also get the properties related to the export by using the following cmdlet.

Get-ComplianceSearchAction "<SearchName>_export" -IncludeCredential | FL 

Download Exported PST File From Office 365 Mailbox

With the help of Microsoft Office 365 eDiscovery Export Tool, you can download the exported mailbox results as a PST file.

Note: It’s important to note that this can only be done using the Microsoft Edge browser.

  1. Make sure that the status of the export is completed by clicking on the export job name in the Export’ tab. Mailbox Export Status Check
  2. Copy the ‘Export key’ by clicking on the ‘Copy to clipboard’ option and click on theDownload resultsoption. Download Exported Results
  3. If this is the first time you are downloading a .pst file, you are prompted to install Microsoft Office 365 eDiscovery Export Tool. If you have already installed, skip this step and go to the next step.
  4. Click ‘Open’ button in the upcoming popup and paste the export key. Permission to Open the Exported PST File
  5. Select the required location to store the download file by clicking on the ‘Browsebutton and click ‘Start. eDiscovery Export Tool
  6. You can be able to see the “Processing has completed message after the download. Go to the specified location in your PC to view the downloaded PST file(s). Download Exported PST file from Office 365 Mailbox

Office 365 Export PST File Size Limit

When exporting PST files, the default file size limit is 10 GB. However, you have the ability to change this limit depending on your specific needs by increasing or decreasing the file size. Additionally, if the exported mailbox exceeds the PST size limit, the tool will automatically split the PST file into sequentially numbered files to accommodate the larger size.

The main reason to do this is so PST files can fit on removable media, such a DVD, a compact disc, or a USB drive. You can adhere to the following steps to change the PST export file size limit.

  • Before proceeding, make sure to check whether the eDiscovery Export tool is open, and if so, be sure to close it before continuing.
  • Type the following text in a notepad and save the following text to a filename suffix of .reg. For example, Pst.reg.
Windows Registry Editor Version 5.00 

In the example above, the PstSizeLimitInBytes value is set to 1,073,741,824 bytes or approximately 1 GB. However, if you need to change this limit, you can easily do so by replacing the existing value with your desired limit in bytes.

  • Once you have created the .reg file by following the previous steps, it’s time to open it and proceed with the next steps.
  • In the User Access Control window, choose ‘Yes’ to grant permission to the Registry Editor to make the change.
  • When asked to confirm, select ‘Yes.

Registry entryThe Registry editor will then display a confirmation message indicating that the keys and values was successfully added to the registry”.

Limitations in Exporting PST File in Office 365

When exporting an Office 365 mailbox to a PST file, it is important to be aware of the limitations involved. Here is a list of the limitations you may encounter during the export process.

  • Browser Restrictions: You need to use Microsoft Edge browser. It’s not possible to export mailboxes to PST using other browsers without any extensions.
  • File Corruption Issues: Increasing the default size of PST files larger than 10 GB might have corruption issues.
  • Mailbox count limitation: You cannot download more than 100,000 mailboxes for search results using the eDiscovery Export Tool.
  • Export Data Size Constraint: An organization can export 2TB data per day through content search.
  • Output Display Restriction: Only 1,000 exports or reports will be displayed in Content search.

Improve Microsoft 365 Mailbox Management with AdminDroid

In summary, exporting Microsoft 365 mailboxes to PST is an effective method to create backups for offline access. Despite the efficiency of this approach, it remains essential to monitor Exchange Online activities to ensure secure, compliant usage, and proper storage of data. In an effort to simplify your administration and to eliminate the complexities with native Microsoft 365 tools, AdminDroid comes to the rescue!

AdminDroid Exchange Online auditing provides extensive audit reports that offer valuable insights for Microsoft 365 mailboxes. These reports cover Microsoft 365 mailbox activities, mailbox access changes, permission changes and mailbox configuration changes overcoming the inherent challenges of using native mailbox auditing tools. Here are some examples of the audit reports available for Exchange Online activities:

  • Microsoft 365 Mailbox Owner Access
  • EXO Mailboxes Accessed by Guest Users
  • Bulk Operations on Exchange Online Mails
  • Exchange Mailbox Enable/Disable Activities
  • Microsoft 365 Mailbox Restore Activities
  • Exchange Mailbox Permission Changes
  • All Activities on Public Folders in Outlook
  • Anti-Spam Config Changes in Microsoft 365
  • Role Assignments Changes in Exchange

Mailbox Permission Changes Report - AdminDroid

Elevating it further, AdminDroid’s Exchange Online reporting tool encompasses details about mailbox information, mailbox usage, mailbox permissions, mailbox security, mailbox settings, and more. It provides in-depth details with graphical representation and advanced filters for enhanced analysis. With AdminDroid, you can easily generate the following insightful reports on Exchange Online, covering a wide range of details with just a few clicks.

  • Exchange Online Mailbox Information
  • Mailbox Usage Reports
  • Mailbox Forwarding Reports
  • Mailbox Permission Reports
  • Exchange Online Group Reports
  • Archived, Inactive, On Hold Mailbox reports
  • Exchange Online Audit Settings
  • Mailbox Protocol Reports

Why should you choose AdminDroid?

AdminDroid’s Exchange Online management tool uncovers 170+ reports, empowering you to track, schedule, and receive alerts on any suspicious Exchange Online activity with vibrant graphs and eye-catching charts. Furthermore, AdminDroid provides 1800+ inclusive reports and 30+ dashboards for Microsoft 365 reporting, auditing, M365 analytics, usage statistics, security & compliance, etc.

You can explore all the features and functionalities of AdminDroid with the free 15-day premium edition. So, don’t wait, download AdminDroid and unlock powerful insights into your Microsoft 365 environment.

Thus, exporting Office 365 mailbox to PST is a simple process that can be done in a few clicks. You can have a clear understanding of how to complete this task efficiently by following the above steps. Feel free to leave a comment below if you encounter any difficulties or need any assistance.

A Step-by-Step Guide to Export Office 365 Mailbox to PST

by Thiraviam time to read: 8 min