We have webservice source that does not support entitlement removal. Accounts only get 1 entitlement, and if that entitlement would be removed (either by role assignment change or access review revocation) the account needs to be deleted instead.
We are using the “Services Standard IdentityNow BeforeProvisioning Rule” successfully already to change disable operation to delete when a user changes to inactive with this eventConfiguration:
{
"eventActions": [
{
"Action": "ChangeOperation",
"Attribute": null,
"Value": "Delete"
},
{
"Action": "RemoveEntitlements",
"Attribute": "Admin_Type",
"Value": null
}
],
"Identity Attribute Triggers": [
{
"Attribute": "cloudLifecycleState",
"Value": "inactive",
"Operation": "eq"
}
],
"Operation": "Disable"
}
I have tried adding the below to change any modify operation to a delete operation, but I am not seeing the expected results.
{
"eventActions": [
{
"Action": "ChangeOperation",
"Attribute": null,
"Value": "Delete"
},
{
"Action": "RemoveEntitlements",
"Attribute": "Admin_Type",
"Value": null
}
],
"Operation": "Modify"
}
Has anyone run into anything similar?