Leveraging Intelligent Recommendations for Operational Transformation. AMS Partners click HERE | EMEA/APJ Partners click HERE |
05/23/2024 05:33 AM
Hi,
I am getting the following error while enabling a disabled account on AD:
Checking DN for CN=AD.Test17,OU=Saviynt_Dev_2,OU=Saviynt UAT,OU=OUName,DC=domain,DC=local. Error while searching for DN-Cannot invoke method equalsIgnoreCase() on null object Checking DN for CN=AD.Test171,OU=Saviynt_Dev_2,OU=Saviynt UAT,OU=OUName,DC=domain,DC=local. Checking DN for CN=AD.Test172,OU=Saviynt_Dev_2,OU=Saviynt UAT,OU=OUName,DC=domain,DC=local. Checking DN for CN=AD.Test173,OU=Saviynt_Dev_2,OU=Saviynt UAT,OU=OUName,DC=domain,DC=local. Checking DN for CN=AD.Test174,OU=Saviynt_Dev_2,OU=Saviynt UAT,OU=OUName,DC=domain,DC=local. Checking DN for CN=AD.Test175,OU=Saviynt_Dev_2,OU=Saviynt UAT,OU=OUName,DC=domain,DC=local. SAV-Error while enabling account,No account found using disable rules
The enableAccountJSON is:
{
"USEDNFROMACCOUNT": "NO",
"DISABLEACCOUNTCHECKRULE": [
"CN=${user.username},OU=Saviynt_Dev_2,OU=Saviynt UAT,OU=OUName,DC=domain,DC=local",
"CN=${user.username}1,OU=Saviynt_Dev_2,OU=Saviynt UAT,OU=OUName,DC=domain,DC=local",
"CN=${user.username}2,OU=Saviynt_Dev_2,OU=Saviynt UAT,OU=OUName,DC=domain,DC=local",
"CN=${user.username}3,OU=Saviynt_Dev_2,OU=Saviynt UAT,OU=OUName,DC=domain,DC=local",
"CN=${user.username}4,OU=Saviynt_Dev_2,OU=Saviynt UAT,OU=OUName,DC=domain,DC=local",
"CN=${user.username}5,OU=Saviynt_Dev_2,OU=Saviynt UAT,OU=OUName,DC=domain,DC=local"
],
"ATTRIBUTESTOCHECK": {
"sAMAccountName": "${user.username}",
"sn": "${user.lastname}",
"givenName": "${user.firstname}"
},
"MOVEDN": "YES",
"ENABLEACCOUNTOU": "OU=Saviynt_Dev_1,OU=Saviynt UAT,OU=OUName,DC=domain,DC=local",
"AFTERMOVEACTIONS": {
"userAccountControl": "512"
},
"REMOVEGROUPS": "YES"
}
What can be going wrong?
Thank you.
05/23/2024 11:02 PM - edited 05/23/2024 11:03 PM
The issue was solved from using the following JSON:
{
"USEDNFROMACCOUNT": "YES",
"MOVEDN": "YES",
"REMOVEGROUPS": "NO",
"ENABLEACCOUNTOU":"OU=Saviynt_Dev_1,OU=Saviynt UAT,OU=OUName,DC=Domain,DC=local",
"healthscopeUID": "${user.username}",
"AFTERMOVEACTIONS" : {
"userAccountControl": "512"}
}
Can someone please explain what is healthscopeUID, I am not able to find about it in docs.