You can't complete a mailbox restore in Office 365 Dedicated/ITAR


When you run the New-MailboxRestoreRequest cmdlet in Microsoft Office 365 dedicated/ITAR, you experience one of the following issues:
  • Issue 1: You can't locate a disconnected mailbox.
  • Issue 2: You can't complete the mailbox restore operation.


Cause of issue 1:

This issue occurs when one of the following conditions is true:
  • The mailbox is still connected to the user object.
  • Microsoft Exchange Server hasn't completely registered the change to the mailbox.
  • The mailbox has been disconnected for longer than the organization's mailbox-retention period.

Cause of issue 2

This issue occurs if the LegacyExchangeDN attribute on the disconnected mailbox doesn't match the LegacyExchangeDN attribute on the new mailbox.


Note This feature is not available in ANSI-D Exchange 2013. Contact Microsoft for more information.

A mailbox restore operation restores content from a disconnected mailbox to an active mailbox. You can't restore content from a mailbox that is still connected to a user object.  

The New-MailboxRestoreReqeust cmdlet requires the mailbox database and MailboxGUID information for the disconnected mailbox. You must locate the disconnected mailbox before you start the restore process. You should perform a search across all mailbox databases to locate the particular mailbox. To locate a disconnected mailbox in Windows PowerShell, run the following cmdlets:

$databases = Get-MailboxDatabase $discolist = @() Foreach ($database in $databases) {$discolist += get-mailboxstatistics -database $ | ? {$_.disconnectdate -ne $null} | select DisplayName,MailboxGuid,LegacyDN,TotalDeletedItemSize,TotalItemSize,DatabaseName,disconnectreason} $discolist > discolist.txt 
Known issues
  • Becaues the mailbox may take some time to be deprovisioned, it may not be immediately listed as disconnected. However, if you add the DeleteNow value to the mailbox extension attribute, the mailbox will be moved out of the Pending Deletions OU. If you use the DeleteNow value, two MMSSPP sync cycles should pass before the mailbox is removed from the user. It may take as long as two hours after the mailbox is deprovisioned for it to be listed as disconnected.
  • By default, disconnected mailboxes are retained for only 30 days. If the mailbox has been disconnected for longer than 30 days, it won't be available for restoration.
  • If the disconnected mailbox has a legacyExchangeDN attribute that isn't associated with the active mailbox, the mailbox restore request fails. You must copy the LegacExchangeDN attribute from the disconnected object and add it as an x500 proxy address on the target mailbox. The AllowLegacyDNMismatch attribute isn't available for Office 365 dedicated/ITAR customers as part of self-service. Adding the LegacyExchangeDN attribute as an x500 proxy address will also allow mail to be correctly routed to the new mailbox when you are using Microsoft Office Outlook.
  • During the restore process, some restores may fail. To find these errors, run the following cmdlet:

    Get-MailboxRestoreRequest -batchname < CustomerBatchname > | Get-MailboxRestoreRequestStatistics | fl 
    If the mailbox restore returns a "FailureType: MapiExceptionInvalidParameter" error, rerun the cmdlet together with the AssociatedMessagesCopyOption MapByMessageClass attribute. For example, run the following cmdlet:

    New-MailboxRestoreRequest -SourceDatabase < SourceDatabaseName > -SourceStoreMailbox < SourceStoreMailboxName > -TargetMailbox < TargetMailboxName > -AssociatedMessagesCopyOption MapByMessageClass 
    You can also retrieve additional information by using the -IncludeReport switch. For example:
    Get-MailboxRestoreRequest -batchname < CustomerBatchname > | Get-MailboxRestoreRequestStatistics -IncludeReport | fl 
Note The New-MailboxRestoreRequest cmdlet is available only as part of the Exchange Server 2010 self-service roles for Office 365 dedicated/ITAR customer.

More Information

For more information about how to create restore requests, see New-MailboxRestoreRequest.

To obtain information about an existing request, see Get-MailboxRestoreRequest and Get-MailboxRestoreRequestStatistics.

Article ID: 2958923 - Last Review: 24 Aug 2016 - Revision: 1