When migrating to / from Exchange public folders, you need to ensure that a public folder mailbox exists. Here are two methods to create a Public Folder mailbox:
Use the Exchange Admin Centre to create a public folder mailbox
- Navigate to Public folders > Public folder mailboxes, and then click Add.
- In Public Folder Mailbox, provide a name for the public folder mailbox.
- Click Save.
Use PowerShell to create a public folder mailbox
This example script creates the primary public folder mailbox.
New-Mailbox -PublicFolder -Name MasterHierarchy
Public Folder Mailboxes will take around 15 minutes to provision in Exchange.
How do you know this worked?
To verify that you have successfully created the primary public folder mailbox, run the following PowerShell command:
Get-OrganizationConfig | Format-List RootPublicFolderMailbox