When this scenario is required, is it possible to have a variable number of entitlements based on the account being disabled without creating a before provisioning rule - meaning configuration in the UI only in such a way that each instance of entitlement is repeated as specified in the XML scheme?
For example, a user has 3 entitlements, 1,3,6
We need to send a disable body that looks like this: (897 is a disable)
This question might be better answered by the community in the ISC Discussions and Questions category. I can move this post there, but since you shared a code sample, I wanted to ask before I did so.