Deprovision someone in Okta from Slack
BotsIdentity Management
What it does
When someone runs a Slack command to deactivate an account, this automation deactivates that person in Okta and replies in Slack so the channel knows the outcome. If an error occurs, the automation stops and notifies the channel.
Who it's for
IT teams who need to deactivate Okta accounts from Slack without leaving the conversation.
Apps used
How teams use this
Deactivate someone from Slack
Run the command with a username and get confirmation in the thread that the Okta account was deactivated. The team stays in Slack and does not need to open Okta.
Offboard an employee in real time
When an employee leaves, run the command in a dedicated offboarding channel so IT can deactivate the Okta account immediately and see the result without switching tools.
Add a reason field to the command
Include a prompt for the reason someone is being deactivated so the Okta record is updated with that context. Only the command structure needs to change.
How it works
- Run the deactivate command. Type the Slack command with the username or email of the person to deactivate in a Slack channel or direct message.
- Deactivate the account in Okta. Deactivate the account in Okta so the person can no longer access company applications and systems.
- Reply with the result. Post a message in Slack confirming the Okta account was deactivated, or if an error occurred, notify the channel that deactivation failed and did not retry.