Account not disabled after user moved in AD

You can create Provisioning Policy forms through Postman or VSCode.

It’s convenient with VSCode, just goto sources → expand your source → click + sign next to Provisioning Policies and choose Disable. Use below config

{
    "name": "Disable Account",
    "description": null,
    "usageType": "DISABLE",
    "fields": [
        {
            "name": "AC_NewParent",
            "transform": {
                "type": "static",
                "attributes": {
                    "value": "OU=Disabled,OU=Accounts,DC=xyz,DC=com"
                }
            },
            "attributes": {},
            "isRequired": false,
            "type": "string",
            "isMultiValued": false
        }
    ]
} 
1 Like