Tenant allow block list: block a sender or domain
Where to block, and why the obvious place is often wrong
Who this is for: Administrators with permission to manage Tenant Allow/Block List entries. Use the least-privileged role or permission that meets your needs.
This guide covers tenant-wide blocks for email addresses and domains in the Microsoft Defender portal. It does not cover allow entries, spoofed-sender entries, Exchange Online PowerShell, mail flow rules, or anti-spam policy tuning. For a mail flow rule, see guide 30, Mail flow rules.
| Where | Use for |
|---|---|
| Tenant Allow/Block List | A specific sender or domain, blocked tenant-wide. |
| Quarantine: Block sender | One person's nuisance, not a tenant-wide problem. In the Microsoft Defender portal, filter quarantine results by Recipient > Only me, then use Block sender. This adds the sender to your own Blocked Senders list. You need a permission that gives you admin access to quarantine, such as Security Reader or Global Reader. |
Important Blocking a whole domain can block messages from addresses in that domain and its subdomains. Do not use a domain pattern to block one sender; use the sender's exact email address unless the whole domain is the problem.
Before blocking anything
Check licensing and permissions
- Organization: The Tenant Allow/Block List is available to organizations with cloud mailboxes.
- Entry limits: Organizations without Defender for Office 365 can have up to 500 block entries for domains and email addresses. Organizations with Defender for Office 365 Plan 1 can have up to 1,000. Organizations with Defender for Office 365 Plan 2 can have up to 10,000. These limits apply to block entries; the combined allow-and-block limits are 1,000, 2,000, and 15,000, respectively.
- Exchange Online permissions: Add and remove entries with membership in the Organization Management or Security Administrator role group. Security Operator can also manage entries only when assigned directly in the Exchange admin center at https://admin.exchange.microsoft.com under Roles > Admin Roles.
- Microsoft Defender XDR unified RBAC: For the Defender portal, both Email & collaboration > Defender for Office 365 and Email & collaboration > Exchange Online permissions must be Active. The account needs Authorization and settings/Security settings/Detection tuning (manage). This permission path applies to the Defender portal, not PowerShell.
- Microsoft Entra roles: Security Administrator or Global Administrator provides the required permissions. Global Administrator is highly privileged; use a less-privileged option when available.
- If your account does not have one of the applicable permissions, ask your Microsoft 365 administrator to assign the least-privileged permission that allows it to add and remove Tenant Allow/Block List entries before you continue.
Choose the narrowest block
- Decide whether you need to block one exact email address or a domain. If only one sender is unwanted, record that sender's exact address for the entry.
- Before using a domain pattern, confirm that you intend to block mail from the domain and the scope covered by its pattern. If you do not intend to block that scope, use the exact sender address instead.
- Check the organization's current block-entry count against the limit for its Defender for Office 365 subscription. If the organization is at its limit, stop and ask an administrator to review whether an obsolete entry can be removed; do not remove an active block just to make room.
Note Spoofed-sender entries are a separate entry type with different domain-pair syntax. They never expire. This guide does not cover adding them; use the syntax in the Tenant Allow/Block List documentation before managing one.
Manage a tenant-wide sender or domain block
Important: confirm the impact before adding a block. Matching inbound messages are marked as high-confidence phishing and moved to quarantine. Users also cannot send mail to the blocked address or domain. If a message has multiple recipients and even one recipient matches a blocked entry, the entire message can be blocked for all recipients. Confirm the intended impact on inbound and outbound mail and on all recipients before adding the entry.
- Sign in to the Microsoft Defender portal at https://security.microsoft.com with an account that has permission to add Tenant Allow/Block List entries, then open https://security.microsoft.com/tenantAllowBlockList. The Tenant Allow/Block Lists page opens.
- Select the Domains & addresses tab to manage email address and domain entries.
- Select the Block tab, then select Add to open the Add domains & email addresses flyout.
- For a single sender, enter the sender's exact email address; it must match the message's From address (5322.From/P2), not its MAIL FROM/envelope sender (5321.MailFrom/P1). For a domain-wide block, enter the documented pattern *.yourdomain.com. This pattern blocks inbound and outbound email from the domain, its subdomains, and email addresses in the domain. Use a pattern such as *.sub.yourdomain.com only when you intend to block that subdomain and its email addresses.
- In the Block entry expires after list, select 1 day, 7 days, 30 days (the default), 90 days, or Never expire, based on how long you intend the block to last. The selected duration appears in the flyout.
- Select Add to apply the block. The entry appears in the block list on the Domains & addresses page.
- Allow up to five minutes for the entry to become active.
Verify the block entry
- On the Domains & addresses tab, open the Block list and confirm that the exact email address or domain pattern you entered appears there. If it is missing, check that you are viewing Block rather than Allow, then confirm your permissions and available entry count before trying again.
When it goes wrong
- You cannot open or add entries: Confirm that your account has one of the listed permissions. If it does not, ask your administrator to assign the least-privileged required permission. For the Security Operator option, confirm that it was assigned directly in the Exchange admin center under Roles > Admin Roles.
- The organization has reached its block-entry limit: Stop and ask an administrator to review existing entries for one that is no longer needed. Do not remove an entry that is still required. The applicable block limit is 500 without Defender for Office 365, 1,000 with Plan 1, or 10,000 with Plan 2.
- An address with special characters produces an error: Encode special characters in UTF-8 hexadecimal URL format before adding the address. For example, use user@contoso.com for an address containing quotation marks, a plus sign, and a space. Here, %22 represents a quotation mark, %2B a plus sign, and %20 a space.
Related help articles
References
Source: https://learn.microsoft.com/en-us/defender-office-365/tenant-allow-block-list-about.
Last updated on