0
Answered

Error on AD group provisioning: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection

Adrian Corston 1 year ago in UNIFYBroker/Microsoft Active Directory updated by Beau Harrison (Senior Software Engineer) 1 year ago 2

The following error is occuring when I provision an AD group using the Active Directory connector.  The group provisions just fine, but the following error is logged:

I will put the UNIFYConnect customer environment details in the next message, for access to the log files and config.

Affected Versions:
Fixed by Version:

Answer

Answer
Answered

Hi Adrian

You'll need to set the Primary Object Class configuration on the connector to "Group", instead of "User". This field is used in the filter of a confirmation search request made after an entity is added to AD.

Answer
Answered

Hi Adrian

You'll need to set the Primary Object Class configuration on the connector to "Group", instead of "User". This field is used in the filter of a confirmation search request made after an entity is added to AD.

Thanks Beau!  Sorry for the configuration error on my behalf :)