Search the docs
Menu
Updated Edit on GitHub

Provisioning with SCIM

Copy as Markdown

With SCIM, your identity provider keeps the console's single sign-on accounts in step with its own directory: it makes an account when someone gets the app, changes the name and address when they change, deactivates the account when the person leaves, and keeps user groups and their members up to date. People still sign in through SAML or OIDC; SCIM only looks after the accounts.

The console speaks SCIM 2.0 at /scim/v2 on its address, for example https://desk.example.com/scim/v2. The provider reaches it with an API token made for SCIM.

Make a SCIM token

  1. Open the account menu at the end of the top bar and choose API tokens.
  2. Choose New token.
  3. Under Name, say what the token is for, like "Entra ID provisioning".
  4. Under Used for, choose SCIM provisioning. Access and permissions go away: a SCIM token gets what provisioning needs and works only at /scim/v2.
  5. Under Expires, choose how long it lasts, at most a year. Put a reminder in your calendar: provisioning stops when the token expires.
  6. Under Allowed addresses, you can list the provider's addresses. Leave it empty when the provider doesn't publish fixed ones.
  7. Choose Make token and copy the token. It is shown once.

SCIM provisioning next to the list shows the SCIM address to give the provider, with a copy button.

The token acts as your account. Your account needs the permissions to see, make, change and delete accounts (View users, Create users, Edit users, Delete users), which Super admin, Administrator and Global admin have by default. The token changes only accounts whose role your account may give, as on the Users page: a Global admin's SCIM token can't deactivate a Server admin. Every change it makes is in the audit log under your account.

A SCIM token reaches nothing but /scim/v2, and no other token reaches /scim/v2. If your account is disabled or deleted, its tokens stop working, and provisioning with them.

Set up the provider

The provider has to reach the console over HTTPS from where it runs. Entra ID and Okta provision from their cloud, so the console needs a public HTTPS address for them.

Entra ID: in the enterprise application of the console, open Provisioning, set Provisioning Mode to Automatic, enter the SCIM address as Tenant URL and the token as Secret Token, and choose Test Connection. With the default attribute mappings, userPrincipalName becomes the user name, mail the address and displayName the name, and active follows whether the person still has the app.

Okta: in the console's app, turn on SCIM provisioning, enter the SCIM address as SCIM connector base URL, userName as Unique identifier field for users, choose HTTP Header as authentication with the token, and tick Push New Users, Push Profile Updates and Push Groups.

Other providers work the same way: a SCIM 2.0 base address and a bearer token.

Use the same user name in SCIM as the provider sends at sign-in. With SAML, the Username attribute (or the NameID) must give the same value as SCIM's userName; with OIDC, the user name claim.

What SCIM sees and does

SCIM sees single sign-on accounts only: accounts made by SAML, by OIDC or by SCIM itself. Password accounts and directory (LDAP) accounts are never listed, changed or taken over. A userName one of them has is refused as taken.

The provider The console
makes a user makes an account with that user name in lower case, the address and the name, the SSO tag and no password. Its role is the SAML Default role when SAML is set up, else Viewer; a group map of the sign-in sets it from then on.
changes a user stores the new address, name and external ID. The user name can't change: the account's name is its key at sign-in and in the history, so a rename is refused.
deactivates a user disables the account as Disable account… on the Users page does: its console sessions and NeoDesk Desktop sign-ins end at once, and its API tokens are revoked.
reactivates a user enables the account again. Revoked tokens stay revoked.
deletes a user deletes the account as Delete… on the Users page does, without handing anything over.
makes a group makes a user group with that name and the note "Provisioned by SCIM".
changes a group's members adds and removes members; only single sign-on accounts can be members through SCIM. Members an administrator added who aren't single sign-on accounts stay.
renames or deletes a group renames it, or deletes it with its memberships and its panel access rules.

The last Super admin that can sign in is never deactivated or deleted. User groups an administrator made are not SCIM's: SCIM doesn't see or change them. Group names are unique among all user groups.

User groups SCIM made work like the others: you can give them panel access rules and device group access. SCIM then decides who gets that access by who is in the group.

The console supports what Entra ID and Okta use: filters of the form attribute eq "value" on userName, externalId, id, emails and displayName, paging with startIndex and count (at most 200), PATCH with add, replace and remove, and excludedAttributes=members for groups. Bulk requests, sorting, ETags and password changes are not supported; /scim/v2/ServiceProviderConfig says so.

Audit log

Entry When
Account made by SCIM The provider made an account
Account changed by SCIM The provider changed an address, name or external ID
User group made by SCIM The provider made a group
User group changed by SCIM The provider renamed a group or changed its members
User group deleted by SCIM The provider deleted a group

Deactivating, reactivating and deleting write the usual Account disabled, Account enabled and User deleted entries. All of them are under the account that made the token. Making a SCIM token writes API token made with "SCIM provisioning".

What a stolen SCIM token can do, and what it can't, is in the security model.

Type to search pages, sections, commands and settings.