File Conversion
How to Copy all Emails from One Shared Mailbox to Another Shared Mailbox?
October 9, 2025| 4 min read
Summary: In this article, you will learn the reasons that may lead to New-MailboxExportRequest cmdlet failure in Exchange Server. You’ll also learn how to use the New-MailboxExportRequest PowerShell cmdlet to avoid failure. You will also get to know about an Exchange EDB to PST converter that can quickly export single or multiple mailboxes to PSTs, live Exchange Server, and Office 365 in a few clicks, when the New-MailboxExportRequest cmdlet fails.
Free Download 100% SecureWith Exchange Server 2010 SP1, Microsoft introduced the Exchange Management Shell tool with several PowerShell cmdlets to efficiently manage the Exchange Servers. New-MailboxExportRequest is one of the most commonly used PowerShell cmdlets, which allows administrators to export single or multiple mailboxes to PST format for backup or migration purposes.
The cmdlet can be used with multiple parameters and switches to filter the mail items from the exported PST file. For instance, you can use the -ContentFilter parameter with additional switches to include/exclude folders or based on a specified date range.
New-MailboxExportRequest -ContentFilter {(Received -lt '08/17/2019') -and (Received -gt '11/30/2019')} -Mailbox "Administrator" -FilePath \\ex01\PSTFiles\Administrator.pstA downside of this cmdlet is that the reporting is a bit short. When the export fails, you will have to use the Get-MailboxExportRequest cmdlet to check if the export is in progress, completed, or failed.
The completed exports are not automatically purged from the report. Therefore, if you're exporting a good number of mailboxes, you need to scroll down and look for the one that failed.
This usually happens due to the following reasons:
After checking the failed mailbox export requests using the Get-MailboxExportRequest cmdlet, clear up the completed exports by running the following command.
Get-MailboxImportRequest -Status Completed | Remove-MailboxExportRequest
Now the report of what went wrong is clear and you can only see the failed ones.
You might encounter an issue or error message saying,
Can't connect to the mailbox database. Check that it is accessible and then try again.
This happens when the exports are done from a mailbox database that doesn't exist.
To further investigate the issue and find more information, use the Get-MailboxExportRequestStatistics with Get-MailboxExportRequest cmdlet.
Get-MailboxExportRequest -status failed | Get-MailboxExportRequestStatistics -IncludeReport | Format-List > \\ex01\pstfiles\report.txt
This will generate a detailed report and save it at the shared folder path (specified UNC path location). Once the report is generated, open it in any text editor app. Go through the report to investigate and identify the root cause. The report file may also contain several logs. You can carefully look into it to find out the cause.
If you drill down the log file, you may find or stumble upon several errors that may have led to the failure of the New-MailboxExportRequest cmdlet. In this case, the problem is with the content filtering of the date.
From the Failure Type, you can quickly identify the problem in this case. It says, ‘InvalidContentFilterPermanentException.’ If you further dig down, you can find more information on the -ContentFilter parameter used.
Although everything looks good at first, the date format is incorrect when you check it thoroughly. The time and date don't correspond to the time and location of the server. Thus, you need to correct the date and re-execute the New-MailboxExportRequest cmdlet to export the mailbox(es) again.
After fixing the date, you’re able to export the mailbox content successfully to a PST file at a shared folder location without encountering the error.
Here are some more solutions to investigate and fix the problem.
Get-ManagementRoleAssignment –Role “Mailbox Import Export” | fl userNew-ManagementRoleAssignment
New-ManagementRoleAssignment –Role “Mailbox Import Export” –User “Your User Name”
Check the screenshot below for more clarity and syntax.
Get-MailboxDatabase
Then run the following command with the database name to check the database status, i.e., whether the database is mounted and online or dismounted and offline.
If the database is not online, mount it and then use the New-MailboxExportRequest cmdlet to export the mailboxes to PST format.
Read our latest guide on how to use the New-MailboxExportRequest PowerShell cmdlet to avoid common mistakes that may lead to the New-MailboxExportRequest command failure.
Is your Exchange mailbox export request showing a Failed status? Watch the video below for a practical walkthrough of common mailbox export errors and the troubleshooting steps you can follow to identify and resolve them.
Mailbox export issues can be tricky to solve. However, you can save time and quickly export all your mailboxes by using a reliable third-party tool, such as Stellar Converter for EDB. The software can open both online or offline Exchange mailbox databases, extract mailboxes, and save them to PST format with a few clicks. You can also save individual or multiple mail items from mailboxes to other common formats, such as HTML, EML, and MSG. You don’t need any additional permissions. You can also connect to an online EDB database without dismounting the database from Exchange. The best part is that the software supports all versions of Exchange Server - from Exchange 5.5 to 2019, allowing you to export mailboxes from both old and new Exchange servers. If required, you can also use the application to directly export the mailboxes from the offline database to a new live Exchange Server database or Office 365 tenant.