The last public folder database on Exchange 2007 cannot be removed after migrating to Exchange 2013


Symptoms


Assume that you migrate public folders from a Microsoft Exchange Server 2007 server to a Microsoft Exchange Server 2013 server. After the migration, you try to remove the last public folder database from the Exchange Server 2007 server. In this situation, the running of the Remove-PublicFolderDatabase command fails.

Cause


This issue occurs because the PublicFolderMigrationComplete flag is set to True after the migration on the Exchange Server 2007 server. That causes a certain variable not to be populated, and this variable is necessary for removing the database. Therefore, a NullReferenceException exception is thrown.

Resolution


To resolve this issue, install the following update rollup:
2873746 Description of Update Rollup 11 for Exchange Server 2007 SP3

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information


For more information about how to migrate public folders to Exchange 2013 from earlier versions, go to the following Microsoft website:For more information about how to remove a public folder database in Exchange 2007, go to the following Microsoft website: