- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2022 06:11 PM
Hi Community,
I am trying to consume SCIM API that comes from "SCIM v2 - ServiceNow Cross-domain Identity Management" plugin. Referring to documentation on "https://docs.servicenow.com/bundle/tokyo-application-development/page/integrate/inbound-rest/concept...", I can basically do a POST command to create records in User [sys_user] table.
In SCIM schema, it supports "userType" attribute. May I know how do I map this attribute back to a custom field in ServiceNow? I realize I can create record successfully with a code of 201 using the REST API but I cannot seems to find a menu path or configuration to map this attribute back to ServiceNow User [sys_user] table.
Can you please advice if anyone has done this before and what do I require to map a custom field in ServiceNow with a field from the SCIM schema?
Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2022 05:23 PM
Hey Alex,
The only way to do this is on Tokyo version (or higher) as it supports SCIM customisation. Once upgraded, you can look at the SCIM ETL definitions and tweak as required.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2024 03:45 AM
Me again! Sorry!
Ive set up the extension schema like you advised and validated it and its active. Ive made the changes to scim-user, and user, but when I try and post the new user record, I get the invalidValue error still.
I have set the employee number into the attribute for manager under the urn:ietf:params:scim:schemas:extension:servicenow:2.0:User:
{
"manager":
{
"value": "EMPLOYEE_NUMBER"
}
}
I have mapped the scim-user 'Manager' to 'custom.manager' and user 'manager' to manager.employee_number, but it still says it doesn;t exist, and only works with the sys_id of the manager.
Am I missing something? Your help would be really appreciated thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2024 03:50 AM
Oh! I did it! OK it creates the new schema reference:
urn:ietf:params:scim:schemas:extension:servicenow:custom:2.0:User
Which you need to add into the JSON content in the body at the top under 'schemas' and also add it under the other schema attributes:
"urn:ietf:params:scim:schemas:extension:servicenow:custom:2.0:User" :
{
"manager" : "EMPLOYEE_NUMBER"
}
}
AND IT WORKS!! So chuffed, thank you for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2024 01:40 AM
Hi, I was following this thread and made the same changes as per steps mentioned above. But not sure my integration is not working. We are trying to provision users and groups from Azure AD using SCIM custom application. Azure is sending Manager user id in the request but since ServiceNow SCIM default setting was expecting sys_id, I changed the configuration as suggested here. But still it is not working. Am I missing some steps here?
1. I've created SCIM extension custom schema for manager
2. I've updated ETL mapping for scim-user and user
what else needs to be done?