This mailbox database contains one or more mailboxes

After moving all mailboxes from a mailbox database to other mailbox databases (both in Exchange 2016), including archive and arbitration mailboxes the mailbox database still cannot be deleted. Trying to remove the mailbox database still generates the following error message:

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

image

Get-Mailbox -Arbitration or Get-Mailbox -Archive doesn’t return anything.

Exchange 2016 introduced a new type of mailbox, the auditlog mailbox. This can be returned by the Get-Mailbox -Auditlog command:

image

Move this auditlog mailbox to another mailbox database and the old mailbox is now fully empty and can be deleted.

6 thoughts on “This mailbox database contains one or more mailboxes”

  1. If I am not mistaken, this only applies to Exchange 2016 servers. Because Exchange 2013 and older do not have this type of mailbox, this specific reference would not apply if you are decommissioning those server versions after transitioning to Exchange 2016.

    Like

      1. What’s funny is that if you look at the -AuditLog switch from the Get-Mailbox help, it states: “This parameter is reserved for internal Microsoft use.”

        Like

  2. I have tried pretty much everything and I still can not remove a database. It has no arbitration, archive, public folder, or audit log mailboxes. It had one mailbox and it has been removed. It is EXTREMELY frustrating as I want to remove the server without having to resort to ASDIEdit. I am sure this is a bug in 2016 CU5. This is a brand new install.

    Like

    1. I agree, it’s extremely frustrating to end up in a situation like this, especially when it’s a brand new install. But I’m afraid the only thing you can do is use tools lik ADSIEdit or LDP to find the hidden links.

      Like

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s