The agent reports "A constraint violation occurred. (exception from hresult: 0x8007202f)"


When you are creating or modifying an Active Directory object, you may find the following error reported:

Could not commit the setting for Active Directory property 'PropertyName' to 'Value'. A constraint violation occurred. (Exception from HRESULT: 0x8007202F)


The setting that XIA Automation has been instructed to set for the value is not valid for the property and has been rejected by Active Directory. This can occur if the value is too long or of the wrong type.


Review the Microsoft documentation for the specified property and ensure that the value specified is valid.