Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

[AD] Remove unwanted proxy addresses

wyung
New Contributor
New Contributor

Dear Forum,

Would like to check if anyone has encountered this before, we are currently using the same logic in the CREATEACCOUNT JSON and UPDATEACCOUNT JSON for the proxy attributes, and found out when update account task run, it will not remove the unwanted smtp and only append the new smtp in proxy address attributes.

Want to check any ways we can remove the old and unwanted proxy.

3 REPLIES 3

khalidakhter
Saviynt Employee
Saviynt Employee

Hi @wyung 

You can use REPLACE operation if you want to replace the target value with the proxy addresses mentioned in the Update Account JSON. Attaching a sample below.

{"proxyAddresses":{"Replace":["smtp:TestUser@test.com","smtp:TestUser1@test.com","smtp:TestUserajd123424@test.com","SMTP:TestUser11111111@test.com"]}}

  

wyung
New Contributor
New Contributor

Hi @khalidakhter ,

Tried the replace command, but sadly it does not work, I can still see the unwanted smtp stayed in proxy addresses array.

khalidakhter
Saviynt Employee
Saviynt Employee

@wyung I will check and update asap.