assume that you are removing the last replica of a mailbox database or uninstalling an Exchange server and running the following error message
As suggested by the error message, I verified the existence of various possible mailboxes that can be created, that is, the normal user mailbox, the quorum mailbox, the public folder mailbox, and the archive mailbox.
Check that the regular mailbox does not show any content:
Check that the archive mailbox does not show anything:
Check that the public folder mailbox shows nothing:
Finally, the results of the review of the arbitration mailbox are as follows:
However, deleting a mailbox database will still fail with the same error. What should I do?
# 1 If you are using Exchange 2013, you can use remove-mailboxdatabase because it indicates the DN of the user who still has the mailbox on the database, but only if the-verbose parameter is specified
Another possibility is that the database you are trying to delete is an archive mailbox that is kept in a different mailbox database.
The following command helps you to list mailboxes that use a specific database as an archive database:
Get-mailbox | where {$_. Archivedatabase-eq "<databaseName>"}
# example 1
So, I just moved the archive mailbox to another database:
After the move is complete, the database can now be deleted
Unable to delete database copy or uninstall mail server