Adding Multiple proxy addresses in Active diretory

mustaphafilahy
Tera Contributor

Hi

I am trying to add multiple proxy addreses( like below) in AD user using orchestration activity pack .It works fine if i add only 1 proxy address I tried different methods and all of them failed. Could not understand the reason behind it. Kindly help

 

workflow.scratchpad.proxyAddresses ="SMTP:domain1@test.com"; // : works fine when i add 1 adress

 

//set the proxyAddresses
 object += '"proxyAddresses" : "' + workflow.scratchpad.proxyAddresses + '" , ';

 

find_real_file.png

 

Regards.

3 REPLIES 3

Mike_R
Kilo Patron
Kilo Patron

Did you ever find a solution/workaround to this? I'm having the same issue

Vlad Capatina
Kilo Explorer

No workaround so far.

Will Wilson
Giga Contributor

I'm currently trying to do this at the moment with a process I am trying to automate, where I may need to update the proxy addresses, while keeping the existing ones. I think the following might be one way, well, I'm going to try it anyway.

Query AD to get the users attributes

Read out the proxyaddresses

Modify/remove where required and store in scratchpad

Create a custom powershell script using AD module, to pass these into line by line and the use the:

-Add @{'proxyAddresses'= ......method, and see if it works.

 

If it works, I'll pop back by and let you know.