Overview Of Mailbox Import Export Role in All Exchange Server Versions

As an Exchange administrator, you may require to export mailboxes to PST from the Microsoft Exchange server to create point-in-time snapshots of the mailboxes, compliance, and transfer or migrate mail items from one mailbox to another. Although you can also export the mailbox items from Outlook account to PST format, the Exchange server provides several advantages over Outlook import/export.

However, to import or export mailboxes in Microsoft Exchange, you must have the Mailbox Import Export role assigned to you. Below we have discussed the Mailbox Import Export role and the steps to assign it using the EAC and EMS.

IMPORTANT NOTE: A user with mailbox Import Export role assigned can only export mailboxes or import .pst into the mailboxes when the database is online. If a database gets dismounted due to inconsistencies or damage caused by abrupt shutdown, server crash or malicious attack, you cannot import or export mailboxes to or from the mailbox database. Besides, creating multiple PST export requests can adversely affect server performance. In such cases, you need an EDB to PST converter software, such as Stellar Converter for EDB. Unlike manual export, the software displays the PST conversion process and progress in real time. It also maintains an activity log for admins to monitor the process. Plus, the software can export multiple mailboxes simultaneously to PST by utilizing minimum system resources in least possible time. You can install the software on another system and export or import mailboxes without affecting the server performance.

Mailbox Import Export Role - An Overview

The Mailbox Import Export role was introduced with Microsoft Exchange 2010 SP1. It is currently available in Exchange 2010 SP1 and later versions. The Mailbox Import Export role is also required in the Office 365 environment to export mailboxes and import PST.  

The role can be assigned to a single user, multiple users, or a role group. Once assigned, users can export the mailboxes or import PST using the New-MailboxExportRequest or New-MailboxImportRequest Exchange Management Shell cmdlets or the Exchange Admin Center.

Exchange Management Shell provides more control over the mailbox import and export. You can use the EMS cmdlets to import or export single or multiple PSTs or mailboxes from the Exchange server database. Refer to our previous guides to import and export Exchange mailboxes to PST.

Advantages of Importing or Exporting Mailboxes from Exchange Server

Exchange server uses the MRS or Microsoft Replication Service to import the PST files and export the mailboxes to PST files from an online Exchange database (EDB). The MRS offers several advantages over Outlook when you need to import or export the mailboxes, such as:

  • The import or export requests created in Exchange are asynchronous and thus, you can import or export multiple PST files or mailboxes simultaneously.  
  • MRS provides queuing and throttling services for efficient import and export of PST files and mailboxes.
  • PST files can be imported directly into the archive mailbox of any user.
  • You can export the mailbox to PST or import PST into mailbox residing on any network share location accessible by the Exchange server.

Steps to Assign Mailbox Import Export Role in Exchange

By default, the role is not assigned to any role group or user, including the administrator. Thus, to import or export mailboxes (.pst) in Exchange, you must add or assign the Mailbox Import Export role to a role group where you or the user(s) is a member.

Assign Mailbox Import Export Role via EAC

Following are the steps to assign the Mailbox Import Export role via Exchange Admin Center (EAC) in Exchange 2010 SP1, 2013, 2016 and 2019:

  • Open and login to the Exchange Admin Center.
  • Click 'permissions' and then select 'Recipient Management.'
Receipient Management
  • Click the edit icon Edit Icon. A Recipient Management window will open. Next, click the '+' icon below Roles. 
Mailbox Import Export Role
  • From the 'Select a Role' window, choose 'Mailbox Import Export' and then click 'add->' and then click 'OK.'
Select Mailbox Import Export Role
  • In the 'Recipient Management' window, click + under 'Members.'
Add Mailbox Import Export Role to Group
  • Select the users to whom you want to assign the Mailbox Import Export role and click 'OK.' 
  • Sign out from EAC and then sign in again to start exporting or importing mailboxes in Microsoft Exchange Server.

Assign Mailbox Import Export Role via EMS

Assigning or adding the Mailbox Import Export role via EMS is much easier. All you need to know is the username or security group name to assign the role.

Following are the steps to assign the Mailbox Import Export role via Exchange Management Shell (EMS) in Exchange 2019, 2016, 2013, and 2010 SP1.

  • Open Exchange Management Shell and execute the following cmdlet to assign the Mailbox Import Export role to a user:

New-ManagementRoleAssignment –Role "Mailbox Import Export" –User

For instance,

New-ManagementRoleAssignment –Role "Mailbox Import Export" –User administrator

  • To assign the Mailbox Import Export role to a security group, execute the following cmdlet:

