We have a Web service based connector wherein the entitlements are being provisioned via the SailPoint roles (ABAC).
In cases when the account is disabled in the app itself, since the user is assigned the role, the account is reactivated in the app.
How can these entitlements be removed for users in case of :
Leavers (when user is terminated) i.e. lifecycle state inactive
movers (when user switches departments)
You can use the Source attribute ( it could be something like Status ,isActive / Active / Enabled etc ) in the assignment criteria to remove the role once account is deactivated . Also you can add additional condition where you can add the user LCS in assigmnet criteria.