IdentityIQ SCIM 2.0 Add Entitlement sends incorrect PATCH payload for group membership / members attribute

Which IIQ version are you inquiring about?

8.3p5

Share all details about your problem, including any error messages you may have received.

Hi all,

I am working on a SailPoint IdentityIQ SCIM 2.0 connector integration with a target application. Account and group aggregation are working, and account creation is also working. The issue is with Add Entitlement when assigning a user to a SCIM group.

The entitlement attribute on the account schema is groups, and the group schema has a members attribute. The target application expects group membership updates through the Group endpoint, using a SCIM PATCH request to update members.

When I request an entitlement assignment in IIQ, the provisioning item looks like this:

Operation: Add
Item: groups
Value:
Account:

The target application is receiving the following PATCH payload from IIQ:

{
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:PatchOp"
  ],
  "Operations": [
    {
      "op": "add",
      "value": {
        "members": {
          "value": "99900001"
        }
      }
    }
  ]
}

However, the target application expects this SCIM PATCH format:

{
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:PatchOp"
  ],
  "Operations": [
    {
      "op": "add",
      "path": "members",
      "value": [
        {
          "value": "99900001"
        }
      ]
    }
  ]
}

The current IIQ-generated payload is missing:

“path”: “members”

and it is sending members as a single object:

"members": {
  "value": "99900001"
}

instead of sending the PATCH operation value as an array:

"value": [
  {
    "value": "99900001"
  }
]

The error returned by the target application is:

Error code : 400
{
“detail”: “Invalid PATCH value: ‘{‘value’: ‘99900001’}’ is not a valid ‘list’ value for the attribute ‘members’”,
“schemas”: [“urn:ietf:params:scim:api:messages:2.0:Error”],
“scimType”: “invalidValue”,
“status”: “400”
}

I also tested provisionMultivaluedRFCCompatible=true, but this did not change the Add Entitlement PATCH payload generated by IIQ.

How can I configure the IdentityIQ SCIM 2.0 connector so that Add Entitlement for a group sends this PATCH operation:

{
  "op": "add",
  "path": "members",
  "value": [
    {
      "value": "<userId>"
    }
  ]
}

Specifically, I am trying to understand:

  1. Is there an Application XML setting or schema property mapping that controls whether the SCIM connector sends path: "members" during Add Entitlement?

  2. Is the account-side groups mapping expected to use SCIM2PropertySetter, or should it use SCIM2MultiValuedPropertySetter?

  3. Does the SCIM 2.0 connector support generating the RFC-style Group membership PATCH operation for Add Entitlement?

  4. If not, is there a supported rule/customization approach in IdentityIQ to modify the SCIM PATCH body before it is sent?

Any guidance would be appreciated.

Thanks.

Hi @karangulati
Would recommend you to reach out to SailPoint support for the same.
Alternatively you can use WebServices connector to achieve the same.

@karangulati Please setSCIM2MultiValuedPropertySetterand multi=true on the members schema attribute. Please check this post for reference.

Also, this is a known gap — the connector generates the non-path format by default. I don’t think it support RFC style approach.

As it’s a SCIM connector, you’ll have limited flexibity to modify the payload. You might want to switch to Webservices.

Also, please connect with Sailpoint in case the limitations/issues are already addressed in any ETN or later versions.

Instead of SCIM connector, you can opt web service connector and proceed with application integration, so that you will have more flexibility to modify the request body

I believe we may not be able to customize the payload for the API during provisioning. In that case, you might consider using the web services connector, which would allow us to customize as needed and work with the APIs from SailPoint.

Hi all,

Thanks for the responses and suggestions.

I was able to get the group membership PATCH working. The issue was caused by using Relaxed Configuration / Non-compliant Server. I had this option ticked because it helped me see more attribute values during preview/aggregation, but with relaxed config enabled the Add Entitlement payload was generated in the non-path format.

After unticking Non-compliant Server / setting relaxConfiguration=false, IIQ started sending the correct PATCH payload for group assignment. So the group assignment issue is now resolved.

However, I have now come across another issue with one required account attribute: division.

The target application requires division during Create User. This is not part of the core User schema. It belongs to the SCIM Enterprise User extension schema. The JSON path mapping for division is:

And I am using the Enterprise extension schema property mapping:

The issue is that account creation succeeds, but the target user is created without the Enterprise extension object.

Because of that, division also does not show during preview/aggregation or on the IIQ account link.

For IdentityIQ 8.3p5 SCIM 2.0 connector, is the above jsonPathMapping and SchemaPropertyMapping the correct way to provision/read an Enterprise extension attribute such as division? Is there any additional application XML setting required so IIQ sends the Enterprise extension object in the create payload? Would a Before Provisioning rule help here?

Any help would be appreciated.

Thanks again for assisting.

@karangulati Seems the schema mapping which you wanted to shared, didn’t copy properly. Could you please share it again,