Direct Inward Dialing: +1 408 916 9890
Public folders deleted by users (via clients like Outlook) or by admins (using tools like PowerShell or the Exchange admin center) are typically stored in the public folder dumpster located in \NON_IPM_SUBTREE|DUMPSTER_ROOT. These deleted folders are stored there until the retention period expires.
In case public folder contents are placed on hold using retention policies, folders removed from \NON_IPM_SUBTREE\DUMPSTER_ROOT are preserved under \NON_IPM_SUBTREE\DiscoveryHolds until the retention hold period ends.
You can use Exchange Online PowerShell to restore folders preserved in the public folder dumpster or under the DiscoveryHolds folder. Restoring a public folder will also restore all its subfolders and items. In certain rare cases, you may also find folders under \NON_IPM_SUBTREE\LOST_AND_FOUND.
Get-PublicFolder \NON_IPM_SUBTREE\DUMPSTER_ROOT -Recurse -ResultSize Unlimited | where {$_.FolderClass -ne "$null"}
PublicFolder \NON_IPM_SUBTREE\DUMPSTER_ROOT -Recurse -ResultSize Unlimited | where {$_.Name -like "Marketing"}
The previous steps covered restoring an entire folder, including all its subfolders. However, you also have the option to restore just a specific subfolder.
To restore a specific subfolder, use the following command:
$pf = Get-PublicFolder \NON_IPM_SUBTREE\DUMPSTER_ROOT -Recurse | where {$_.Name -eq "Subfolder1"}; Set-PublicFolder $pf.identity -Path \Parent1
The process used for public folders can also be used to restore a public calendar folder, but there are special considerations. The following will appear when deleting a public calendar folder:
If the user chose "Yes," the items were permanently deleted. While you can restore the public folder, the items within it cannot be recovered.
ManageEngine M365 Manager Plus is a Microsoft 365 reporting, auditing, management and monitoring tool. With M365 Manager Plus, you can:
Simplify public folder management