---
title: "Set up SCIM provisioning from Entra ID"
site: admin
version: 2027.1
versions: "all"
url: https://docs-new.servicely.ai/admin/2027.1/access/sign-in/set-up-scim-provisioning/
type: task
application: sso
last_updated: 2026-12-03
commit: 8d233372fa05
---


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

<Steps>
  <Step>
    Go to **Access & security → Authentication → SCIM configurations**.

    <Image src="asset:screenshots/admin/access-sign-in-set-up-scim-provisioning/scim-configurations-menu.png">The SCIM configurations item in the Access & security menu.</Image>
  </Step>
  <Step>
    Select **New**.

    <Image src="asset:screenshots/admin/access-sign-in-set-up-scim-provisioning/new-scim-configuration.png" size="92">The Create Scim configuration form with Name, Identity provider, Key, Active and the load limits.</Image>
  </Step>
  <Step>
    Fill in the configuration, then select **Create**.

    <!-- source: platform/data/AvailableValue?Table=ScimConfiguration -->
    | 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. | |
  </Step>
  <Step>
    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](page:integrations/create-a-system-api-token).
  </Step>
  <Step>
    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](https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/add-application-portal) describes.
  </Step>
  <Step>
    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](https://learn.microsoft.com/en-us/entra/identity/app-provisioning/configure-automatic-user-provisioning-portal).
  </Step>
  <Step>
    In the Microsoft Entra admin centre, enter the admin credentials, select **Test Connection** and save.

    <!-- code: servicely-core/src/main/kotlin/com/servicely/core/web/scim/ScimUtil.kt:158 -->
    | 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. | |
  </Step>
  <Step>
    In the Microsoft Entra admin centre, open the user mapping under **Mappings** and make the changes that [SCIM attribute mappings](page:access/sign-in/scim-attribute-mappings) lists under **Microsoft Entra ID user mapping changes**. See [Customize Microsoft Entra attribute mappings in Application Provisioning](https://learn.microsoft.com/en-us/entra/identity/app-provisioning/customize-application-attributes).
  </Step>
  <Step>
    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.
  </Step>
  <Step>
    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**.
  </Step>
  <Step>
    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](https://learn.microsoft.com/en-us/entra/identity/app-provisioning/provision-on-demand).
  </Step>
  <Step>
    In the Microsoft Entra admin centre, set **Provisioning Status** to On and save.
  </Step>
</Steps>

## 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.

<!-- source: platform/data/ScimConfiguration?IdentityProvider=azure_ad -->
| 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.

## Related

- [SCIM attribute mappings](page:access/sign-in/scim-attribute-mappings)
- [Set up single sign-on with Microsoft Entra ID](page:access/sign-in/sso-microsoft-entra-id)
- [Create a System API token](page:integrations/create-a-system-api-token)
- [Group fields](page:access/users-and-groups/groups)
