I’m looking for information on how to use a PS AfterModify rule for an AD connector based on an entitlement addition. I’ve found how to pull an attribute change from a request within the rule, but I haven’t seen a way to see entitlement changes.
My use case is I need to call a PowerShell script on our IQService server when a user is added to a specific AD group. How can I accomplish this?
You can use Get-AttributeValueFromAccountRequest function in the after script template which will help you to get the attribute value from account request.
You need to create Connector After Modify Rule and Attach to the AD Source, check this doc for more info.
This Rule will invoke a PowerShell Script in your IQ Service. Basically this Rule gets executed whenever AD account gets modified, whether it is entitlement or any attribute. You can check the Account Request to extract all the attributes including entitlements that were part of provisioning.