LDAP - Multivalued Attribute - Update Account JSON

09
New Contributor III
New Contributor III

 when a multi valued attribute is updated we want the same value to be added to AD. Right now whenever a update happens its appending the values rather than replacing. 

 

So, the QQ is, how to remove the old values in multi valued attribute than appending on updates

 

EX:

Existing values of a user:

saviynt cp12: 1,2,3,4

AD ex1: 1,2,3,4

User updated his profile in saviynt
saviynt cp12: 1,2,3,5

expected output:

AD ex1: 1,2,3,5

 

3 REPLIES 3

armaanzahir
Regular Contributor III
Regular Contributor III

Hi @09 

Can you share the updateaccountjson you're using? 

The below reference should solve your issue:

armaanzahir_0-1694687004627.png

Frequently Asked Questions (FAQs) (saviyntcloud.com)

 

 

Regards,
Md Armaan Zahir

09
New Contributor III
New Contributor III

@armaanzahir  the attached screenshot is stating adding values to proxyAddress and target its appending the values than doing a replace operation

QQ, when Saviynt perform LDAP write operation will that replace the values in ldap or append to existing value?

armaanzahir
Regular Contributor III
Regular Contributor III

@09 

Whatever you pass as the value will be replaced on the target. 

For your attribute, you can use:

"<multi valued attr on ad>": ["${user?.customproperty12.toString().replace(',','","')}"]

 

Regards,
Md Armaan Zahir