Manually Remove Exchange 2007 Public Folders after Hybrid Migration

I really don’t like if things don’t go smooth on a migration from a legacy version of Exchange.

Today, all I needed to do was decommission an Exchange 2007 server after migrating all mailboxes to Office 365 via an Exchange 2013 hybrid server.

Simple enough, right?

Well, then there was an issue removing the last public folder database. The dreaded “Public Folder Database cannot be deleted” error message.

The public folder database "EX01\Second Storage Group\Public Folder Database" contains folder replicas. Before deleting the public folder database, remove the folders or move the replicas to another public folder database.

Oh, man! Really? Why can’t removing a public folder database ever be easy when they are no longer needed–or even wanted? I had no other public folder database to replicate the remaining folders to and the only instances that remained were the system folders. What to do, what to do?!

I tried several options (links below) and nothing worked because they all returned the same error message as above…

I eventually went to our tried and true friend. Since there was no need to keep public folders, I was ready to bag them. So, into ADSI Edit we go…

WARNING: Unless you have a full system backup and are comfortable working in ADSI Edit, do not proceed … contact an Exchange consultant or Microsoft for assistance.

CN=Configuration > CN=Services > CN=Microsoft Exchange > CN=First Organization > CN=Administrative Groups > CN=Exchange Administrative Group (FYDIBOHF23SPDLT) > CN=Servers > CN=EX01 > CN=Information Store > CN=Second Storage Group > CN=Public Folder Database

Once I located the offending database (represented as ‘CN=Public Folder Database’), it was as simple as right-click, delete and confirm.

Once I verified that the database was gone from the view of the EMC, I proceeded to remove the last Exchange 2007 server from the environment without further issue.

I hate going this route because it kind of like what Forrest Gump’s momma always said … “Life is like a box of chocolates. You never know what you’re gonna get.

Good thing it worked?!

2 thoughts on “Manually Remove Exchange 2007 Public Folders after Hybrid Migration

  1. Thank you so much!! I didn’t get that I needed to delete the folder. Kept thinking I should see some data there… you made it clear. Big props for posting!!

  2. Pingback: Decommissioning Exchange on SBS 2011 – LAR Online

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s