After migrating from example Exchange 2007 to Exchange 2010 or 2013, your clients might loose the public folders on their Outlook/ OWA. Although the public folders are on the new server and healthy, they won’t show on the client side.
This is most probably because the Public Folders on the new servers are not assigned to the mailbox databases and are still refering to the old servers.
Open the Exchange Management Console
Expand Organization Configuration
Open Mailbox Node
Open the Database Management Tab
Right Click the Database in question and select Properties
On the new window expand the Client Settings field
You may notice on the Default Public Folder Database text box something similar to the below:
mydomain.local/Configuration/Deleted Objects/Public Folder Database
This is pointing to a deleted Public Folder Database.
To fix this, click on the Browse button and select the new public folder from the populated list. Once ready you will see that the entry changed reflecting the new selection.
Close the client’s Outlook and re-open it. You will be able to see the folders.
Create new public folder on Exchange 2010.
On Exchange Powershell run the below:
.\AddReplicaToPFRecursive.ps1 -TopPublicFolder “\” -ServerToAdd
Make sure that you run it on the Exchange 2010 powershell because, if you run it on the 2007 you will get the below error:
Get-PublicFolder : There is no existing PublicFolder that matches the following
Identity: '\'. Please make sure that you specified the correct PublicFolder Id
entity and that you have the necessary permissions to view PublicFolder.
Run the below to verify the replicas are functioning and the folders are showing
Get-PublicFolder -Identity “\” -Recurse -ResultSize Unlimited |ft identity,replicas –auto
To view the item count of the replica run
It will show as below
Public Foler 33
You can run the above powershell command on the 2007 server to check the amount of items so that you can compare with the new server.
Once the replication is ready,
Got to folder
C:\Program Files\Microsoft\Exchange Server\v14\scripts and run:
./MoveAllReplicas.ps1 -Server -NewServer
You can now remove or un-mount the old 2007 Public Folders