Symptom
When creating a new user with the SCIM api, the UserID property cannot be set. Instead, it is set to the value of the username property minus any punctuation and with anything after a @ symbol removed.
e.g.
If you do a POST call to the URL {{ _.Tenant_Url }}/api/v1/scim/Users/ with a body
{
"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": "test1.test2@sap.com",
"id": "test123",
"preferredLanguage": "en",
"name": {
"givenName": "testa1",
"familyName": "testa2"
},
"displayName": "testa1 testa2",
"active": true,
"emails": [{
"value": "test1.test2@sap.com",
"type": "work",
"primary": true
}
],
"roles": [],
"groups": [],
"urn:ietf:params:scim:schemas:extension:sap:user-custom-parameters:1.0": {
"dataAccessLanguage": "de",
"dateFormatting": "dd.MM.yyyy",
"timeFormatting": "H:mm:ss",
"numberFormatting": "1.234,56",
"systemNotificationsEmailOptIn": false,
"marketingEmailOptIn": false
}
}
The resulting UserID with be "test1test2"
Note: With the SCIM api, the userName property must match the SAML attribute to be used within SAC. So for this example, the SAC tenant is configured to use Email as the SAML attribute.
Read more...
Environment
- SAP Analytics Cloud 2025.1.1
Product
Keywords
SCIM, API, SCIM2, User, UserID, REST, RESTFul , KBA , LOD-ANA-DES , Story Design & Visualizations , LOD-ANA-LS , Licensing and Full User Equivalent , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview