Moved Mailboxes Are Shown in Disconnected Mailbox – Exchange 2010 SP1 SP2 SP3

Updated on June 27, 2017
1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)
Loading...

You have just moved some mailboxes from one Exchange 2010 SP1 ( or later ) mailbox database to another mailbox database but all the moved mailboxes are shown in disconnected mailboxes. This happens because of the “Soft Deleted mailboxes“. Exchange doesn?t fully delete the mailbox from the source database immediately after completion of the move. Instead, the mailbox in the source mailbox database is switched to a soft-deleted state. The soft-deleted mailboxes are retained in the source database until either the deleted mailbox retention period expires or you use the Remove-StoreMailbox cmdlet to purge the mailbox.

Moved Mailboxes Shown Disconnected Mailbox Exchange2010 SP1 SP2 SP3

 

You can see soft-deleted mailbox by running the following shell command

Get-MailboxStatistics ?Database ?Mailbox Database Name? | Where-Object {$_.DisconnectReason ?eq ?Softdeleted?}

You can delete all soft deleted mailboxes from a particular Mailbox Database by running the following shell commands

$Mailboxes = Get-MailboxStatistics -Database “Mailbox Database Name” | where {$_.DisconnectReason -eq ?SoftDeleted?}
$Mailboxes | foreach {Remove-StoreMailbox -Database $_.database -Identity $_.mailboxguid -MailboxState SoftDeleted -Confirm:$false }

Hope you find this article useful. If you have any questions or want to share more information, do leave a comment. Happy Exchanging 🙂