Microsoft 365 Exchange Admin Center Mailbox Filter Limitations Explained
Question details
The user requires a way to filter mailboxes by their email domain using an 'Ends with' condition within the admin center.

- Product
- Microsoft 365 Exchange Admin Center
- Device & OS
- not provided
- Scenario
- Managing multiple domains or migrating mailboxes between Microsoft 365 tenants.
- Observed behavior
- The Manage Mailboxes interface currently only supports 'Equals' and 'Starts with' filters, failing to provide an 'Ends with' or direct domain-based filtering option.
Before proceeding with alternative methods, ensure you have the necessary Exchange Administrator privileges to run PowerShell scripts in your tenant.
Use Exchange Online PowerShell for Domain Filtering
Since the Exchange Admin Center UI lacks an 'Ends with' filter, Exchange Online PowerShell is the most effective workaround for filtering mailboxes by specific domains.
While the web-based graphical interface is limited to basic text matching, PowerShell offers robust capabilities using wildcard operators, allowing you to quickly isolate accounts by their domain name.
Open PowerShell as an administrator and run the command 'Connect-ExchangeOnline' to authenticate with your Microsoft 365 tenant.
Execute the Get-Mailbox cmdlet using the -Filter parameter. For example, type: Get-Mailbox -Filter "PrimarySmtpAddress -like '*@yourdomain.com'" to retrieve all mailboxes ending with that specific domain.
To save the list for reporting or migration planning, append the export cmdlet to your command, such as: Get-Mailbox -Filter "PrimarySmtpAddress -like '*@yourdomain.com'" | Export-Csv -Path 'C:\domain-mailboxes.csv' -NoTypeInformation.

Submit a Feature Request to Microsoft
Help Microsoft prioritize adding this feature natively by submitting or voting for feedback on their official portal.
Optimize Your Workflow with WPS Office
While managing complex administration tasks in Microsoft 365, simplify your daily document editing with WPS Office. It provides an intuitive, lightweight, and completely free alternative for handling your spreadsheets, presentations, and documents.
- 1. Download the installer: Visit the official WPS Office website and click on the 'Free Download' button.
- 2. Install the suite: Run the downloaded file and follow the prompt to install WPS Office on your computer.
- 3. Open existing files: Launch WPS Office and open any existing Microsoft Office documents smoothly.

Frequently Asked Questions
Why doesn't the Exchange Admin Center support an 'Ends with' filter?
Currently, the Exchange Admin Center's graphical user interface is designed with only basic search operators, namely 'Equals' and 'Starts with'. Advanced domain-level filtering has not yet been implemented natively in the web portal.
Can I filter Exchange mailboxes by domain without using PowerShell?
No, within the native Microsoft 365 Exchange Admin Center, there is no direct way to filter mailboxes by their domain extension. Exchange Online PowerShell remains the required workaround.
Will Microsoft add domain filtering to the Exchange Admin Center in the future?
Microsoft regularly updates its admin centers based on user feedback. While they have acknowledged the requests for domain filtering via their Feedback Portal, there is no confirmed release date for this specific feature.




