---
title: "Set up SCIM provisioning from Entra ID"
site: admin
version: 1.11
versions: "all"
url: https://docs-new.servicely.ai/admin/1.11/access/set-up-scim-provisioning/
type: task
application: sso
last_updated: 2026-10-18
commit: c05803eee2ce
---


Set up SCIM provisioning so users and groups you manage in Microsoft Entra ID are created, updated and deactivated in Servicely. Provisioning runs one way, from Entra ID into Servicely. This task is for administrators, and it needs an Entra administrator as well.

## Before you begin

- You need `administrator` in Servicely.
- You need an Entra ID account that can configure provisioning on an enterprise application.
- Know your instance name, as in `https://<instance-name>.servicely.ai`.
- If you already use Entra ID for single sign-on, you can use the same enterprise application. See [Set up single sign-on with Microsoft Entra ID](page:access/sso-microsoft-entra-id).

## Steps

<Steps>
  <Step>
    In Servicely, go to **Administration → Integration → SCIM configurations** and select **New**. Enter a **Name**, set **Identity provider** to the Microsoft option (key `azure_ad`), turn on **Active** and save. Servicely ships an inactive example configuration for Entra ID with example mappings you can copy.

    <Image src="asset:screenshots/admin/access-set-up-scim-provisioning/image-8.png" size="92">A SCIM configuration with its Attribute mappings related list.</Image>
  </Step>
  <Step>
    Go to **Administration → Integration → System API tokens** and select **New**. Enter a **Name**, for example "Entra ID SCIM", turn on **Active** and add **SCIM Provisioning** to **Allowed Scopes**. Fill in the other required fields, **Validation type** and **Impersonate user** [UNVERIFIED], and save.

    <Image src="asset:screenshots/admin/access-set-up-scim-provisioning/image.png">A System API token record for SCIM.</Image>
  </Step>
  <Step>
    Select **Generate Token** and copy the token. You enter it in Entra ID in a later step.

    <Image src="asset:screenshots/admin/access-set-up-scim-provisioning/image-2.png">The generated token on the System API token record.</Image>
  </Step>
  <Step>
    In the Entra admin centre, open the enterprise application for Servicely. To create one, go to **Enterprise applications**, select **New application**, then **Create your own application**, and choose the non-gallery option.

    <Image src="asset:screenshots/admin/access-set-up-scim-provisioning/image-12.png" size="30">The Create your own application dialog with the non-gallery option.</Image>
  </Step>
  <Step>
    Select **Provisioning**, then **Get started** if it shows, and set **Provisioning Mode** to **Automatic**.
  </Step>
  <Step>
    Under **Admin Credentials**, enter the **Tenant URL** `https://<instance-name>.servicely.ai/scim/v2` and paste the token into **Secret Token**. Select **Test Connection**, and when no error shows, select **Save**.

    <Image src="asset:screenshots/admin/access-set-up-scim-provisioning/image-13.png" size="52">The Tenant URL and Secret Token on the Entra provisioning page.</Image>
  </Step>
  <Step>
    Under **Mappings**, open the user mapping and change it as listed in [SCIM attribute mappings](page:access/scim-attribute-mappings). Clear the **Delete** target action, so that removing a user in Entra ID does not delete the Servicely user.
  </Step>
  <Step>
    Open the group mapping. It matches groups by `displayName` and already maps `externalId` to `objectId`. Clear the **Delete** target action here too.

    <Image src="asset:screenshots/admin/access-set-up-scim-provisioning/image-3.png">The default group attribute mappings in Entra ID.</Image>
  </Step>
  <Step>
    In **Settings**, set **Scope** to **Sync only assigned users and groups**. Assign the users and groups to provision under **Users and groups** in the enterprise application.
  </Step>
  <Step>
    To test, select **Provision on demand**, enter up to five users or one group and some users, and select **Provision**. Check the result Entra shows.
  </Step>
  <Step>
    Set **Provisioning Status** to **On** and select **Save**.

    <Image src="asset:screenshots/admin/access-set-up-scim-provisioning/image-14.png" size="52">Provisioning Status set to On.</Image>
  </Step>
</Steps>

<Callout type="warning">
  Keep **Delete** cleared for users and groups. A deleted user or group breaks records that still refer to it, such as requests, tasks, approvals and assignments. With **Delete** cleared, a user deleted in Entra ID is still deactivated in Servicely, because Entra first sends the change as an update that sets the user inactive.
</Callout>

## Result

Entra ID provisions the assigned users and groups on its next cycle, usually every 40 minutes. New users and groups appear in Servicely with their **External key** set to the Entra object ID. When you turn off **Account enabled** for a user in Entra ID, Servicely sets the user's **Active** to false. Errors show in the Entra provisioning logs.

To provision from more than one Entra tenant, or to map extra attributes, see [SCIM attribute mappings](page:access/scim-attribute-mappings).

## Related

- [SCIM attribute mappings](page:access/scim-attribute-mappings)
- [Set up single sign-on with Microsoft Entra ID](page:access/sso-microsoft-entra-id)
- [Group fields](page:access/groups)
- [Authentication methods for inbound integrations](page:integrations/inbound-authentication)
