Please enter search query.
Search <product_name> all support & community content...
How to obtain the Distinguished Name of a users mailbox for use with Enterprise Vault Policy Manager (EVPM) scripts
Article: 100020107
Last Published: 2026-01-07
Ratings: 0 1
Product(s): Enterprise Vault
Problem
How to obtain the Distinguished Name of a users mailbox for use with Enterprise Vault Policy Manager (EVPM) scripts
Solution
Enterprise Vault Policy Manager provides a scripted method of modifying and controlling Exchange Server mailboxes and archives. In order to run EVPM against specific mailboxes, the Distinguished Name (DN) of a mailbox is required:
- In the EV Vault Admin Console (VAC), expand Archives > Exchange Mailbox.
- Locate the archive in question, perform right click over the archive and click on Properties.
- Select the Advanced tab.
- Highlight and copy the entire Archive ID.
- Click OK to close the Archive Properties window
- Holding the SHIFT+CTRL keys down, right-click on Archives in the EV console tree on the left.
- Select Find Archive or Folder.
- Paste in the Archive ID from Step 4 and click on Find.
- The mailbox details (including the Legacy Mailbox DN) will be displayed for that user's mailbox.
Notes:
- Alternatively, if the mailbox alias is known, a query can be made against the EnterpriseVaultDirectory Database:
USE Enterprise Vault Directory
SELECT LegacyMbxDN FROM ExchangeMailboxEntry WHERE MbxAlias = 'MailboxAlias'
- Please see Related articles for instructions on how to remove the hidden message that Enterprise Vault (EV) copies to vault enabled mailboxes.
- Additional details regarding the EVPM utility and how to construct scripts can be found in the Enterprise Vault Documentation.