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

AccountExpires throwing error in updatejson, if we pick date alone

Sekhar
New Contributor III
New Contributor III

Hi Team,

Client requirement is update the enddate alone(without time stamp) in accountexpires attribute in AD.

my attribute mapping is enddate with accountexpires in AD.

It would be great, if you give some input to achieve.

Thanks,

Sekhar

1 REPLY 1

smitg
Regular Contributor III
Regular Contributor III

Hi @Sekhar 

Can you try with below 
${10000*(Date.parse('MM-dd-yyyy',user?.enddate).getTime())+116444952000000000}

Thanks
Smitha