How to Find Messages Blocked by Directory-Based Edge Blocking in Exchange Online
Question details
The user needs to locate logs or message traces for emails that were blocked by Directory-Based Edge Blocking (DBEB).

- Product
- Exchange Online
- Device & OS
- not provided
- Scenario
- Sending messages to a mail-enabled public folder, which get rejected before reaching the Exchange Online service.
- Observed behavior
- Senders receive a '550 5.4.1 Access Denied' NDR, but the blocked messages do not appear in the Exchange Online message trace.
Ensure you have Microsoft 365 Exchange administrator privileges and have requested the complete Non-Delivery Report (NDR) from the original sender.
Investigate DBEB Rejections Using NDRs and Domain Settings
Because Directory-Based Edge Blocking rejects messages at the network edge, standard message traces cannot be used. You must rely on the NDR codes and verify your accepted domains configuration.
Directory-Based Edge Blocking (DBEB) is designed to reject messages for invalid recipients before they enter the Exchange Online network. Because of this early rejection, these events bypass the transport pipeline and are not logged in the standard message trace accessible to tenant admins.
Ask the sender to provide the complete bounce message. Look for the specific error code '550 5.4.1 Access Denied', which confirms DBEB intercepted the email.
Log in to the Exchange Admin Center and verify that the mail-enabled public folder or recipient address actually exists, is spelled correctly, and is properly synced to Entra ID (Azure AD).
Navigate to Exchange admin center > Mail flow > Accepted domains. Ensure the domain type is configured correctly. If it is set to 'Authoritative', DBEB is enforced. If routing unknown recipients to an on-premises server is required, consider changing it to 'Internal Relay'.
Boost Your Productivity with WPS Office
While server-side email routing issues require Microsoft 365 administration, your daily document management needs a reliable, hassle-free suite. WPS Office is a lightweight, highly compatible alternative to Microsoft Office for creating documents, spreadsheets, and presentations.

Frequently Asked Questions
Why does a 550 5.4.1 error happen with mail-enabled public folders?
This error typically occurs when Directory-Based Edge Blocking (DBEB) determines the recipient doesn't exist in the directory at the network edge. This is often caused by synchronization delays or configuration issues with mail-enabled public folders.
Will an Exchange Online message trace ever show DBEB rejected emails?
No. Because DBEB rejects the message at the service edge before it fully enters the Exchange Online transport pipeline, no standard message trace record is generated for the tenant.
Can I disable Directory-Based Edge Blocking in Exchange Online?
DBEB is enabled by default for all domains set as 'Authoritative'. Changing the domain type to 'Internal Relay' bypasses DBEB, but you should only do this if you actually need to route emails for unknown recipients to a third-party or on-premises server.




