Problem deleting mailbox database

Hello,

I try to remove an empty mailbox database, I verified and there are no any user, archive or user mailbox in it. However, exchange still repots that it is not empty.

How can I delete  it? Thank you.

August 19th, 2015 7:54am

It's possible there's arbitration mailboxes in there.  Following the instructions in this article: http://exchangeserverpro.com/exchange-2013-database-removal-error-this-mailbox-database-contains-one-or-more-mailboxes/

Free Windows Admin Tool Kit Click here and download it now
August 19th, 2015 8:02am

Addition to what B0ndoo7 said, if this is Exchange 2016 Preview server then make sure you moved AuditLog database too...

Get-Mailbox -Database DefaultFirstDBName -AuditLog 

Move it using this...

Get-Mailbox -Database DefaultFistDBName -AuditLog | New-MoveRequest TargetDatabase New-E2016-DBName

August 19th, 2015 7:21pm

Have you tried exactly what is states in the error message? Get-Mailbox -Database <name> | ft? Also if nothing comes up for mailboxes/arbitration/system mailboxes then it is most likely Soft Deleted Mailboxes that are still present on this database.

Try using the following command...

Remove-StoreMailbox -Database <name> -Identity user1 -MailboxState SoftDeleted

You can also reference the below link for additional details on Remove-StoreMailbox cmdlet.

https://technet.microsoft.com/en-us/library/ff829913%28v=exchg.150%29.aspx?f=255&MSPPError=-2147217396

You can also try Clean-Mailboxdatabase cmdlet as well.


Will.

Free Windows Admin Tool Kit Click here and download it now
August 19th, 2015 7:47pm

Have you tried exactly what is states in the error message? Get-Mailbox -Database <name> | ft? Also if nothing comes up for mailboxes/arbitration/system mailboxes then it is most likely Soft Deleted Mailboxes that are still present on this database.

Try using the following command...

Remove-StoreMailbox -Database <name> -Identity user1 -MailboxState SoftDeleted

You can also reference the below link for additional details on Remove-StoreMailbox cmdlet.

https://technet.microsoft.com/en-us/library/ff829913%28v=exchg.150%29.aspx?f=255&MSPPError=-2147217396

You can also try Clean-Mailboxdatabase cmdlet as well.


Will.

August 19th, 2015 11:45pm

Hi,

what is your exchange version?

Please follow the above suggestion to make some actions.

We can also refer to the below article to get more detailed information about the error message:

http://blogs.technet.com/b/exchange/archive/2014/03/17/this-mailbox-database-contains-one-or-more-mailboxes.aspx

Regards,

David 

Free Windows Admin Tool Kit Click here and download it now
August 20th, 2015 1:54am

Thank you Will, your answer helped me. There are several soft deleted mailboxes in the database.
August 20th, 2015 3:20am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics