Share via


How to delete Public Folder in Exchange Server 2016

Question

Monday, December 25, 2017 11:58 AM

Hello Everyone,

We have migrated our Exchange Server form 2010 to 2016 and some of the public folders which were present in Exchange Server 2010 have also migrated to our new Exchange 2016 but we want to get rid of it but it is giving us the following error when we try to delete it.

The public folder database 'Public Folder Database 01248179' cannot be deleted.

 

Public Folder Database 01248179'

Failed

Error:

Public folder database "Public Folder Database 01248179'" is the default public folder database for the following mailbox database(s):

Default-ExchDB-Exchange-01

Default-ExchDB-Exchange-02

abc-MGMT-DB023

cdz-MGMT-DB022

zyz-MGMT-DB01

. Before deleting the public folder database, assign a new default public folder database to the mailbox database(s).

  

Thank you!

All replies (1)

Monday, December 25, 2017 12:21 PM âś…Answered

Hi

Your public folder database is being used by newly created databases in Exchange 2016. You can fix this issue with 2 ways.

1:- Powershell in Exchange 2016:-

Set-MailboxDatabase Default-ExchDB-Exchange-01-PublicFolderDatabase $null

If this would't work then you can use ADSIEdit

Open ADSIEdit.msc

Connect to the Configuration naming context with ADSIEdit

in CN=Services -> CN=Microsoft Exchange -> CN=(your organization name) -> CN=Administrative Groups -> CN=Exchange Administrative Group -> CN=Databases.

Now right click on each database --> go to properties --> find the msExchHomePublicMDB attribute

Click to Edit and click Clear, Click OK Apply and OK

Do the same procedure for all database you see in the error.

Hope this will resolve your issue.

Kindly click "Mark as Answer" on the post that helps you, this can be beneficial to other community members reading this thread. Regards.

H.Shakir