Read time 9 minutes

Summary: To recover deleted Exchange mailboxes, use Exchange Admin Center (EAC) and Exchange Management Shell (EMS). However, these methods only work when the mailbox remains within the retention period. To recover permanently deleted or corrupt mailboxes, users often require a professional Exchange recovery solution.

Microsoft has designed the Exchange Server as a robust application that creates a sizeable database with multiple GBs, each consisting of multiple mailboxes. Users are granted the authority to delete older or unwanted mailboxes to create space for new data. However, this authorization also increases the chance of unintentional or sudden mailbox deletions. To overcome such threats, Microsoft offers several tools that help administrators monitor unusual activity within Exchange. These tools include:

  • Microsoft Exchange antispam and antimalware.
  • Microsoft Exchange Online Protection.
  • Exchange Analyzer.
  • Microsoft Security Compliance Toolkit.
  • Microsoft Security Configuration Wizard.
  • Microsoft Defender Antivirus.
  • Microsoft Safety Scanner.

While these features reduce the risk of accidental data deletion from Exchange Server, there remains a possibility of users deleting mailboxes accidentally.

Exchange mailbox deletion may occur due to accidental removal, database corruption, disabled accounts, or retention expiry. Administrators often seek quick recovery methods that protect mailbox structure, attachments, contacts, and user access without data loss.

In Exchange Server 2016, you can Exchange recover deleted mailbox either manually or using an advanced Exchange Data Recovery tool. The process involves creating a user account and connecting it to the disconnected mailbox. However, this is possible only if the mailbox’s retention period has not expired.

Exchange 2016 Mailbox Retention Period Explained

In Exchange Server 2016, when you delete a mailbox, it does not get deleted permanently; instead, it is retained for a default period between 14-30 days. Within this retention period, users can Exchange restore deleted mailbox. However, after these 30 days, the mailbox will be removed permanently from the database.

Configure mailbox retention period

To configure the mailbox retention period manually, you can use the Exchange Admin Center (EAC).

  1. In EAC, select servers on the left pane.
  2. Under the databases tab, select the required database and then click the edit icon.
  3. In the Limits option, modify the number of days in the Keep deleted mailboxes for (days) field (by default, the number is 30). You can adjust the default 30-day period to the number you would like to keep them for and then click Save. You can also mark the checkbox “Don’t permanently delete items until the database is backed up” to save your items from permanent deletion until you take back up of the database.Set time limit to Keep deleted mailboxes

How to Restore a Deleted Exchange 2016 Mailbox?

To restore a deleted mailbox, connect it to a user account. The process is similar for shared, linked, and resource mailboxes. This can be done using the Exchange Admin Center (EAC) or Exchange Management Shell (EMS). Alternatively, you can use third-party tools to Exchange recover deleted mailbox, email, and other mail items.

1st Solution: Connect a deleted mailbox to a user account using EAC

You can connect deleted mailboxes to user accounts using the Exchange Admin Center. The process is the same for all: linked, resource, and shared mailboxes.

Note: If the disconnected mailbox does not appear in EAC, run mailbox cleanup from Exchange Management Shell and refresh the database status before reconnecting attempts.
  1. Open EAC and go to Recipients>Mailboxes.
  2. Click More(the three dots …) and then select Connect a Mailbox option.
  3. Choose a deleted mailbox from the list of disconnected mailboxes. Click Connect; click Yes.
  4. Now, you will receive a list of user accounts (not mail-enabled). Click the user account to which you want to connect the selected deleted mailbox.Choose a deleted mailbox from the list
  5. Retrieve the user from Active Directory (AD) Recycle bin to connect to a deleted user account again.
  6. If you can’t find the user or is deleted from the recycle bin, create a new AD user.
  7. Connect the disconnected user mailbox to this new user.
  8. Click the refresh icon to check the Status.

Note: When you delete an Exchange mailbox, mailbox and its related user in AD also get deleted and sent to the AD Recycle bin (if it’s enabled). If there’s no deleted AD user account, create a new one from the Exchange Admin Center and link the user to the disconnected mailbox. You can also do this through Exchange Management Shell usingConnect-Mailboxcmdlet.

Now, your Exchange will connect the deleted mailbox to the selected user account, so the deleted mailbox is available to the user again.

2nd Solution: Connect a deleted mailbox to a user account using Exchange Management Shell (EMS)

Exchange Management Shell provides advanced recovery control for administrators who want to reconnect, restore, or merge deleted Exchange mailboxes directly through PowerShell commands.

How to restore Exchange mailbox to a New User in Active Directory?

When you use Exchange Management Shell to connect a deleted mailbox to a user account, you need to specify the type of mailbox (shared, linked, room, or equipment mailbox).

Fetch all the available mailboxes from the Exchange Server using the following command:

Get-MailboxDatabase | Get-MailboxStatistics

The general syntax to Exchange restore deleted mailbox is:

Connect-Mailbox -Identity “mailbox name” -Database <database name=””> -User “AD user account name” -Alias <email=””></email></database>

You can use this method for deleted, shared, and linked mailboxes,but ensure that the AD user account you seek to link to the mailbox is disabled.

Run the command given below in the EMS to verify if you’ve restored the mailbox.

