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

Provisioning Task stays in Pending Tasks list even though it worked

TimoR
New Contributor III
New Contributor III

This topic is about using the ENABLEACCOUNTJSON for Active Directory.

The content of the ENABLEACCOUNTJSON is currently as follows:

{
"USEDNFROMACCOUNT": "NO",
"DISABLEACCOUNTCHECKRULE": [
"CN=${user.systemUserName},OU=Users 2,[...]"
],
"AFTERMOVEACTIONS": {
"userAccountControl": "512"
},
"REMOVEGROUPS": "NO",
"RESETPASSWORD": "YES"
}

(Parts of the DISABLEACCOUNTCHECKRULE have been shortened with [...] for privacy reasons.)

When we run the provisioning job, the respective account gets enabled successfully in Active Directory, but the task stays in the pending task list and does not get moved into the completed tasks list.

In the provisioning comments, it says the following:

Checking DN for CN=K_123527,OU=Users 2,[...]. FOund an inactive account -CN=K_123527,OU=Users 2,[...] and the attributes-[:] match. This account will be enabled 

So it should be fine, right?

Can anyone help me determine why this task does not get completed, even though what should be done has been done?

Thanks

2 REPLIES 2

rushikeshvartak
All-Star
All-Star

It should be issue in overall json


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

I found the problem myself, I was missing the following line, after putting this in, it worked as expected:

"MOVEDN": "NO",