Language: English
From version 5.2, the self-managed server supports the System for Cross-domain Identity Management (SCIM) standard. Your identity provider, such as Microsoft Entra ID, can then create and update user accounts on your server automatically from your directory.
SCIM manages user accounts only. To let users sign in with your identity provider, also configure single sign-on. See Microsoft Entra ID configuration.
Before you begin
- Your server runs version 5.2 or later.
- You need a role on the server that grants “Manage email domains, single sign-on and SCIM”. The built-in Owner role grants it. See Configuration.
Step 1: Generate a SCIM token
- From your profile menu, open “Server settings”.
- Select the “SCIM” section.
- Click “Add SCIM token”.
- Enter a label, such as
Microsoft Entra, and choose when the token expires: 30, 90 or 180 days. - Click “Generate”.
Copy the token now. For security, it is not shown again.
Select the token in the list to see the details your identity provider needs:
| Detail | Use |
|---|---|
| Tenant URL | The address your identity provider sends SCIM requests to |
| Secret Token | The token you just generated |
| Authentication method | Bearer authentication |
The token's details also show when it expires and when your server last received an event from your identity provider. Generate a new token before the current one expires, and update it in your identity provider.
Step 2: Configure Microsoft Entra ID
Create the application
- Go to https://entra.microsoft.com/ and sign in as an administrator.
- Select “Enterprise Apps” from the “Entra ID” section on the left-hand side.
- Click “+ New Application” in the toolbar.
- Click “+ Create your own application”.
- Enter
ActivityInfo SCIMas the name of your app. - Choose “Integrate any other application you don't find in the gallery (Non-gallery)”.
- Click “Create”.
Assign users
- Choose “Users and groups” from the left-hand side.
- Click “+ Add user/group”.
- Click “None selected” under “Users and Groups”, select the users or groups to provision, then click “Select”.
- Click “Assign”.
Configure provisioning
- Choose “Provisioning” from the left-hand side.
- Click “+ New configuration”.
- Under “Admin Credentials”, enter the Tenant URL and the Secret Token from Step 1.
- Click “Test Connection”. You should see a message that the connection test was successful.
- Click “Create”.
Start provisioning
- From the left-hand side, click “Provisioning”.
- Set “Provisioning Status” to “On”, then click “Save”.
Other identity providers
Any identity provider that supports SCIM 2.0 can be connected in the same way. In its provisioning settings, enter the Tenant URL from Step 1 as the SCIM base URL, and the Secret Token as a bearer token.
Revoking a token
To stop an identity provider from sending changes, select its token in the “SCIM” section and click “Revoke token”.