I’m currently working on WebService SaaS connector and stuck with add entitlement method.
So, my application doesnt support calling user api and then pass group details to add the entitlements. It supports calling group api and pass user id details thus, have configured my “Add Entitlement” method as http call “/scim/v2/groups/$plan.groups$” with below body
{
“operations”: [
{
“value”: [
{
“value”: “$plan.id$”
}
],
“path”: “MEMBERS”,
“op”: “add”
}
]
}
My call is passed but entitlement not added to the application. Any suggestions or has anyone experienced this.
@NeetuDixit did you bring in the entitlements and have added the entitlement types using entitlement aggregation operation.
you need to use $plan.nativeIdentity$ for passing the users
Instead of passing group name in the URL, can you try passing groupId? $plan.groupId$. Check the provisioning plan and see if group Id is coming there.
Also, this should be “value”: “$plan.nativeIdentity$”
groups attribute holds the group id. As my user schema & group schema both had the ID hence configured groups as the id & groupname as the group description attribute in the schema.
This worked with the same body and api. Content-Type header with value as “application/json-patch+json” was creating the issue. After removing the header, SailPoint able to add entitlement to the source.