Archive Manager will set the status of any mailboxes that have been deleted from AD/Exchange to a "deleted" status in the Archive Manager database and it will hide the mailboxes from the user interface.
Archive Manager uses the Archive Active Directory service (ADC) to stay synchronised with Active Directory (AD). Mailboxes are never actually deleted by this process due to compliance reasons, they are instead hidden from the user interface.
Ensure an up to date backup exists of the Archive Manager SQL database exists before following these steps:
1. Run the following SQL query in SQL Management Studio on the SQL server for Archive Manager to display all the mailboxes which have a status of "deleted":
USE ArchiveManager
SELECT * FROM mailbox WHERE deleted = 1
2. Run the following SQL query in SQL Management Studio on the SQL server for Archive Manager to undelete a specific mailbox, replace XX with the correct mailboxID obtained in Step1:
USE ArchiveManager
UPDATE mailbox SET deleted = 0 WHERE mailboxID = XX
Deleting a mailbox and/or login this way does not remove archived messages from Archive Manager.