Security Policy Errors

How to Block an Email Address or Domain in Microsoft 365

Huma Ashraf ChHuma Ashraf Ch Nov 3, 2026 870 views

Question details

The user needs to know how to block incoming emails from specific senders or entire domains in Microsoft 365 to protect users from unwanted messages.

How to Block an Email Address or Domain in Microsoft 365
Product
Microsoft 365
Device & OS
not provided
Scenario
Administrators need to enforce security policies by preventing malicious or spam messages from reaching users' inboxes.
Observed behavior
Administrators can successfully intercept and block messages from designated email addresses or domains using anti-spam policies or mail flow rules.
Before you start

Ensure you have the necessary administrative privileges, such as the Exchange Administrator or Security Administrator role in your Microsoft 365 tenant, before attempting to modify anti-spam policies.

Solution 1Recommended

Use Anti-Spam Policies in the Microsoft Defender Portal

The most straightforward way to block senders is by adding them to the blocked senders and domains list within your tenant's anti-spam policy.

Anti-spam policies in the Microsoft Defender portal allow administrators to maintain strict lists of allowed and blocked senders. Messages from blocked entities will automatically be treated as spam and handled according to your policy settings.

1
Log in to Microsoft Defender

Navigate to the Microsoft Defender portal and log in using your administrator credentials.

2
Access Threat Policies

Go to 'Email & Collaboration' in the left-hand menu, select 'Policies & Rules', and then click on 'Threat policies'.

3
Select Anti-spam Policy

Under the Policies section, click on 'Anti-spam' and choose your active anti-spam inbound policy to open its settings panel.

4
Edit Blocked Senders

Scroll down to the 'Blocked senders and domains' section and click 'Edit blocked senders and domains'.

5
Add Addresses or Domains

Add the specific email addresses or entire domains you wish to block, then save your changes to apply the policy.

Use Anti-Spam Policies in the Microsoft Defender Portal
Immediate Protection: Once saved, the updated anti-spam policy will begin intercepting messages from the newly blocked senders across your entire organization.
Free Microsoft Office alternative

Boost Your Team's Productivity with WPS Office

While Microsoft 365 handles your enterprise email security and routing, you can equip your team with WPS Office for daily document creation and editing. It is a lightweight, highly compatible, and cost-effective alternative to Microsoft Office.

  1. 1. Visit the Official Website: Go to the WPS Office website to find the appropriate download for your operating system.
  2. 2. Download the Installer: Click the 'Free Download' button to get the latest, lightweight version of WPS Office.
  3. 3. Install and Launch: Run the setup file and follow the straightforward on-screen instructions to start opening and editing your Microsoft Office files instantly.
Fully compatible with Microsoft Word, Excel, and PowerPoint file formats (.docx, .xlsx, .pptx).Lightweight architecture ensures quick startup times and smooth performance on older hardware.Familiar user interface enables seamless migration for your staff with zero learning curve.Includes comprehensive built-in tools for PDF viewing, editing, and document conversion.
microsoft office alternative - wps office

Frequently Asked Questions

Can individual users block email addresses themselves in Microsoft 365?

Yes, individual users can block specific senders by adding email addresses or domains to their personal Blocked Senders list directly within the Outlook desktop client or Outlook on the web. However, administrators manage the tenant-wide blocks.

How long does it take for a blocked domain policy to take effect?

After an administrator updates an anti-spam policy or creates a mail flow rule in Microsoft 365, it generally takes a few minutes, but can take up to an hour for the changes to fully propagate across the entire service.

What is the difference between blocking a sender and blocking a domain?

Blocking a sender targets a specific individual email address (e.g., spammer@example.com), whereas blocking a domain prevents emails from any user originating from that specific domain (e.g., anyone@example.com).

Can I block senders using PowerShell in Microsoft 365?

Yes, Exchange administrators can use Exchange Online PowerShell to configure mail flow rules and manage anti-spam policies, which is highly efficient for bulk-adding multiple addresses or domains to block lists.