Public folders provide a way to collect, organize, and share information with other people in your organization. They can help users organize content in a deep hierarchy that's easy to browse in Outlook and Outlook on the web (OWA).
This blog post is here to help admins troubleshoot deletion issues with public folders, with a focus on the following scenarios:
These issues can occur when the public folder dumpster is invalid or does not exist. The exact reason for this might not be known, but the issue typically happens after public folders are migrated from on-premises servers using PSTs or third-party migration tool.
What is the Dumpster Folder?
Today’s public folder storage model uses a visible “IPM_SUBTREE” part that contains public folders and their content, and a hidden area called the “NON_IPM_SUBTREE” that which contains dumpster folders and other system related folders.
Every content folder has a dumpster folder where deleted items are retained according to the defined retention time. Once the retention time has elapsed, the items are permanently purged.
Example:
As illustrated here, deletion of public folder content is really a content move from the visible folder to the dumpster:
Each folder and its dumpster are linked to each other. This link cannot be undone, and admins cannot delete dumpster folders by themselves. When a folder is removed from the public folder hierarchy, its dumpster is automatically removed. The same principle applies to mailbox folders and subfolders, too.
Addressing public folder/item deletion failures
A newly published PowerShell-based tool, ValidateEXOPFDumpster, can help you investigate public folders/items deletion failures. The tool validates the following:
The ValidateEXOPFDumpster script is not officially supported by Microsoft support. For any issues related to this script, please file a GitHub request with the Exchange Tools team or email ExToolsFeedback[AT]microsoft[DOT]com.
How does the tool work?
Typically, the tool is run with a PFolder parameter specifying the public folder identity as follows:
.\ValidateExoPfDumpster.ps1 -PFolder \pf1
The tool will prompt for affected public folder identity/EntryID if it wasn't provided using PFolder parameter and then it will prompt for Exchange administrator username and password to connect to Exchange Online. By default, the tool assumes that the issue being investigated is impacting to a specified public folder but all users are affected.
If the deletion issue happens only for a specific user, the user’s SMTP address can be provided as follows:
.\ValidateExoPfDumpster.ps1 -PFolder \pf2 -Affecteduser user@contoso.com
The tool will generate the public folder validation checks failures and proposed fixes results on the screen and will generate the ValidatePFDumpsterREPORT.txt file, as well. There are other files generated for either logging purposes or for logs to be shared with Microsoft support.
File Name |
Content |
Use |
ValidatePFDumpsterREPORT.txt |
Information about any issues found |
The tool displays what it found, and in many cases, it provides a solution to fix the problem |
ValidatePFDumpsterChecksLogging.csv |
Information about the reason of tool run failure |
The file will display errors encountered during running of the tool and at which stage it failed |
PublicFolderInfo.xml |
All required information about the affected public folder |
Shared with Microsoft support if engaging support about this problem |
Let’s check the following examples to get more clarification on how the tool works.
Example1: Running the tool on the affected public folder “\pf2” where only one user is affected (user@(domain).com).
The tool points out two issues:
Example2: Running the tool on the affected public folder “\t” where all users are affected
The tool points out the following:
The tool also creates a log file containing all the required information "PublicFolderInfo.xml" to be shared with Microsoft support, if needed, and has provided mitigation for the last two issues.
Special thanks to Bhalchandra Atre and Nino Bilic who reviewed and contributed to this post.
Hazem Embaby
Support Escalation Engineer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.