Get-User <identity>

How to restore a deleted mailbox in Exchange to an existing mailbox?

Run the New-MailboxRestoreRequest cmdlet in EMS to restore a deleted mailbox in Exchange. When you restore mailbox, the contents are copied to the existing mailbox, also known as target mailbox.

Once you restore mailbox, it will still be retained in the MB database until you delete it permanently. It will be permanently deleted after the retention period (30 days) expires, or you can remove it before that using the cmdlet Remove-StoreMailbox.

  1. Run Get-MailboxStatistics to get GUID values, including DisplayName, MailboxGuid, and LegacyDN of the deleted mailbox you want to restore

    $dbs = Get-MailboxDatabase
    $dbs | foreach {Get-MailboxStatistics -Database $_.DistinguishedName} | where {$_.DisconnectReason -eq “Disabled”} | Format-Table DisplayName,MailboxGuid,Database,DisconnectDate

  2. Run the below cmdlet to select the target mailbox.

    New-MailboxRestoreRequest -SourceStoreMailbox e4890ee7-79a2-4f94-9569-91e61eac372b -SourceDatabase MBXDB01 -TargetMailbox “Debra Garcia” -AllowLegacyDNMismatch

    MBXDB01 is the source mailbox, and Debra Garcia is the name of the target mailbox here in the given example.

  3. Now run the Get-MailboxRestoreRequest cmdlet to check the Status.
  4. Don’t forget to verify the restore Exchange mailbox and check the contents of the target mailbox.

While PowerShell helps to restore EDB, many users also use a professional EDB to PST Converter to export mailbox contents to their local system and then import the EDB to a new or old location.

3rd Solution: Reconnect a deleted mailbox

Before starting, remember that not more than one user can connect to an Exchange mailbox (as GUIDs must be unique). To reconnect a deleted mailbox, we restored in previous steps:

  1. Start Exchange Server Manager and go to the mailbox store having disconnected mailboxes.
  2. Under the mailbox store, click Mailboxes.
  3. Then, click Clean up Agent from the right-click menu.
  4. Select the disconnected mailboxes for recovery and click Reconnect.
  5. Finally, select the related user account and then click OK.

Limitations of Manual Exchange Mailbox Recovery

Manual recovery methods work well for recently deleted mailboxes, but they also include several restrictions, such as:

  • Recovery depends on mailbox retention period.
  • PowerShell commands require technical knowledge.
  • Permanent deletion blocks manual restoration.
  • Corrupt EDB files may stop mailbox recovery.
  • Large databases slow recovery tasks.
  • Incorrect commands may affect mailbox mapping.
  • Missing AD accounts create reconnect issues.

Professional Solution to Recover Deleted Mailbox from Exchange Server

Manual methods work well for recently deleted mailboxes, but they often fail after retention expiry, database corruption, or accidental permanent deletion. In such cases, a professional Exchange database recovery tool offers a safer and faster recovery option.

Kernel for Exchange Server helps administrators recover deleted mailboxes from corrupt or offline EDB files without complex PowerShell commands. The tool supports mailbox recovery from Exchange Server 2019, 2016, 2013, etc.

The software allows users to restore mailbox data, preview emails before recovery, and export EDB to PST, Office 365, or live Exchange Server. It also preserves mailbox structure, attachments, contacts, calendars, and other important data during recovery.

Conclusion

Exchange Server 2016 allows mailbox recovery through EAC and EMS if the retention period remains active. Administrators can reconnect disconnected mailboxes, restore deleted mailbox data, and link mailboxes to new users. However, to repair corrupt Exchange database or recover permanently deleted or corrupt mailboxes, users need to rely on the professional Exchange recovery tool.

Frequently Asked Questions

Q. What is the Exchange Server retention period for deleted mailboxes?

Ans. Sometimes users accidentally delete a mailbox. To help users in such situations, Microsoft Exchange Server comes with a data retention period. It means data will remain on the Server for a period of around 14 – 30 days after being deleted. User can restore their complete data in this time.

Q. Can we recover data after the retention period is over?

Ans. After the retention period is over, the data is permanently gone. To prevent such a scenario, administrators created a backup of the EDB file by exporting it. Then, when needed, they migrate EDB to Live Exchange or Office 365 as per the requirement. 

Q. What is a disconnected mailbox?

Ans. A disconnected mailbox is a mailbox in the Exchange database that is not linked to an Active Directory user account. This usually occurs when a mailbox is deleted.

Q. Can I recover a permanently deleted Exchange mailbox?

Ans. Yes, recovery is possible if you have an Exchange backup or a professional EDB recovery tool. Manual recovery methods usually fail after retention expiry.

Q. Why does a disconnected mailbox not appear in EAC?

Ans. Disconnected mailboxes may not appear due to database refresh delays, mailbox cleanup issues, or inactive mailbox database status. Running mailbox cleanup commands in EMS usually resolves the issue.

Q. Can PowerShell restore deleted Exchange mailboxes?

Ans. Yes, Exchange Management Shell allows administrators to reconnect disabled mailboxes and restore mailbox data with commands like Connect-Mailbox and New-MailboxRestoreRequest.

Kernel for Exchange Server
Related Posts