Issue

The EV Provisioning Module may log the following error while command ZapArchivePermissions is being executed in Stage2:

2015-04-09 07:18:18Z|5592|
13|ERROR|                             ZapArchivePermissions|Exception
while trying to get exchange data from EV DB  System.String
GetLegacyMbxDNForArchiveID(System.String) Found no entry for VaultID: 1DFC5F7021CDAB04FA4F5C1CDB2C10FE71110000EVSITE    at ArchiveShuttle.DAL.EV.Wrapper.Directory.EVDALBase.GetLegacyMbxDNForArchiveID(String archiveID)    at ArchiveShuttle.Module.EVProvisioning.EVExchangeData.GetForArchiveID(String archiveID)   
 at
ArchiveShuttle.Module.EVProvisioning.EVPMExecutor.ZapArchivePermissions(EVZapArchivePermissionsData
 archivePermissionsData) 2015-04-09 07:18:18Z|5592|
13|ERROR|                             ZapArchivePermissions|Problem with
 zapping archive permissions  System.String
GetLegacyMbxDNForArchiveID(System.String) Found no entry for VaultID: 1DFC5F7021CDAB04FA4F5C1CDB2C10FE71110000EVSITE    at ArchiveShuttle.DAL.EV.Wrapper.Directory.EVDALBase.GetLegacyMbxDNForArchiveID(String archiveID)    at ArchiveShuttle.Module.EVProvisioning.EVExchangeData.GetForArchiveID(String archiveID)   
 at
ArchiveShuttle.Module.EVProvisioning.EVPMExecutor.ZapArchivePermissions(EVZapArchivePermissionsData
 archivePermissionsData)

 

Solution

This may mean that Archive Shuttle cannot get the Legacy Mailbox DN attribute from the Enterprise Vault Directory Database for that ArchiveID. Check if such entry exists in the [ExchangeMailboxEntry] table for the specific user.
The following queries can be used to check this:

SELECT * FROM [EnterpriseVaultDirectory].[dbo].[ExchangeMailboxEntry] WHERE DefaultVaultId = 'xxx'

or

SELECT * FROM [EnterpriseVaultDirectory].[dbo].[ExchangeMailboxEntry] WHERE MbxDisplayName LIKE '%user name%'

If confirmed, that there are no matches for the SQL queries above for the problematic users, then the following can be done:
1. Investigate why the SQL entries are missing in the EV source database as the Archive Shuttle is looking for such SQL entry [Legacy Mailbox DN] to successfully execute the stage2 command ZapArchivePermissions.
2. The command ZapArchivePermissions can be skipped and the inherited permissions can be removed some other way from the source EV archive, e.g. manually.

Print Friendly, PDF & Email