Enterprise Vault archive task does not archive mails from a user mailbox

book

Article ID: 100010068

calendar_today

Updated On:

Description

Error Message

The following errors can be seen in the Dtrace log. Refer to the related articles section for more details on how to enable Dtrace logging.

The error shown in the ArchiveTask process is as follows:

EV:H    {CArchivingAgent::processMailboxesInChunks2k:#9336} The account [/O=Organization Name/OU=OU NAME/cn=Recipients/cn=userName] is disabled and won't be processed until reactivated.

The error from the EvExchangePolicySyncTask process is as follows:

EV-L       {ADObjProperties..ctor} Loaded properties for 'User' object [GC://DC.kvs.local/CN=User9,OU=Demo,DC=kvs,DC=local]:|objectCategory = [CN=Person,CN=Schema,CN=Configuration,DC=kvs,DC=local]|distinguishedName = [CN=User9,OU=Demo,DC=kvs,DC=local]|displayName = [User9]|legacyExchangeDN = [/o=KVS/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=User9]|proxyAddresses = [SMTP:User9@kvs.local]|mailNickname = [User9]|msExchMailboxGuid = [5effa2e20f01aa4986b97fc63044a324]|whenCreated = [2/08/2011 2:31:27 AM]|msExchUserAccountControl = [2]|msExchHideFromAddressLists = []|homeMDB = [CN=Mailbox Database 01,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=KVS,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=kvs,DC=local]|l = []|company = []|c = []|co = []|countryCode = []|department = []|employeeType = []|givenName = []|sn = []|physicalDeliveryOfficeName = []|st = []|title = []|msExchMasterAccountSid = []|mDBUseDefaults = [True]|mDBStorageQuota = []|mDBOverQuotaLimit = []|mDBOverHardQuotaLimit = []|objectSid = [01050000000000051500000004a3a651cc9643e0804b725557040000]|msExchRecipientTypeDetails = [System.__ComObject]

Cause

Check the value of the msExchUserAccountControl attribute by using the ADSIEDIT and it should be "0", as in this case it was "2" as shown below:

Resolution

Usually the value of the msExchUserAccountControl attribute should be updated by the Recipient Update Service (RUS) or by running the Update-Recipient PowerShell cmdlet.  

If it can't be updated or populated correctly, then the procedure below should be followed to manually modify the value:

  • Change the AD attribute msExchUserAccountControl manually using “ADSI Edit (adsiedit.msc)” Refer to Microsoft documentation for further instructions on how to perform this task.
  • Run the provisioning task.
  • Execute the SQL query statement below against EnterpriseVaultDirectory database to check if the AdmbxFlags value is updated to “0” as normal.

    SELECT AdMbxFlags, MbxDisplayName

    FROM ExchangeMailboxEntry

    WHERE AdmbxFlags = 0  

What does the AdmbxFlags value mean?:  

Column Name

Value

What does it mean?

AdmbxFlags

0

Normal

AdmbxFlags

1

Mailbox is hidden

AdmbxFlags

2

AD account is disabled

AdmbxFlags

3

Mailbox is hidden and AD Account is disabled

 

 

Issue/Introduction

The Enterprise Vault (EV) archive task does not archive mails from a user mailbox. The Active directory (AD) user account is not disabled from AD or hidden from the Global Address List (GAL). The account properties regarding Account is disabled is shown as below.