Bulk updates to Active Directory account template containers can be performed programmatically using the etautil command-line utility. This method is effective for managing environments with numerous account templates that require container path modifications.
Many of our customers have hundreds of account templates and may need to be updated grammatically. This can be done with the etautil command.
To update the account container for an Active Directory account template, follow these sequential steps:
APJ_SUPPORT).etautil command using the following syntax to update the container path:
etautil.exe -u superuser -p [password] update 'eTADSPolicyContainerName=Active Directory Policies,eTNamespaceName=CommonObjects' eTADSPolicy eTADSPolicyName=APJ_SUPPORT to AccountContainer='(eTTelephone=3334489);eTADSOrgUnitName=SUPPORT,eTADSOrgUnitName=APJ;'
4. Verify that the "Account Container" field in the template properties now reflects the updated Organizational Unit (OU) structure, such as eTADSOrgUnitName=SUPPORT,eTADSOrgUnitName=APJ.
superuser credentials or an account with equivalent provisioning permissions are used.AccountContainer attribute must follow the specific X.500 naming convention used within the Identity Manager provisioning store.