Then DTrace the EvExchangePolicySyncTask process, search for the term exception in the logs.
{EXCHANGEPOLICYSYNCHRONIZATION.EN_US} Exception raised for user [CN=Joe Bloggs, OU=Accounts,OU=Enterprise Vault,OU=Services,DC=test,DC=net] in provisioning group [Test Mailbox Archiving] / [TEST\EV Mailbox Archiving] - Exchange server [CN=Exchange01,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=Test Group,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=test,DC=net] is not part of the domain. Stack trace: at KVS.EnterpriseVault.ExchangePolicySync.ExchangePolicySynchronization.GetExchangeServerID(String mailboxDatabase)| at KVS.EnterpriseVault.ExchangePolicySync.ExchangePolicySynchronization.UpdateMailboxEntry(UserProperties userProps, PolicyTargetInfo targetInfo, ExchangeMailboxEntry mbxEntry, Int32 storeID, Boolean bRelink)| at KVS.EnterpriseVault.ExchangePolicySync.ExchangePolicySynchronization.ProcessCreateOrUpdateMailboxEntry(UserProperties userProps, PolicyTargetInfo targetInfo)| at KVS.EnterpriseVault.ExchangePolicySync.ExchangePolicySynchronization.WorkerThreadFunc()
Run AdsiEdit.exe to view the directory structure of the Domain in Active directory and locate the user. Check the full path for the user, here is an example,
[CN=Exchange01,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=Test NET,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=test,DC=net]
You can also verify this by checking the LegacyMbxDN in SQL for the Exchange target:
SELECT * FROM ExchangeServerEntry
CN=EXCH9,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Test Group,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=knox9,DC=com
The problem is the CN=Test Group, which is being used within the EnterpriseVaultDirectory Database.
EV is determining that the mailboxes are in a different domain. This is usually caused by a change to the Active Directory structure or the target Exchange Servers have indeed been moved to a new domain.
The solution is to remove and re-create the Exchange targets.
To do this follow these steps.
When running the Provisioning task the following can be seen within the report generated for some users. Mailbox not processed as located in an Exchange mailbox database that is not in the current domain or on an Exchange Server that has not been added as a target Enabling and disabling new mailboxes may fail along with Archiving and Synchronisation.