Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

AD Account expiry is not updating into AD from Saviynt

Sreejith
New Contributor III
New Contributor III

Hi Team,

We have usecase when ever ENDDATE is passed we will computed enddate as blank and it should updates account expiry as never at AD target.

Note: Tasks are created and completed but its not updated at target.

See AD Updatejson :

 "accountExpires": "${if((user.employeeType.equals('Contractor'))&(user?.enddate!=null)){10000*(user?.enddate.getTime()+11644473600000+18400000)} else {'0'}}",

3 REPLIES 3

DixshantValecha
Saviynt Employee
Saviynt Employee

Hi @Sreejith,

We are checking on your request and we will keep you posted.

DixshantValecha
Saviynt Employee
Saviynt Employee

Hi @Sreejith,

Kindly try below Json and please share the screen shot of the logs:-

"accountExpires": "${if((user.employeeType.equals('Contractor'))&(user?.enddate!=null)){'0'} else {10000*(user?.enddate.getTime()+11644473600000+18400000)}}"

rushikeshvartak
All-Star
All-Star

{
"accountExpires": "${if((user.employeeType.equals('Contractor')) && (user?.enddate != null && !user?.enddate.equals(''))){10000 * (user?.enddate.getTime() + 11644473600000 + 18400000)} else {0}}"
}


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.