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 Disable Task error

AK_28
New Contributor
New Contributor

Hi, I am trying to disable the AD account  using User update rule but it is giving me error while when the task is provisioned (this is a mover scenario)

LDAP: error code 21 - 00000057: LdapErr: DSID-0C0910C0, comment: Error in attribute conversion operation, data 0, v3839

The disable account works fine when I terminate the user, the termination also happens via user update rule. 

Can you help me out.

Disable Account JSON:

{
"moveUsertoOU": "OU=DisableduserTest,OU=test,DC=xyz,DC=xyz,DC=xyz",
"userAccountControl": "514",
"extensionAttribute1": "",
"deleteAllGroups": "Yes",
"accountExpires": "${(10000*(user.enddate.getTime() + 7776000000+ 11644473600000))}",
}

6 REPLIES 6

indra_hema_95
Regular Contributor III
Regular Contributor III

Hi @AK_28 Can you please share your 2 user update rule details? It looks like data issue.

Regards,

Indra

AK_28
New Contributor
New Contributor

This is the mover user update rule 

AK_28_2-1725876911978.png

 

This is the termination rule

AK_28_1-1725876477802.png

 

Does user have valid end date ?


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

AK_28
New Contributor
New Contributor

In the termination the user have end date but in the mover the user does not have end date. How can I change the json to remove the error?

 

{
  "moveUsertoOU": "OU=DisableduserTest,OU=test,DC=xyz,DC=xyz,DC=xyz",
  "userAccountControl": "514",
  "extensionAttribute1": "",
  "deleteAllGroups": "Yes",
  "accountExpires": "${(user.enddate != null) ? (10000*(user.enddate.getTime() + 7776000000 + 11644473600000)) : '0'}"
}

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

NM
Honored Contributor II
Honored Contributor II

Hi @AK_28 use if else condition for end date if a person has an end date pass the value otherwise 0