Insights on scimPatchGroup() appian function

Hi everyone,

We're working with the scimPatchGroup() function from Appian's SCIM User Management application and would appreciate some clarification on the expected inputs for each parameter based on our current configuration.

Here’s what we have so far:

  • scimGroupType: We're passing 1, which corresponds to the Group Type ID for our SCIM-managed groups (1 - SCIM). This is the group type under which the group (from which users are being removed) is defined.

  • jsonBody: We're using the following format:

    {
      "schemas": "urn:SCHEMA",
      "Operations": [
        {
          "op": "remove",
          "path": "members",
          "value": [
            {
              "value": "abc@gmail.com"
            }
          ]
        }
      ]
    }
    
  • attributeMappings: We're using the default mappings from the SCIM application:
  • [
      {
        "appianAttribute": "ExternalId",
        "scimAttribute": "externalId",
        "jsonPath": "$.externalId"
      },
      {
        "appianAttribute": "GroupName",
        "scimAttribute": "displayName",
        "jsonPath": "$.displayName"
      },
      {
        "appianAttribute": "Members",
        "scimAttribute": "members",
        "jsonPath": "$.members"
      }
    ]
    
  • On passing these parameters, we are getting Error 500: 

  • Can anyone please help what we are missing?

    Thanks in advance for your help!

  Discussion posts and replies are publicly visible