Docs
On this page
task3 min readApplication: Single Sign-On

Set up SCIM provisioning from Entra ID

Create, update and deactivate Servicely users and groups from Microsoft Entra ID with SCIM provisioning.

Set up SCIM provisioning so the users and groups you manage in Microsoft Entra ID are created, updated and deactivated in Servicely. Provisioning runs one way, from Microsoft Entra ID into Servicely.

Before you begin

  • You need the administrator role in Servicely.
  • Switch to the Administration workspace with the Workspace selector at the foot of the menu.
  • You need a Microsoft Entra ID account that can configure provisioning on an enterprise application.
  • Know your instance address, for example https://<instance>.servicely.ai.

Steps

  1. Go to Access & security → Authentication → SCIM configurations.

    The SCIM configurations item in the Access & security menu.
  2. Select New.

    The Create Scim configuration form with Name, Identity provider, Key, Active and the load limits.
  3. Fill in the configuration, then select Create.

    Field What to enter Example
    Name A name for the configuration. Microsoft Entra ID
    Identity provider The Microsoft option. The list holds it and Other.
    Active Yes.
  4. Create a System API token for Microsoft Entra ID and copy the token it generates. Keep Validation type at None (Bearer token in Header) and select SCIM Provisioning in Allowed Scopes. See Create a System API token.

  5. In the Microsoft Entra admin centre, open the enterprise application for Servicely. Use the one you created for single sign-on, or create one as Quickstart: Add an enterprise application describes.

  6. In the Microsoft Entra admin centre, open Provisioning and set Provisioning Mode to Automatic. Microsoft describes the screen in User provisioning management for enterprise apps in Microsoft Entra ID.

  7. In the Microsoft Entra admin centre, enter the admin credentials, select Test Connection and save.

    Field What to enter Example
    Tenant URL Your instance address followed by /scim/v2. https://<instance>.servicely.ai/scim/v2
    Secret Token The token you copied.
  8. In the Microsoft Entra admin centre, open the user mapping under Mappings and make the changes that SCIM attribute mappings lists under Microsoft Entra ID user mapping changes. See Customize Microsoft Entra attribute mappings in Application Provisioning.

  9. In the Microsoft Entra admin centre, clear Delete under the target object actions of both the user mapping and the group mapping. When Microsoft Entra ID sends a delete, Servicely deletes the user or group record. With Delete cleared, Servicely keeps the record.

  10. In the Microsoft Entra admin centre, set Scope to Sync only assigned users and groups, then assign the users and groups under Users and groups.

  11. In the Microsoft Entra admin centre, select Provision on demand, choose one assigned user and select Provision. See Provision a user or group on demand using the Microsoft Entra provisioning service.

  12. In the Microsoft Entra admin centre, set Provisioning Status to On and save.

Result

The user you provisioned on demand is in Servicely, with External key set to the Microsoft Entra ID object ID. Microsoft Entra ID provisions the other assigned users and groups on its next cycle, about every 40 minutes. A user whose account is disabled in Microsoft Entra ID becomes inactive in Servicely. Errors appear in the provisioning logs of the Microsoft Entra admin centre.

Options

These fields are on the SCIM configuration. Servicely supplies an inactive example configuration for Microsoft Entra ID, with two example attribute mappings you can copy.

Setting Effect
Concurrency limit How many requests each server node handles at once for this configuration. Default: 2. Raise it to 8 for a first bulk load, then set it back.
Concurrency wait time Seconds a request waits for a free place before Servicely refuses it, from 0 to 5. Default: 5. Microsoft Entra ID sends a refused request again later.
Rate limited and Rate limit Limits the requests accepted each minute on each server node. Default: No, with a limit of 600. Leave it off and control load with Concurrency limit.
Post processing script Runs after Servicely creates, updates or deletes a user or group. The script receives operation and record.

Variations

Provision from more than one tenant

Each Microsoft Entra ID tenant has its own SCIM configuration, with its own attribute mappings.

  1. Create a SCIM configuration for each tenant and enter a different Key on each. A key holds letters, digits, hyphens and underscores.
  2. In each tenant’s enterprise application, enter the Tenant URL with the key in it: https://<instance>.servicely.ai/scim/<key>/v2.

A tenant URL without a key uses the only active configuration. When several are active, it uses the one with Default set to Yes.

Last updated 3 December 2026commit 8d233372fa05Chris Jones
Back to top