Set up SCIM provisioning from Entra ID
Create and update Servicely users and groups automatically from Microsoft Entra ID with SCIM provisioning.
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
administratorin 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.
Steps
-
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.
A SCIM configuration with its Attribute mappings related list. -
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.

A System API token record for SCIM. -
Select Generate Token and copy the token. You enter it in Entra ID in a later step.

The generated token on the System API token record. -
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.

The Create your own application dialog with the non-gallery option. -
Select Provisioning, then Get started if it shows, and set Provisioning Mode to Automatic.
-
Under Admin Credentials, enter the Tenant URL
https://<instance-name>.servicely.ai/scim/v2and paste the token into Secret Token. Select Test Connection, and when no error shows, select Save.
The Tenant URL and Secret Token on the Entra provisioning page. -
Under Mappings, open the user mapping and change it as listed in SCIM attribute mappings. Clear the Delete target action, so that removing a user in Entra ID does not delete the Servicely user.
-
Open the group mapping. It matches groups by
displayNameand already mapsexternalIdtoobjectId. Clear the Delete target action here too.
The default group attribute mappings in Entra ID. -
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.
-
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.
-
Set Provisioning Status to On and select Save.

Provisioning Status set to On.
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.