How to manage Slack users with SCIM
SCIM is the standard protocol for managing user accounts across applications. Slack exposes it through its SCIM API, limited to some plans. MIA uses it for Slack: it reads the accounts of your workspace, creates or reactivates a new hire's account and deactivates a leaver's, from the user's page in MIA. This guide covers what Slack requires and what each action does.
Before you start: Slack plan and permissions
- Slack plan: the SCIM API is limited to the Business+ and Enterprise plans. On another plan, Slack refuses MIA's SCIM calls, with the message "Slack: Your plan does not allow this action."
- Account that connects Slack: an Owner or Admin of the workspace, who must remain one, since MIA acts with its rights. Slack only lets an account act on accounts with the same or fewer permissions: connected by an Admin, MIA cannot deactivate an Owner. On an Enterprise plan, Slack only lets Org Owners install a SCIM app.
- Connection: Slack connects to MIA through OAuth, from Applications → Add an application (see Slack application).
What MIA reads in Slack
At each synchronization, MIA reads the workspace's accounts through the SCIM API and links them to your users by email address. Deactivated accounts and bots are not inventoried. An account no user holds becomes an anomaly.
Open a Slack account
On the user's page, Add to an application then Slack, on its own or in a kit (see IT onboarding checklist):
- if a Slack account already exists with their email address, even deactivated, MIA reactivates it;
- otherwise, MIA creates it with their email address and a username: the one on their page or in the panel, failing that their first and last name, or their email address when either is missing.
A username Slack finds too long makes the opening fail, with the message "Slack: The username is too long."
Close a Slack account
Deleting a user's Slack access, right away, on its Deactivation date or through a departure cascade (MIA Pro), sends Slack a SCIM deletion. Slack never deletes an account permanently: it deactivates it. Opening the access again later from MIA reactivates that same account.
See Employee offboarding checklist.
Generic SCIM or Slack?
The Generic SCIM page connects any application that exposes a SCIM 2.0 API, with a token and the API URL. Slack does not need it: its dedicated application connects through OAuth and goes through the Slack SCIM API, in its version 1.1.