SYSTEM Active Directory Synchronization process failing with Index and length must refer to a location within the string error
Issue
When using the built in SYSTEM Active Directory Synchronization process map, the Job is failing with a Critical_Error_Text:
Index and length must refer to a location within the string
Cause
This error can be caused by incorrect configurations in one of the required Server Variables:
AD_USERNAME
AD_SERVERNAME
Solution
In one case, the AD_USERNAME was set to an AD Path and not a domain user who has the proper permissions to extract information from the configured Active Directory. Secondly, the AD_SERVERNAME was prefixed with a URL. The proper format should be something like this: <SERVER_NAME>/OU=OU_ABC-Sales,OU=OU-ABC
For additional information in regards to proper configurations, see the Online Help through the Designer. Here is link from KTA 7.10:
Level of Complexity
Moderate
Applies to
Product | Version | Build | Environment | Hardware |
---|---|---|---|---|
KTA | All |
References
Add any references to other internal or external articles