IDN: Provisioning Policies

Hello, all. I have a question on which provisioning policy usageType correlates to the removal of an entitlement. I have reviewed the documentation here create-provisioning-policy | SailPoint Developer Community which lists out the usageType options, but I am having a hard time discerning which usageType is utilized when an entitlement is removed.

As context for my question, I am working to integrate an application that was built in-house as a web services connector, and I need to pass along the user’s manager’s email when deprovisioning an entitlement so that some logic inside the application can run as expected.

I have tried several usageTypes and cannot seem to land on the right one. An example of the provisioning policy I am using:

{
    "name": "Update",
    "description": null,
    "usageType": "UPDATE",
    "fields": [
        {
            "name": "userName",
            "transform": {
                "type": "identityAttribute",
                "attributes": {
                    "name": "email"
                }
            },
            "attributes": {},
            "isRequired": false,
            "type": "string",
            "isMultiValued": false
        },
        {
            "name": "managerEmail",
            "transform": {
                "type": "identityAttribute",
                "attributes": {
                    "name": "managerEmail"
                }
            },
            "attributes": {},
            "isRequired": false,
            "type": "string",
            "isMultiValued": false
        }
    ]
}

Hopefully this one isn’t too difficult! Appreciate any insight.

Here’s a list of all possible values for usageTypes:

Usage Types: [CREATE, UPDATE, ENABLE, DISABLE, DELETE, ASSIGN, UNASSIGN, CREATE_GROUP, UPDATE_GROUP, DELETE_GROUP, REGISTER, CREATE_IDENTITY, UPDATE_IDENTITY, EDIT_GROUP, UNLOCK, CHANGE_PASSWORD]

Thanks Sharvari. I appreciate your response. I did see that on the documentation page I linked. What I do not know - and can’t figure out from the documentation - is which usage type is used when an entitlement is added or an entitlement is removed.

If you’re looking for usageType used when a group is added/removed to/from a user, it would be UPDATE.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.