How to Find Disabled users in Microsoft 365 (Office 365).
In this guide, we’ll show you how to find disabled users in Microsoft 365 using both the Microsoft 365 Admin Center and PowerShell.
Effective management of user accounts is a critical part of IT management in Microsoft 365. Over time, users may leave the organization, change roles, or have their accounts disabled for security reasons. By finding deactivated/blocked uses, you can help keep your environment organized, avoid security risks, and clear clutter.
3 Ways to find the Disabled Users in Microsoft 365.
- Find Disabled Users in Microsoft 365 Admin Center.
- Find Disabled Users in Azure Active Directory (Entra ID).
- Find Disabled Users using PowerShell.
Method 1. How to Find Disabled User Accounts in Microsoft 365 Admin Center.
To find the disabled/blocked users in O365 Admin center.
1. Go to the Microsoft 365 Admin Center.
2. In the left menu, select Users > Active Users.
3. Expand the "Filter set" menu and select New Filter.
4. Type a name for the new filter (e.g. "Sign-in Blocked") and then, at Sign-in status choose "Sign-in blocked". Then click Add.
5. That it. You will now see users who are disabled. *
* Notes:
1. In Microsoft 365, "disabled" typically means that the sign-in is blocked.
2. From now on, the new filter will always be available for use in the 'Custom Filters' menu.
Method 2. How to Find Disabled Accounts in Azure Active Directory (Microsoft Entra ID).
To find the inactive users in Microsoft Entra Admin center:
1. Go to the Microsoft 365 Entra Admin center (Entra ID).
2. In the left menu, select Users > All Users.
3. Click Add filter (1), select "Filter: Account enabled" (2), "Value: No" (3) and click Apply (4).
Method 3. How to Find Disabled Users using PowerShell.
To view a list of all disabled accounts via PowerShell:
1. Open PowerShell As Administrator and connect to Microsoft Graph.
2. After connection, give the following command to view all the disabled accounts on your Microsoft 365 environment:
- Get-MgUser –Filter “accountEnabled eq false” | select DisplayName, UserPrincipalName
Conclusion:
Whether you’re an IT admin or a business owner, knowing how to find disabled user accounts -those blocked from signing in- in Microsoft 365 is essential. In this guide, we’ll walk you through multiple methods to locate disabled users using the Microsoft 365 Admin Center, PowerShell, and Microsoft Entra ID (Azure AD).
That's it! Let me know if this guide has helped you by leaving your comment about your experience. Please like and share this guide to help others.
Frequently Asked Questions
How can I find disabled users in the Microsoft 365 Admin Center?
To find disabled users in the Microsoft 365 Admin Center, navigate to the Admin Center, go to Users > Active Users, and expand the 'Filter set' menu. Create a new filter named 'Sign-in Blocked' and choose 'Sign-in blocked' under Sign-in status. Click Add to view disabled users.
What steps should I follow to locate disabled accounts in Microsoft Entra ID?
Access the Microsoft 365 Entra Admin center, select Users > All Users, and then click Add filter. Choose 'Filter: Account enabled', set 'Value: No', and click Apply to view disabled accounts.
What PowerShell command lists all disabled accounts in Microsoft 365?
Open PowerShell as Administrator, connect to Microsoft Graph, and use the command: Get-MgUser –Filter “accountEnabled eq false” | select DisplayName, UserPrincipalName to list all disabled accounts.

