Forum Discussion
RemotePublicFolder set to deleted object
I know this is very old, but we had the same issue and I discovered the solution here and I wanted others to maybe be able to find this solution a little easier: https://www.blackmanticore.com/deb16162d44ad508ca715642595deebd
With the removal of the public folders database, not all objects referencing the database have been adjusted. You can manually fix the issue by clearing the reference to the deleted public folders database, using ADSI Edit.
1.) As a domain admin, open ADSI Edit (adsiedit.msc).
2.) Connect to the Configuration well-known naming context of the domain in which Exchange operates.
3.) Navigate to the object mentioned in the warning event (in this case: CN=Contoso,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com).
4.) Right-click the object itself (not any of the subordinates) and click Properties.
5.) Browse the attributes of the object. One of the attributes should mention the deleted public folder database and clear the value.
If more than one public folder database was used, clear all of them, unless you still have a public folder database in use, in which case you should leave the references to the existing databases as is.
Note that the Property mentioned in the event does not always match the name of the attribute in AD. In our example, the property RemotePublicFolderMailboxes (retrievable through EMS: Get-OrganizationConfig | Select RemotePublicFolderMailboxes) is in fact the attribute named pFContacts).
6. ) After clearing the incorrect values, the event should no longer be triggered. Note that multiple references may exist. Clear the invalid references of all the objects to get rid of the events.
As the change is in AD, clearing the values should only be done on one DC. The change will be replicated to all DCs and all Exchange servers will pick this up.