# Disable user account in Microsoft Entra ID

> A Slack request disables a departing employee's Microsoft Entra ID account and blocks sign-in across Microsoft services.

Source: https://stepwork.com/marketplace/disable-user-account-in-microsoft-entra-id

Automatically disable a departing employee’s Entra ID account from a Slack request with Stepwork. Find the user and block sign-in across Microsoft services.

**Apps:** Microsoft Entra ID
**Starts with:** Slack request
**Use case:** Employee offboarding
**Best for:** IT Administrator, Helpdesk Technician
**Applications used:** Microsoft Entra ID, Slack
**Business outcome:** Risk reduction

## Gone from HR. Still signed in to Microsoft 365.

Blocking sign-in in Microsoft Entra ID ends Microsoft 365 and every app that signs in through it. Done by hand, it waits in the helpdesk queue behind every other ticket.

Until it happens, the person who left can still open Outlook, Teams, and SharePoint. When an auditor asks when access ended, the only answer is a closed ticket.

## Microsoft 365 stops accepting them when the request lands

Stepwork blocks sign-in in Microsoft Entra ID. Outlook, Teams, SharePoint, and the apps behind Entra stop accepting the person, and the run records who asked and when sign-in was blocked.

- Sign-in is turned off for the account.
- The run stops if the email has no match.
- The Slack reply includes the time access ended.

## From Slack request to blocked sign-in

A teammate posts the request in Slack. Stepwork blocks sign-in in the Microsoft Entra admin center, which ends access to Microsoft 365 and the apps that sign in through Entra.

1. **Request it in Slack** (Slack): A teammate posts the departing employee’s work email in the offboarding channel. That message starts the flow, and Stepwork records who asked and when.
2. **Find the user by email** (Microsoft Entra ID): Stepwork signs in to the Microsoft Entra admin center and opens the user with that exact work email. If there is no match, the run stops instead of guessing.
3. **Block sign-in** (Microsoft Entra ID): Stepwork turns off sign-in for the account. Microsoft 365 and the apps behind Entra stop accepting the person.
4. **Confirm and reply in Slack** (Microsoft Entra ID): Stepwork checks that the account reads as disabled, then posts the result back in Slack with a timestamp.

## Sign-in is blocked the same way for every departure

Stepwork runs the path you recorded in the Microsoft Entra admin center: find the user by email, turn off sign-in, and confirm the account is disabled. The time access ended is part of the run, not a note in a closed ticket.

## Questions

**Q: How do I disable a Microsoft Entra ID account automatically?**
Post the work email in Slack. Stepwork opens that user in the Microsoft Entra admin center and turns off sign-in.

**Q: Which apps does this block?**
Microsoft 365, including Outlook, Teams, and SharePoint, and any app that signs in through Entra.

**Q: Does this suspend their Google Workspace account?**
No. This flow only blocks sign-in in Entra. The Google account stays until you suspend the user in Google Workspace.

---

This is the Markdown version of https://stepwork.com/marketplace/disable-user-account-in-microsoft-entra-id, built from the same copy as the page. Everything about Stepwork for AI tools: https://stepwork.com/llms.txt. Book a demo: https://calendly.com/shaun-maclellan/1-1-w-shaun-stepwork
