OBLYTECH Logo
OBLYTECH Logo

SCIM User Provisioning

If the identity provider and ServiceNow disagree about a user’s details, first decide which system should send the correction. SCIM user provisioning can carry identity changes into ServiceNow or send them to another system; configure the receiving side and its mappings for the direction you need.

Choose the direction for SCIM ServiceNow provisioning

Write down where an identity starts and which system should receive its changes. If your identity provider sends account changes into ServiceNow, configure the ServiceNow SCIM provider. It supports identity creation, updates, and deletion through SCIM APIs. The identity provider can also read identities from ServiceNow to compare values with its directory.

If ServiceNow needs to create or update identities in another system, use SCIM Client. That client calls an external provider’s SCIM endpoint and supports identity lifecycle operations and attribute synchronization. These are different configuration paths. A provider record created under SCIM Client describes an outbound destination; it does not configure an external identity provider to provision into ServiceNow.

Keep this page’s user lifecycle work separate from the broader integration design covered in SCIM integration with ServiceNow. Before changing mappings, agree which system owns each attribute and how existing accounts will be matched. Record those decisions so a later synchronization does not silently reverse a deliberate change.

Activate the components and assign roles by action

An administrator with the admin role installs the inbound plugin, SCIM v2 – ServiceNow Cross-domain Identity Management, identified as com.snc.integration.scim2. Navigate to All > System Applications > All Available Applications > All, find the plugin by name or ID, and select Install. The provider configuration also requires OAuth 2.0, REST API Provider, and REST API Access Policy.

For outbound work, an administrator with admin installs SCIM v2 – ServiceNow Cross-domain Identity Management Client, identified as com.snc.integration.scim2.client, through the same application navigation. Choose the component that fits the intended direction rather than treating the two plugin names as interchangeable.

The steps here reflect Brazil behavior; check their availability on your instance and release. Where domain separation and delegated administration are enabled, the administrator installing either plugin must be in the global domain. Otherwise, installation can report that another plugin activation operation is running.

  • Use scim_admin for configuring provisioning into ServiceNow with a provider. This role carries admin-equivalent authority and can add or change personally identifiable information.
  • Use scim_config_admin to create SCIM ETL definitions. It carries admin-equivalent authority and can insert records in ways that bypass business logic or ACL protection.
  • Use scim_client_config_admin to create an outbound SCIM provider record.

Give each configuration role a named owner and review who retains it after setup. Connect account matching, attribute ownership, and exception handling to your wider ServiceNow user management process so account ownership and operational responsibilities remain clear.

Configure inbound authentication and define lifecycle tests

With the SCIM plugin installed, the scim_admin role configures provisioning from the identity provider. The supported authentication paths are basic authentication and OAuth. Choose the path your integration will use before building its operating procedure; avoid mixing assumptions from the two authentication methods.

Make the first test a controlled identity with recognizable attribute values. Write expected results before sending changes. A suggested acceptance sequence is to provision that user, change a mapped attribute, check group-related changes where they are in scope, and exercise the agreed de-provisioning operation. Inspect the resulting records after each operation.

Treat account matching as a design decision that needs evidence. A successful create does not establish that a later update will target the intended existing record. Compare identifiers and mapped values during testing, and include an existing-user case before widening the provisioning population. Resolve duplicate or ambiguous matches before approving unattended operation.

For de-provisioning, record the exact action sent and the resulting account state. Do not assume that disabling an identity, deleting a record, and removing group membership produce an interchangeable outcome. Set acceptance criteria around the lifecycle behavior your integration actually uses.

For help planning this work, see ServiceNow implementation.

Map custom user attributes through SCIM ETL definitions

SCIM User and SCIM Group ETL definitions provide base resource mappings. The scim_config_admin role can adjust their criteria or create mappings for custom attributes targeting sys_user or sys_user_group. Start with a field inventory: incoming attribute, destination field, matching behavior, and treatment of missing references.

  1. Open the ETL definition and use New in ETL Entities to create the source and target entities. For user customization, these represent scim-user and the user table, sys_user.
  2. Complete the entity fields, including Name, Application, Table, Definition, and Path as applicable. Review Synchronize Inserts and Run business rules intentionally before selecting Submit.
  3. Open each entity and add its ETL Entity fields. Set Field/Path for the column or nested structure being mapped. Review Coalesce for querying existing records.
  4. Create an entry in RTE Entity Mappings. Specify Source Entity and Target Entity, then set ordering and conditional behavior if needed.
  5. Open that mapping and create RTE Field Mappings between the source and target fields. Submit the entries and test the customized values through SCIM operations.

Synchronize Inserts uses the coalesced field values to keep repeated inserts from producing multiple records with that same combination. An import set entity needs no Path; use Field/Path to locate a nested value within its structure.

Coercion action determines what happens when a reference or choice is unavailable. Create adds a reference or choice and assigns it; Reject prevents the whole record from being saved; Ignore leaves the current value empty. Select this behavior field by field. Automatically creating reference values may be inappropriate where another team controls the destination data.

When a request arrives but a destination field stays empty, trace that field from the incoming value through its entity and field mappings. Check reference handling and conditions against the expected result. Change one setting at a time so the next test shows which correction affected the record.

