After migrating your Exchange you may want to clean up the old server name from AD or using ADSIEdit. This can cause the problem of your Public Folders going missing from within your EMC and your Event View to be flooded with Event ID 9519, 231 and 3154 errors.
If this is the case, you will need to follow the below instructions to set up the Folder Hierarchies your Public Folders depend on to run correctly.
- Open ADSI Edit, connect to your Domain Controller and change the context to "Configuration" (Action, Settings then drop down "Select a well known Naming Context" to "Configuration")
- Navigate to CN=Configuration >> CN=Services >> CN=Microsoft Exchange >> [your organization] >> Administrative Groups >> [your administrative group].
- Right click on your administrative group and select New >> Object
- Select "msExchPublicFolderTreeContainer" as class and click Next
- Enter the following as value: “Folder Hierarchies”.
- Click Next then Finish
- Right click the “Folder Hierarchies” object you just created and select New >> Object
- Select msExchPFTree as class, click Next
- Enter the following as value: Public Folders, click Next
- Click on More Attributes button, drop down the “select a property to view” list, select "msExchPFTreeType" and set the attribute to 1 (it should populate into the value field).
- Click OK then Finish
- Double click the "Public Folders" object you just created
- Double click "distingushedName" attribute and copy this data to the clipboard. Close down these two windows.
- Browse to CN=Configuration >> CN=Services >> CN=Microsoft Exchange >> [your organization] >> CN=Administrative Groups >> CN=Exchange Administrative Group >> CN=Databases >> CN=Public Folder Database
- Right Click the CN=Public Folder Database down the left-hand tree, select properties.
- Find the "msExchOwningPFtree" attribute, double click and paste in the "distingushedName" you copied in step 13.
- Click "OK", then "OK" and restart the exchange services, making sure that the "Microsoft Exchange System Attendant" service restarts.
- Open EMC and make sure the database is there.
Sometimes this can cause the Public Folder Management Console to error, if this happens you will need to create the "msExchPublicFolderTreeContainer" as “msExchContainer” instead.