SCIM Provisioning Issues

rgardner1989
edited 04/01/24 in API & Developers

We're using AzureAD and are using an expression to map the value to urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:department

Expression:

Join("-", "", CStr([departmentNumber]), [department])

Output Exampe:

00-Department

Error:

Failed to update User 'xxx@xxx.com' in customappsso; Error: StatusCode: BadRequest Message: Processing of the HTTP request resulted in an exception. Please see the HTTP response returned by the 'Response' property of this exception for details. Web Response: {"schemas":["urn:ietf:params:scim:api:messages:2.0:Error"],"scimType":"No attribute with the name : EnterpriseUser:department","detail":"Request is unparsable, syntactically incorrect, or violates schema.","status":"400"}. This operation was retried 0 times. It will be retried again after this date: 2024-04-01T19:49:41.3316044Z UTC

Originally the department was being passed as a number, ex: 00 then we expression wrapped it with CStr() and that didn't work either, effectively we want the department to update for users "00-DepartmentName" and we're not able to get it to work properly as we keep getting this same above error.

Anyone know if this is even possible (https://learn.microsoft.com/en-us/entra/identity/saas-apps/smartsheet-provisioning-tutorial)

Answers