Set up outbound provisioning when ServiceNow is the client

Build a REST message for calls to the external SCIM provider, then use scim_client_config_admin to navigate to All > SCIM Client > SCIM Provider. Select New and complete Name, Outbound REST Message, and HTTP Method for Update. The update method can be PATCH or PUT; choose the method supported by the destination integration.

Resource Definition and Schema Field Definition populate from the provider’s resource types and schemas after the REST message is selected. If the message, schemas, or resource types change, select Refresh and then Update to refresh those definitions. Save a new provider with Submit, then configure its resource and attribute mappings.

A provider record supplies connection and schema information. Resource mappings identify the resource and primary table; attribute mappings identify the fields, defaults, or scripts supplying values. Review these layers separately when investigating an unexpected outgoing value. Avoid changing authentication to fix a field mapping issue.

SCIM2Client supports scripted provisioning. Use scripts running in the system context or by a user with admin. Before connecting provisioning to a scheduled job or workflow, make its trigger and intended identity population explicit. Where the work crosses approval responsibilities, align it with ServiceNow approval delegation rather than allowing an account change to leave an unclear handoff.

Check results and preserve enough diagnostic history

For outbound operations, navigate to All > SCIM > SCIM Client Logs to inspect provisioning status. The SCIM Client Log table, sys_scim_client_logs, stores the status of calls triggered to providers. Use those results alongside the destination record; a call status and an attribute-level acceptance check answer different questions.

Under All > SCIM > SCIM Client Properties, com.snc.integration.scim2.client.log.request.status accepts FAILURE or ALL and defaults to ALL. The property com.snc.integration.scim2.client.log.cleanup.duration controls log cleanup in days and defaults to 180. Review retention against your investigation needs before changing it. During acceptance testing, preserve enough history to distinguish a failed call from an incorrect mapping.

Four edge cases affect SCIM mapping and scripts

Can an existing sample outbound provider be reused?

Yes. The base system includes a sample SCIM Provider that can be configured for your requirements. Review its REST message and update method before use; do not assume sample values describe your destination.

Can a mapped SCIM field include an equality filter?

An underscore in an incoming SCIM field expresses an EQ filter. In email.type_work.value, the selection uses type equal to work and then takes value from the matching email entry. This is a field selection rule, so enter it in the incoming SCIM field mapping. Test with both work and other email types present to check that the destination receives the intended value.

Does SCIM mapping support wildcard fields through RTE?

RTE does not support [*] fields in SCIM mapping. Distinguish that limit from an entity Path representing a collection, which must end with an asterisk. They apply to different parts of the ETL setup.

Can a non-admin user trigger a provisioning script?

A provision script placed in a business rule or script include can be triggered by a non-admin user when the user can access the token through the role needed to generate it from the REST template and can retrieve mapped attribute values. Check both conditions.

When a ServiceNow SCIM integration is used instead of the Entra gallery connector, what must be configured and verified first?

Before the SCIM path takes over from the Entra gallery connector, settle which system owns each user and group change, stop the gallery path for the same scope so only one writer remains, then check the SCIM endpoint, authentication, attribute mappings and group operations. Do not assume the gallery settings carry across.

Treat the gallery path and SCIM as separate mechanisms

The Entra gallery path creates, updates and disables users and provisions groups and memberships. It is not SCIM just because Entra runs automated provisioning. Record which path is live, its scope and the ServiceNow account it authenticates with.

Stop the gallery path before the SCIM path writes

Two systems updating the same user is the first failure to design out. Work in this order:

  1. Export the users, groups and attribute values the gallery path writes today as a baseline.
  2. Pause gallery provisioning for the scope being moved and note the time.
  3. Enable SCIM for a small test population that includes at least one user already in ServiceNow.
  4. Compare the first SCIM changes against the baseline before widening scope.

Check matching identifiers and reference values before the first sync

A missing matching attribute stops a record from being matched, and a department or location value missing from ServiceNow can cause a lookup failure. Export the distinct department and location values and match them against existing records. Then confirm each reference field separately.

Test group scope, disabled users and the active flag as separate cases

As of November 2026, group-based assignment in Entra requires Entra ID P1 or P2, so confirm the license tier first. The gallery path processes only direct members of explicitly assigned groups, does not provision a disabled Entra user as a new ServiceNow user, and updates locked_out when active changes, even if locked_out is not mapped. Write one SCIM test for each: a user two levels down a nested group, a disabled user, and a user whose active value changes. Synced membership does not prove that roles are assigned or working.

Settle the credential model before cutover

The gallery path needs a ServiceNow account holding the admin role. The SCIM path needs the scim_admin role for configuration and supports Basic Authentication or OAuth. Choose the authentication method first, give the SCIM configuration a named owner, and do not reuse the gallery account. Record the date the gallery account is disabled.

Accept the switch only when each lifecycle step is traced

Run one create, one attribute change, one group membership change and one de-provisioning through SCIM, and inspect the record after each. Confirm that no change to a moved user after the pause time originates from the gallery account, and that the gallery side reports no errors for users now managed by SCIM.