You completed your migration. Everything was working great. You did some cleanup in ADSIEdit. A while later, after a reboot, your Public Folders went missing! The event log errors look something like this: MapiExceptionADPropertyError: Unable to mount database. (hr=0×80004005, ec=2418)
Well, if you were dumb like this guy and myself, you did this:
“It started when I removed the Exchange 2003 First Adminstrative Group from Active Directory with adsiedit. The old EX2003 server was not in the Old Administrative Group, but Ex2007 public folders had a dependency on a “Folders Hierarchies” object in the old Administrative Group.”
Here are the instructions to fix it:
Open ADSI Edit, connect to a Domain Controller, change the context to Configuration.
Create the Folder Hierarchies under the Exchange Administrative Group
Navigate to Configuration ⇒ Services ⇒ Microsoft Exchange ⇒ [your organization] ⇒Administrative Groups ⇒ [your administrative group]
Right click on your administrative group and select New Object
Select msExchContainer as class and click Next
Enter the following as value: Folder Hierarchies, click Next, Finish
Create the Public Folders Tree Object
Right click Folder Hierarchies 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, Finish
Populate the msExchOwningPFTreeBL attribute object of the PF Store
(Tell the Public Folder database where to find the new folder hierarchy you just created)
Double click the newly created “Public Folders” object
Double click distinguishedName, copy the value to the clipboard, click Cancel
Exchange 2007: open properties of Configuration ⇒ Services ⇒ Microsoft Exchange ⇒ [your organization] ⇒ Administrative Groups ⇒ [your administrative group]⇒ Servers ⇒ [your server] ⇒ Information Store
Exchange 2010: open properties of Configuration ⇒ Services ⇒ Microsoft Exchange ⇒ [your organization] ⇒ Administrative Groups ⇒ [your administrative group] ⇒ Databases ⇒ [your Public Folder database]
Double click the msExchOwningPFTree attribute, paste the value that was copied to the clipboard in step 2
Click OK twice
Image may be NSFW.
Clik here to view.
Here’s a screen shot of where to find the attribute. Click for full size image.
Try to mount the Store
Restart the Microsoft Exchange System Attendant Service
Open Exchange System Manager and try to mount the PF store
It is usually found under Organization Configuration ⇒ Mailbox ⇒ Database Management tab.
There are some almost-correct instructions out there for this problem:
You may find similar instructions telling you to use “msExchPublicFolderTreeContainer” for the class of the Folder Hierarchies object. I followed those instructions the first time around, and as a result the Public Folder database would mount, but when I opened the Public Folder Management Console in the Toolbox, I got this error:
Couldn’t find a MAPI public folder tree. It was running the command ‘get-publicfolder -getchildren -identity ‘\’ -server ‘myserver.mydomain.local”
So do yourself a favor and use “msExchContainer” instead. Thanks, James Luo, you’re the man!