Automatic provisioning with SCIM (Okta, Microsoft Entra)
Let your identity provider create, update and deactivate people in Compact with a SCIM token.
Updated 2026-12-03
With SCIM, your identity provider keeps Compact in step with your directory: new hires get a mailbox, name changes follow, and people who leave are deactivated. Set it up in Admin › Security › Single sign-on, under Automatic provisioning (SCIM).
1. Generate a token
- Choose Generate token.
- Copy the Secret token now. It won’t be shown again.
- Copy the Tenant URL shown next to it.
The panel later shows the token’s last characters, who created it, and when it was last used.
2. Connect your identity provider
Okta: Applications › your Compact app › Provisioning › Integration. Set SCIM connector base URL = Tenant URL, unique identifier = userName, authentication = HTTP Header with the token. Turn on Create Users, Update User Attributes and Deactivate Users.
Microsoft Entra: Enterprise applications › your Compact app › Provisioning › Automatic. Enter the Tenant URL and Secret Token, then Test Connection. Map userPrincipalName (or mail) to userName.
What happens to people
userNamemust be the person’s work email on a verified domain of this workspace. It can’t be changed later.- Deactivating someone suspends them: sign-in, password and app passwords stop, their sessions end, and mail keeps arriving.
- Deleting never destroys mail: the mailbox is suspended and kept. Provisioning the same
userNameagain brings it back. - Break-glass owners can’t be deactivated through SCIM.
- Groups pushed from your provider become shared inboxes (with their members), not distribution lists. Deleting such a group removes its members; its mail stays.
Replace or revoke the token
- Replace token: the current token stops working at once. Paste the new one into your identity provider straight away, or provisioning will fail.
- Revoke: your provider can no longer create, update or deactivate people. People and mail are not changed.
Every SCIM change, and every request with a wrong token, is recorded in the audit log.