New-ManagementRoleAssignment -Role "Mailbox Import Export" -SecurityGroup

For instance,

New-ManagementRoleAssignment -Role "Mailbox Import Export" -SecurityGroup MBXImportExportGroup

After assigning the Mailbox Import Export role, you can execute the following EMS command to verify if the role is assigned successfully and check the list of users who have the Mailbox Import Export role assigned.

Get-ManagementRoleAssignment -Role “Mailbox Import Export” | Format-List RoleAssigneeName, Name

How to Remove Mailbox Import Export Role?

If you wish to remove the Mailbox Import Export role from a user or security group, you need to first find the username or security group name. You can use the Get-ManagementRoleAssignment and Remove-ManagementRoleAssignment EMS cmdlets to remove the Mailbox Import Export role.

Get-ManagementRoleAssignment -RoleAssignee administrator -Role “Mailbox Import Export” | Remove-ManagementRoleAssignment

Common issues encountered during mailbox import-export operations

There are a few issues that one might encounter during mailbox import and export, but below are the most common ones.

  • Permissions are not set on the destination.
  • Trying to export to a relative path rather than a UNC path.
  • Not enough disk space on the source or destination.
  • Role has not been applied yet.

Security Concerns when assigning Import Export Role

There might be some security concerns when adding a person to the import export role. When assigning such permission one needs to understand that the risks behind this permission is that a person can inject data into a specific mailbox and export confidential information or conversations. For this reason, it is important to assign it to the right person and of course to remove it once the import or export is complete. It is also important to have the administrator audit enabled, so that any activities on privileged roles can be audited and recorded. One should consider implementing Role Based Access Control (RBAC) for fine-grain permissions management and ensure audit and compliance.

free-download

Conclusion

The Mailbox Import Export role is a critical mailbox management role in all Exchange versions required to export mailboxes from the Exchange database (EDB) and import the PST files. Without this role, not even the administrator can export or import mailboxes in the Exchange server. In this guide, we discussed the Mailbox Import Export role and steps to assign the role via EAC and EMS. After assigning the role to a user or security group, you can start exporting or importing the mailboxes.

However, you can only import or export mailboxes from an online Exchange database (EDB) file. To export mailboxes from an offline database, you can use Stellar Converter for EDB. The software helps you export mailboxes from both online and offline Exchange databases to PST. The software also exports mailboxes from an offline EDB file directly to a live Exchange database or Office 365 with minimal resources. Thus, it does not affect the server performance.

It also provides real-time progress of EDB to PST export and maintains activity logs for advanced monitoring. Moreover, you don't need to assign any permissions or roles for this. All you need is administrator account access to the server. The software automates the entire mailbox import and export process with a few simple clicks.



Was this article helpful?
FAQs
Yes one can export without the role, but would need explicit access to each mailbox and export them one by one, by adding a profile in Outlook for each mailbox. This is not secure, and it will take a considerable amount of time.
If a user or group are given the role, they will be able to export data and import data into the Exchange server. It is important that these roles are approved by the business and are limited only to authorized personnel only and regularly audited to ensure compliance with security policies. Adding to this, one should implement role-based access control (RBAC) for finer-grained permissions management.
It is faster and secure. Exporting from Outlook would mean that the user would need full access to the mailbox apart from setting up the profile. Then one would need to export to PST. While the process is running, Outlook cannot be used. The process of PowerShell is done on the server directly with multiple mailboxes at once.
There are some limitations concerning the performance of the server. When exporting or importing in bulk it is suggested to run them in a maintenance window. There are not much filtering options and of course the mailbox or mailbox database must be online to work.
One would need to first investigate the error and go through the process of permission, checking source, destination, and the mailbox itself for any limits set by the company. These are the most factors to when the process fails.
Using a third-party tool can improve a lot of things to reduce the privileges needed to export or import as well as opening the mailbox database without the need of a running Exchange Server. Such applications as Stellar Convertor for EDB can help as you will be able to open live and standalone Exchange Server databases without the need of a running Exchange Server. It is faster with a great GUI and filtering options. It can also export user archives, shared mailboxes, disabled mailboxes, and public folders, while offering migration options.
About The Author
author image
Ravi Singh linkdin Icon

Senior Writer at Stellar®. He is an expert Tech Explainer.

Table of Contents

WHY STELLAR® IS GLOBAL LEADER

Why Choose Stellar?
  • 0M+

    Customers

  • 0+

    Years of Excellence

  • 0+

    R&D Engineers

  • 0+

    Countries

  • 0+

    PARTNERS

  • 0+

    Awards Received