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
Cleans an individual database
Get-Mailboxdatabase | Clean-MailboxDatabase
Cleans all the databases in the Organization
- 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 🙂