Skip to content

Error Removing Mailbox Database

Error Removing Mailbox Database: This Mailbox database contains one or more mailboxes.

When you try and remove an “Exchange Mailbox Database” you received the following error:

“This mailbox database contains one or more mailboxes, mailbox plans, archive mailboxes, public folder mailboxes or
arbitration mailboxes. To get a list of all mailboxes in this database, run the command Get-Mailbox -Database
<Database ID>.”

What does this mean ? , even if you have moved all the mailboxes from the Mailbox Database, Exchange still has mailboxes which is called “Arbitration” mailboxes and since Exchange 2013 Public Folder are now a mailbox as well. To know more about the “System Mailboxes” click here.

So how do we check for these Mailboxes ? , To get a list we can run the following commands.

Lets start by having a look if there is any “Arbitration” mailboxes on mailbox database EXHDB06.

As we can see there is no “Arbitration” mailboxes on this database so lets move on to see if there is any “Public Folder” mailboxes on the database , to verify run the following command.

Based on the results from the above command we have found the “Problem Child” , Lets go ahead and move this mailbox to newly created mailbox database.

To check the status of the “Move-Request” run the following command.

Now that we have moved the “Public Folder” mailboxes to another database we can attempt to go ahead and remove the “Mailbox Database” now. Before we run the remove database command we need to dismount the database again.

After Dismounting the database we can now go ahead and remove the “Mailbox Database“.

Note that the “Warnings” indicate that you can now manually remove the “.edb” files as well as remove the “Monitoring Mailbox” active directory user object.

#ThatLazyAdmin

 

 

 

 

 

Sharing is caring!

Published inActive DirectoryExchange 2010Exchange 2013Exchange 2016Exchange ServerPowerShellWindows Server 2008Windows Server 2012Windows Server 2016

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *