Share all details related to your problem, including any error messages you may have received.
Hi All, in current implementation we are removing all roles adn entittlments and disabling applicaiton accounts when user leaves the organization. However it is not working sa expected in case of serviceNow application. The account is getting disabled but the entitlements(groups) can still be seen as provisioned to the user in IIQ.
Any specifix reason for this. How can we remove those groups in target.
Thanks!
Hi Mayuri,
IIQ by default when executing DISABLE operation - disables account, it’s not removing anything from it. The easiest way to do that would be to write BeforeProvisioningRule where in case of DISABLE operation you add MODIFY operation to remove entitlements.
if setting entitlementAttribute to null will not work then you will have to get all current entitlements from the link, iterate over them and for each value create separate AttributeRequest with REMOVE operation - like that
List links = identity.getLinks();
for(Link link : links) {
if(link.getApplicationName().equals(accountRequest.getApplication()) && link.getNativeIdentity().equals(accountRequest.getNativeIdentity()) {
newAccountRequest.add(new AttributeRequest(entitlementAttributeName,Operation.Remove,link.getAttribute(entitlementAttributeName)));
}
}