we are in the process of integrating our Privileged Role management on Azure with our Identity Security Cloud solution.
We are utilizing the standard Azure AD connector.
So far we have been able to load in all the privileged roles (below an example) :
The attributes on which is eligible and which is an active assignment is split per entitlement.
Anyways, now we would like to establish the provisioning from IAM.
When assigning an active assignment, the role is added for 6 months.
We need to modify this default value.
When checking the documentation, it says :
activeRoleExpiresAfter
Specifies the default duration for which Azure and Microsoft Entra ID Active roles must be assigned to user. The values must be in the ISO_8601 format.
For example, if eligible role must be assigned for 10 Hours, use
But where should we update this Value ?
I have looked into the source configuration and have not found any “activeRoleExpires” attribute there.
Also, we do not have any settings on Azure that would enforce it.
Hi Adam,
Have been able to configure the settings for Entra ID PIM provisioning policy attributes via rules in ISC.
Currently, I want to set eligible roles align to users permanently rather than getting expire after a fixed duration.
<![CDATA[
import sailpoint.object.ProvisioningPlan;
import sailpoint.object.ProvisioningPlan.AccountRequest;
import sailpoint.object.ProvisioningPlan.AttributeRequest;
import sailpoint.object.Attributes;
import java.util.HashMap;
import java.util.Map;
// Log rule execution
log.info("Executing Before Provisioning Rule for all applications");
// Iterate over all account requests in the provisioning plan
for (AccountRequest accountRequest : plan.getAccountRequests()) {
// Iterate over all AttributeRequests
for (AttributeRequest attributeRequest : accountRequest.getAttributeRequests()) {
// Target azureADActiveRoles and azureADEligibleRoles AttributeRequests
if ("azureADActiveRoles".equals(attributeRequest.getName()) ||
"azureADEligibleRoles".equals(attributeRequest.getName())) {
// Create MAP duuuuuh
Map argsMap = new HashMap();
argsMap.put("duration", "permanent");
// Wrap the MAP inside Attributes object
Attributes attributes = new Attributes();
attributes.putAll(argsMap);
// Set arguments in the attribute request
attributeRequest.setArguments(attributes);
// Log for testing
log.info("Successfully set duration to: permanent");
}
}
}
]]>