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

Multiple values in proxyAdresses filed in AD connector

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 20 2021 at 11:23 UTC

Hi Team,


Can any one please guide how to pass update proxyAddresses attribute in below format


"SMTP:flastname@abc.com","smtp:flastname1@abc.com"



Thanks,

Sitarasmi

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.
7 REPLIES 7

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 20 2021 at 18:48 UTC

Hi Sitarasmi,


Please find below a sample that might help you passing proxyAddresses through AD connector :

{     "proxyaddresses":["SMTP:${user.firstname.substring(0,1)}${user.lastname}@abc.com","smtp:${user.firstname.substring(0,1)}${user.lastname}1@abc.com"]  }

I simplified the code to match your example


Best,

Adrien.

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 21 2021 at 10:11 UTC

Thanks Adrien, it helped.


Just one query - for some attributes, which are mapped but don't have any data are shown as null in AD


Eg - title filed - we are not passing any value currently, but maintaining it in createaccountjson in AD. The value in AD is shown as null. This value will be passed in future.


we want to show it as empty in AD


Could you please guide how to achieve it.

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 21 2021 at 12:02 UTC

Hi Sitarasmi,


In your CREATEACCOUNTJSON or UPDATEACCOUNTJSON, just simply mention an empty value as below, where we push the user's title if it is valued, else it sends an empty value.

{   "title":"${null!=user.title?user.title:''}" }



... and don't forget to set the SUPPORTEMPTYSTRING parameter as "FALSE" to make sure the data is being removed on your target AD (as specified in the documentation) : https://saviynt.freshdesk.com/support/solutions/articles/43000578581-active-directory-ad-connector-g...

image


Hope this helps too.


Best,

Adrien.

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 21 2021 at 14:00 UTC

Thank you very much Adrien, its working.


Regards,
Sitarasmi

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 28 2021 at 11:39 UTC

Hi Adrien,

The empty string worked for AD connection JSON, when i tried same with email notification template, its not working.


can you please guide how to handle null value in notification.


Thanks in Advance,

Sitarasmi

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 28 2021 at 12:40 UTC

Hi Sitarasmi,

I answered to this query through this ticket : https://saviynt.freshdesk.com/support/discussions/topics/43000527012.

Please consider opening a separate ticket for each use case so that everyone has an enhanced and efficient research while looking for solutions :-).

Regards,

Adrien.

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 28 2021 at 12:45 UTC

sure, will raise separate queries !


Thanks,

Sitarasmi

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.