When provisioning to Active Directory, IQService returns the error "Errors returned from IQService. Length cannot be less than zero. Parameter name: length"
This error typically occurs when provisioning to AD while the identity attribute is set to a non-standard attribute in the Account Schema.
When provisioning to an AD application, the Identity Attribute must be set to "distinguishedName" in the Account Schema. This should be the default when defining at AD application and should not be changed.
If the setting has changed, it can be restored by completing the following steps: