EnableAccountJSON in AD connection

HarishG
New Contributor II
New Contributor II

Hi,

when we are trying to enable AD account using UserUpdate Rule, the tasks are created and completed after running provisioning Job. But the UserAccountControl of the account is not changed to 512 and still remains as 514. Which makes accounts inactive after running reconciliation job.

Any idea what to change?

EnableAccountJSON:

{
"ENABLEACCOUNTOU": "OU=xxxxxxxx",
"ATTRIBUTESTOCHECK": {
"useraccountcontrol": "514"
},
"USEDNFROMACCOUNT": "YES",
"MOVEDN": "YES",
"AFTERENABLEACTIONS": "{userAccountControl : 512}"
}

 

Best regards

Harish

5 REPLIES 5

rushikeshvartak
All-Star
All-Star

Change 

useraccountcontrol To userAccountControl

HarishG
New Contributor II
New Contributor II

Hi @rushikeshvartak,

I changed it. But still the same issue. userAccountControl is not changing to 512. 

Screenshot 2022-12-07 at 10.52.06.png

it is also making the accounts inactive and also orphan after running the reconciliation job.

Enakshi
Saviynt Employee
Saviynt Employee

Try this - "AFTERENABLEACTIONS": {"userAccountControl" : "512"}

Please share logs