Modify value of Enable/Disable Features for OnPremise source

By default, only Create Account policy will be there. You can create other policies either by using API or it is simple using VSCode extension. PFB sample,

{
    "name": "Disable Account",
    "description": "Disable Account Provisioning Policy",
    "usageType": "DISABLE",
    "fields": [
        {
            "name": "AC_NewParent",
            "transform": {
                "type": "static",
                "attributes": {
                    "value": "OU=Disabled,OU=Accounts,DC=abcd,DC=com"
                }
            },
            "attributes": {},
            "isRequired": false,
            "type": "string",
            "isMultiValued": false
        }
    ]
}
{
    "name": "Enable Account",
    "description": "Enable Account Provisioning Policy",
    "usageType": "ENABLE",
    "fields": [
        {
            "name": "AC_NewParent",
            "transform": {
                "type": "static",
                "attributes": {
                    "value": "OU=Application,OU=Accounts,DC=abcd,DC=com"
                }
            },
            "attributes": {},
            "isRequired": false,
            "type": "string",
            "isMultiValued": false
        }
    ]
}
2 Likes