SAP Knowledge Base Article - Public

3411806 - Patching user attributes with the SCIM API is not consistent in SAP Analytics Cloud (SAC)

Symptom

When using the restful call PATCH {{TenantURL}}/api/v1/scim2/Users/<userid> to update the user attributes of a user (Specifically familyName, givenName, and formatted), they do not get updated properly.

Environment

  • SAP Analytics Cloud (Enterprise) 2023.21

Reproducing the Issue

  1. Make a PATCH call to {{TenantURL}}/api/v1/scim2/Users/<userid> with a body similar to

    { "schemas":
    [ "urn:ietf:params:scim:api:messages:2.0:PatchOp" ],
    "Operations": [
    { "op": "replace", "path": "name", "value": { "familyName": "test1", "givenName": "test1", "formatted": "test1 test1" }}
    ]
    }

  2. Note that the user does not get updated correctly

Cause

  • In Security > Users in SAP Analytics Cloud, in the list of users, the columns for the FIRST NAME and LAST NAME have a link/paperclip symbol.
  • When hovered, it states: "This column reads the information from the linked identity provider when a user logs in. While creating a new user you can provide interim information."
  • The reason it is not possible to update the values through SCIM, it's because those values are configured to be synced to the default IdP directly.

Resolution

  • If you do not wish to sync attributes from the default IdP, then you switch to a custom IdP.
  • If you already with Custom IdP and attributes have paperclip symbol In Security > Users in SAP Analytics Cloud, click on SAML mapping icon in the tool bar and delete the mapping for required fields.

See Also

Your feedback is important to help us improve our knowledge base.

Keywords

SAC, RESTful, SCIM, Patch, update, user , KBA , LOD-ANA-DES , Story Design & Visualizations , LOD-ANA-ADM , SAC Administration , Problem

Product

SAP Analytics Cloud 1.0