In Office 365, these Public Folder Mailboxes are now available for recovery using Undo-SoftDeletedMailbox -PublicFolder: In Office 365, when a Public Folder Mailbox is deleted, rather than permanently deleting it right away, PF mailboxes are now “Soft Deleted.” These soft deleted Public Folder mailboxes can be located using Get-Mailbox -PublicFolder -ShowSoftDeletedMailbox: How do you recover a Public Folder Mailbox? Once he realized the error of his ways, Chuckie recovered the former Secondary Public Folder Mailbox (SecondaryN1) to get the content back. Taking it a step further, he created a new Primary and named it “PrimaryN2.” Things are going smooth for some time, until they hire a new Admin (we’ll call him “Chuckie Sullivan”) who for whatever reason, decided to delete both of their Public Folder Mailboxes. In the example below, 10 Public Folders are being created on the SecondaryN1 Public Folder Mailbox: PS C:\pf> New-PublicFolder "Green Monster" -Mailbox SecondaryN1 Next, when they initially created these Public Folders, they specified the target Public Folder Mailbox for this PF. Being the wicked smart Admin that s/he is, they decide to host all the content on the Secondary Public Folder Mailbox, and let the Primary Public Folder Mailbox focus solely on mastering the PF hierarchy. Your friendly Office 365 Tenant Admin creates a Primary Public Folder Mailbox (let’s call it “PrimaryN1”) and a Secondary Public Folder Mailbox (we’ll name this one “SecondaryN1”). Once Public Folder Hierarchy Sync completes, if there are any Public Folders on a Secondary mailbox that are not on the Primary, these are considered as “orphaned” Public Folders. Public Folder Hierarchy Sync processes and reconciles any Public Folder creation, deletions, and modifications as performed by the users. If you want to read up on related concepts, this might be a good place to start. This process is referred to as Public Folder Hierarchy Sync. These Secondary PF Mailboxes retrieve Public Folder hierarchy updates from the Primary PF Mailbox.
![what is an exchange public folder what is an exchange public folder](https://thoughtsofanidlemind.files.wordpress.com/2011/02/pfpart3fig1.jpg)
All subsequent Public Folder Mailboxes are referred to as “Secondary” Public Folder Mailboxes. The first Public Folder Mailbox is referred to as the “Primary” Public Folder Mailbox. Public Folders reside in one or more Public Folder Mailboxes. OrganizationConfig object, but, again, this refers to the folder itself (" A public folder is automatically deleted when this age limit is exceeded.") instead of theįolder content, so, obviously, this is something different.In Office 365, recovering a deleted Public Folder Mailbox presents the possibility for a recovered Secondary PF Mailbox to contain Public Folders that may no longer be resident on a newly-created Primary PF Mailbox.