When synchronizing a multi-valued attribute from Active Directory, only the first value is synchronized across.
You can however use a script to grab all the values and construct the value you want passed.
In the following example, we are synchronizing the groups that users are in by reading and manipulating the memberOf attribute.
In the properties of your workflow step used to perform the update, you will want to modify your Updating Rules for the memberOf attribute. Change the source from memberOf attribute to Script. Use the below script to get all values in the multi-value attribute and construct it all into one line, separated by semi-colons.
Please note the following:
- The script has not been tested by Quality Assurance
- The script is not supported
- It is being offered to provide you a possible solution. Please try this in a test lab before using in any production system
- We cannot guarantee this script will work in later versions of Quick Connect
$groups = $srcObj.GetValues("memberOf")
$value = ""
foreach ($x in $groups)
$value = $value + $x + ";"