Deactivate expired guest accounts in Slack
Automatically deactivate expired Slack guest accounts every week with Stepwork. Check each guest’s end date and deactivate the ones past expiry.
- Use case
- Access review & auditIT
- Best for
- IT Administrator, IT Manager
- Applications used
Slack
- Business outcome
- Risk reduction
The problem
The contract ended. The guest account didn’t.
Contractors and agencies join Slack as guests. When their work ends, their accounts usually stay, because nobody tracks the end dates.
Over months the workspace fills with guests who can still read the channels they were added to. Checking every guest by hand takes hours, so the access review gets pushed to next quarter.
The outcome
Guests past their end date are removed every week
Stepwork checks the workspace’s guest accounts and deactivates the ones whose end date has passed. Guests with time left are left alone, and the run posts who was removed.
- The check runs every week on its own.
- Only guests past their end date are deactivated.
- Slack gets the list of who was removed.
The process
From weekly check to removed guests
Every week, Stepwork checks the workspace’s guest accounts against their end dates and deactivates the ones that have passed.
- Step 1
Start on schedule
The run starts every week on its own. Nobody has to remember when a contract ended.

- Step 2
List the guest accounts
Stepwork signs in to Slack’s member management page and filters the list to guest accounts.

- Step 3
Check each end date
Stepwork compares each guest’s end date with today. Guests with time left are skipped.

- Step 4
Deactivate and report
Stepwork deactivates every guest past their end date, then posts the list of who was removed in Slack.

Why Stepwork
End dates are checked without a reminder
The path runs every week. Stepwork lists the guest accounts, compares each end date with today, and deactivates only the ones that have passed. Guests with time left are skipped.
Book a DemoSimilar use cases
Similar use cases
Deactivate member account in SlackSigns into Slack admin, locates the member, and deactivates their account, removing workspace access.
Deactivate user account in OktaSigns into the Okta admin console, locates the user by email, deactivates the account, and confirms the status change ended all SSO sessions.
Disable user account in Microsoft Entra IDSigns into the Entra admin center, locates the user, and blocks sign-in, disabling the account across Microsoft services.
FAQ





