Provision Users with SCIM¶
Use SCIM provisioning when the identity provider should create, update, and deactivate Emakin users in advance, before they sign in. Microsoft Entra ID and other identity providers that support SCIM 2.0 can also provision groups and memberships.
SCIM provisioning belongs to a SAML identity provider. Users created through SCIM sign in through that provider.
Before You Begin¶
- Configure the SAML identity provider first. See Configure SAML Single Sign-On.
- The Emakin SCIM address must be reachable over HTTPS from the identity provider. Cloud identity providers such as Entra ID cannot reach an Emakin installation that is only available on an internal network.
- Use one provisioning source per login method. SCIM and directory sync on the same login method deactivate each other's users.
- Check the user count in the Emakin license. Provisioning stops when creating or activating a user would exceed the licensed user limit.
Get the Tenant URL and Token¶
- Open Edit Domain and go to Integrations → SAML Identity Providers.
- Open the identity provider and find the SCIM Provisioning section.
- Copy the Tenant URL.
- Copy the Secret Token. A token is generated automatically when the identity provider is added. It is shown only until you save; after that it is stored and not shown again.
- If you do not have the token, select Generate New Token and copy the new value.
- Select Save.
Warning
Saving a new token replaces the stored one. The identity provider stops provisioning until you enter the new token there.
Configure Microsoft Entra ID¶
- Open the Emakin enterprise application and go to Provisioning.
- Set Provisioning Mode to Automatic.
- Enter the Tenant URL and Secret Token, then select Test Connection.
-
Under Mappings, review the user attribute mapping. The
userNameattribute must carry the same value as the User Id Attribute of the identity provider in Emakin:User Id Attribute in Emakin Source attribute for userNamein Entra IDobjectidentifierobjectIdempty, with the user principal name as NameID userPrincipalName
objectId never changes, so it is the recommended choice. 5. Enable group provisioning if Emakin should receive groups and memberships. 6. Set the provisioning scope, start provisioning, and use Provision on demand to test one user first.
What Emakin Does with Provisioned Data¶
| Identity provider action | Result in Emakin |
|---|---|
| Creates a user | Creates the user, or binds an existing user with the same e-mail address when Link Existing Users is enabled |
| Updates a user | Updates the name and e-mail address |
| Disables or removes a user | Deactivates the user and ends the user's sessions. Users are never deleted, so work items and history stay intact |
| Enables a user again | Activates the same user |
| Creates a group | Creates an Emakin group that is managed by this identity provider |
| Updates group members | Updates the memberships of users provisioned by this identity provider |
| Deletes a group | Removes all members. The group itself is kept so that permissions and role references remain valid; delete it manually if it is no longer needed |
SCIM changes only users and groups that were created or bound through the same identity provider. Groups that were created in Emakin are not changed, and system group names cannot be used.
Verify Provisioning¶
- Provision one test user on demand.
- Confirm that the user appears in Emakin with the expected name and e-mail address.
- Sign in as the test user through the SAML login button.
- Disable the test user at the identity provider, provision again, and confirm that the user is deactivated in Emakin.
Troubleshooting¶
| Symptom | Likely cause | Resolution |
|---|---|---|
| Test Connection fails with an authorization error | The token is wrong or was replaced | Generate a new token, save, and enter it at the identity provider |
| Test Connection cannot connect | Emakin is not reachable from the identity provider, or SAML is disabled for the application | Check network access and Login Services → SAML |
| Provisioning reports a license error | The licensed user limit would be exceeded | Increase the license or reduce the provisioning scope |
| Users are provisioned but cannot sign in | userName and the User Id Attribute carry different values | Align the attribute mapping, then provision again |
| Users are deactivated unexpectedly | Directory sync also runs on the same login method | Use only one provisioning source per login method |