The mailbox database 'Mailbox Database xxxxxxx' cannot be deleted. - This mailbox database contains one or more mailboxes, mailbox plans, archive mailboxes, or arbitration mailboxes.

When you try to delete first database created by Microsoft Exchange 2010 server during installation, usually named Mailbox Database xxxxxxxxxx, you get “The mailbox database 'Mailbox Database xxxxxxxxxx' cannot be deleted” error stating that the database includes some user’s mailboxes and/or arbitration mailboxes. More info on arbitration mailboxes can be found here -
In order to delete the database, you need to move user’s mailboxes by using:
get-mailbox -Database “Mailbox Database xxxxxxxxxx”  | New-MoveRequest -TargetDatabase “NEW Mailbox database” –Confirm
Then move arbitration mailboxes:
get-mailbox -Database “Mailbox Database xxxxxxxxxx” -arbitration | New-MoveRequest -TargetDatabase “NEW Mailbox database” –Confirm
If “NEW Mailbox Database” is in good state (no seeding errors; everything is Healthy), mailboxes will be moved. To check this:

Popular posts from this blog

Error "<#5.5.2 smtp;554 5.5.2 Invalid data in message> #SMTP#" when you send attachment in your mail

Change SMTP port 25 in Exchange 2007, 2010

How can you bypass sender or sender's domain in Exchange 2007 Content filter anti-spam agent