Trying to delete Exchange 2010 mailbox error cannot be deleted system mailboxes

If you try to delete an Exchange 2010 mailbox and you get an error.
——————————————————–
Microsoft Exchange Error
——————————————————–
The mailbox database ‘Mailbox Database 1355317859’ cannot be deleted.

Mailbox Database 1355317859
Failed
Error:
This mailbox database contains one or more mailboxes, mailbox plans, archive mailboxes, or arbitration 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. To get a list of archive mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Archive. To get a list of all arbitration mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Arbitration. To disable a non-arbitration mailbox so that you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID>. To disable an archive mailbox so you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID> -Archive. Arbitration mailboxes should be moved to another server; to do this, run the command New-MoveRequest <parameters>. If this is the last server in the organization, run the command Disable-Mailbox <Mailbox ID> -Arbitration -DisableLastArbitrationMailboxAllowed to disable the arbitration mailbox. Mailbox plans should be moved to another server; to do this, run the command Set-MailboxPlan <MailboxPlan ID> -Database <Database ID>.

FIX:
 The first thing you must do is run this command
Get-Mailbox -Database <DatabaseID> | ft -wrap -auto
This will show you all of the mailboxes left on the database
For any mailboxes that you find you must run
New-MoveRequest -Identity <MailboxAlias> -TargetDatabase <DatabaseID>  – Where <DatabaseID> is your new database you are moving to
 The next command you will run will show you the arbitration mailboxes.  You will want to move them the same way from the previous step.
Get-Mailbox -Database “mailbox database 1355317859” -arbitration | ft -wrap -auto
New-MoveRequest -Identity <MailboxAlias> -TargetDatabase <DatabaseID>  – Where <DatabaseID> is your new database you are moving to
Once these are complete you need to check the status of them via this command
Get-MoveRequest | Fl
Look for the field that says “status” under each mailbox.  You will want to make sure this says COMPLETE.  If it does not then it is not done!  Wait until this is finished!
You can also use this command to view the status
 Get-MoveRequest –SourceDatabase <DatabaseID>
Once all of them say complete you have to remove the requests before you can delete the database.  This can be done via this command.
remove-moverequest -identity <MailboxAlias>

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply