Partager via


Deleted Mailbox not appearing in Disconnected mailbox GUI?? Read on...

This seems to be a very common complaint from the field - Deleted mailboxes will appear in disconnected mailbox list, but these changes it will not reflect immediately. You have to wait for online maintenance to run and complete before the mailboxes are correctly listed

If you accidentally delete mailbox and if you wanted to reconnect it back then I suspect you will not be able to find it Disconnected Mailbox. Dont panic, you dont have to wait for OLM, you can run the cmdlet Clean-MailboxDatabase to get the deleted mailbox to show up in the right place. Also, if you want to disconnect the mailbox to re-add it to an other user or the same user do the following:

  • Disable (not REMOVE) the mailbox in EMC
  • When you disable a mailbox the user object stays in AD and the mailbox is marked for deletion.
  • The disconnected mailbox should appear in the disconnected mailbox view - again once OLM has run
  • If it is not appearing in the disconnected mailbox view run one of the following commands from powershell

Clean-MailboxDatabase \servername\SGName\Store
Cleans an individual database

Get-Mailboxdatabase | Clean-MailboxDatabase
Cleans all the databases in the Organization 

Event ID’s

    • Event ID 9531 – the clean mailboxdatabase process has begun
    • Event ID 9533 – a user does not exist in the directory or is not enabled for Exchange mail. This mailbox will be removed from mailbox store  in after the retention time has passed
    • Event ID 9535 – the process completes and lists that the mailbox was retained in the store
  • Finally you should see it in the disconnected mailbox view and you can connect it to the same AD user or an other AD user.

Hope this helps :)

Comments

  • Anonymous
    January 01, 2003
    You can run in production mode.

  • Anonymous
    January 01, 2003
    for checking:
    Get-MailboxStatistics -Server | where { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid,Database

  • Anonymous
    April 21, 2011
    The clean command on exchange 2010 for a single database is "Clean-MailboxDatabase [nameofdatbase]"  such as Clean-MailboxDatabase MyMailbox

  • Anonymous
    February 25, 2012
    Hi, Can this command be run in production mode, or offline mode.

  • Anonymous
    February 20, 2015
    Get-MailboxStatistics : Missing an argument for parameter 'Server'.

    DERP!

  • Anonymous
    June 22, 2015
    Try adding a server

  • Anonymous
    June 22, 2015
    LOL

  • Anonymous
    October 14, 2015
    HA!

  • Anonymous
    January 05, 2016
    This helps for me! Thanks!!!

  • Anonymous
    January 25, 2016
    Saved me, thanks!