Support
 
PhoneGet Quote
 
Support
 
US Sales: +1 888 720 9500
US Support: +1 844 245 1108
Intl: +1 925 924 9500
Aus: +1 800 631 268
UK: 0800 028 6590
CN: +86 400 660 8680

Direct Inward Dialing: +1 408 916 9890

 
 

How to recover a deleted public folder mailbox in Exchange Online

Public folder mailboxes can be deleted through the Exchange Admin Center (EAC) or by using the Remove-Mailbox -PublicFolder cmdlet. To delete a primary mailbox, all other mailboxes must be deleted first. Once deleted, the mailbox will no longer be visible in the EAC. Deleted public folder mailboxes are recoverable for up to 90 days.

Administrators may need to recover public folder mailboxes in Microsoft 365 that have been soft-deleted. Soft-deleted means the mailbox retention period hasn't expired, and the recycle bin hasn't been emptied.

How to restore a primary mailbox

  1. Use the following command to locate the soft-deleted mailbox:
  2. Get-Mailbox -PublicFolder -SoftDeletedMailbox

    Click to copy entire script

  3. Use the following command to restore the selected mailbox:
  4. Undo-SoftDeletedMailbox -PublicFolder

    Click to copy entire script

How to restore primary and secondary mailboxes

The Type field in the information returned by the Get-Mailbox cmdlet identifies public folder mailboxes as either Primary or Secondary. Primary public folder mailboxes must be restored first.

  1. Use the following command to locate the soft-deleted mailboxes:
  2. Get-Mailbox -PublicFolder -SoftDeletedMailbox

    Click to copy entire script

  3. Use the following command to restore the primary mailbox:
  4. Undo-SoftDeletedMailbox -PublicFolder

    Click to copy entire script

  5. Use the following command to restore each secondary public folder mailbox (execute once per mailbox):
  6. Undo-SoftDeletedMailbox -PublicFolder

    Click to copy entire script

How to restore a secondary mailbox

  1. Use the following command to locate the soft-deleted mailbox:
  2. Get-Mailbox -PublicFolder -SoftDeletedMailbox

    Click to copy entire script

    Note: You can distinguish primary public folder mailboxes from secondary ones by checking the Type field.

  3. Execute the following command for each secondary public folder mailbox you wish to restore (run once per mailbox):
  4. Undo-SoftDeletedMailbox -PublicFolder

    Click to copy entire script

About M365 Manager Plus

ManageEngine M365 Manager Plus is a Microsoft 365 reporting, auditing, management and monitoring tool. With M365 Manager Plus, you can:

  • Keep an eye on your Microsoft services with intuitive reports that can be easily scheduled, mailed, and exported in various formats.
  • Audit all the user and admin activities in your organization with detailed audit reports.
  • Manage users, groups, contacts, licenses, mailboxes, and more with bulk management tasks that can be automated.
  • Assign delegated tasks to technicians without elevating their native privileges.
  • Constantly monitor the health and performance of your organization.
  • Reduce your administrator's workload by delegating custom roles to help desk technicians.

Effortlessly perform public folder management in bulk.

Try now for free

  • Streamline your Microsoft 365 governance and administration with M365 Manager Plus

Related Resources

A holistic Microsoft 365 administration and security solution
 
x