Messaging & the world of UC

Ramblings on all things tech, trying to stick to Exch & UC...

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

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

  • Comments 4
  • Likes

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
  • The clean command on exchange 2010 for a single database is "Clean-MailboxDatabase [nameofdatbase]"  such as

    Clean-MailboxDatabase MyMailbox

  • Hi,

    Can this command be run in production mode, or offline mode.

  • You can run in production mode.

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

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment