I try to decommissioning my Exchange 2007 server after migration to Exchange 2013, to migrate to 2016 in the future.
I removed all mailbox databases, but not the publicfolder database, i got an error
The public folder database specified contains folder replicas. Before
deleting the public folder database, remove the folders or move the
replicas to another public folder database.
This is a common error but all i tried doesn't work cause i haven't any publicfolder.
Get-PublicFolderStatistics
show me some system/hidden publicfolders :
Name ItemCount LastAccessTime
---- --------- --------------
EX:/o=Sb/ou=Exchange Administrative Grou 0 12/04/2016 10:55:23
p (FYDIBOHF23SPDLT)
EX:/o=Sb/ou=Exchange Administrative Grou 0 12/04/2016 10:55:23
p (FYDIBOHF23SPDLT)
globalevents 0 12/04/2016 10:55:23
internal 0 12/04/2016 10:55:23
OWAScratchPad{0328B619-6465-4137-98FF-3B 0 12/04/2016 10:55:23
5BC061CF6F}
StoreEvents{0328B619-6465-4137-98FF-3B5B 0 12/04/2016 10:55:23
C061CF6F}
Get-PublicFolder
return the error :
There is no existing PublicFolder that matches the following Identity:
'\'. Please make sure that you specified the correct PublicFolder
Identity and that you have the necessary permissions to view
PublicFolder.
In the Exchange 2013 side, these 2 cmdlet return no public folder.
So, i tried Exchange scripts :
RemoveReplicaFromPFRecursive.ps1 -TopPublicFolder "\" -ServerToRemove old
return an error return the same error than Get-PublicFolder "\"
.
MoveAllReplicas.ps1 -server old -newserver new return
return the same errors than Get-PublicFolder
and Get-PublicFolder \NON_IPM_SUBTREE -recurse -resultsize unlimited
I tried to create one publicfolder :
New-PublicFolder -name test
return an error return the same error than Get-PublicFolder
.
Thank for help !
Best Answer
You get this error because you cannot delete a public folder database that contains data. To get in detailed about how do we remove public folder replicas from the database refer to this article that have documented steps and the links to get this job done. www.petenetlive.com/KB/Article/0000227
You may also get help from this step-by-step guide to migrate from Exchange Server 2007 to Exchange Server 2013 and after migration Decommissioning Exchange Server 2007
Hope this helps!