SAP Knowledge Base Article - Public

3337754 - User ID is different from the request body property 'ID' in SAC SCIM API

Symptom

Cannot modify user ID when creating users via SCIM API.

Environment

SAP Analytics Cloud

Reproducing the Issue

  1. Execute the cURL command as such:

    curl -X POST \
    -H "x-sap-sac-custom-auth: true" \
    -H "x-csrf-token: <CSRF Token>" \
    -H "Content-Type: application/json" \
         -d '{
                "schemas": [
                    "urn:ietf:params:scim:schemas:core:2.0:User",
                    "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User",
                    "urn:ietf:params:scim:schemas:extension:sap:user-custom-parameters:1.0"
                ],
                "userName": "chaima.daldoul+10@sap.com",
                "id": "exampleID",
                "preferredLanguage": "en",
                "name": {
                    "givenName": "Example",
                    "familyName": "Example"
                },
                "displayName": "Example Example",
                "active": true,
                "emails": [
                    {
                        "value": "example@email.com",
                        "type": "work",
                        "primary": true
                    }
                ],
                "photos": [],
                "roles": [],
                "groups": [],
            }' \
         "https://<tenant_FQDN>/api/v1/scim/Users"
  2. Notice that the user ID in SAC is auto generated and it's a combination of the characters before the '@' symbol in the email. In this case the user ID will be EXAMPLE.

Note: The CSRF token needs to be configured prior to running this command: https://help.sap.com/docs/SAP_ANALYTICS_CLOUD/14cac91febef464dbb1efce20e3f1613/6ee4d62981474f6eb263de9afaa31cfc.html?q=SCIM

Cause

This behavior is by design.

Resolution

To request a new feature or product enhancement, SAP has defined a new process and tool that is now available to customers called Idea Place:https://influence.sap.com/sap/ino/. Idea Place gives customers the ability to log their own Enhancement Requests and work more directly with our Technology and Development group.

SAP is committed to reviewing and responding to the ideas submitted on a regular basis. The ideas with the most votes will receive a higher level of attention for response and consideration. The processes and procedures associated with this site will continue to evolve and enhance over time. Refer to Knowledge Base Article 1515837 for more details.

Keywords

Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics, Issue, sapanalyticscloud, sap analytical cloud, sap analytical cloud, unexpected, identifier, automatic, customize , KBA , LOD-ANA-ADM , SAC Administration , Product Enhancement

Product

SAP Analytics Cloud 1.0