Problem
When you send an email, the email is not delivered, and you receive a non-delivery report with an error message similar to this:
Reason
The email was blocked by Directory-Based Edge Blocking (DBEB) in Microsoft 365.
DBEB is enabled by default for your domains in Microsoft 365. DBEB will block external emails sent to email addresses that do not exist within your Azure Active Directory.
Microsoft 365 does not currently synchronise mail-enabled public folder mailboxes with Azure AD. When emails have been processed by Signature 365 and are routed back to Microsoft 365, they are considered external by DBEB.
Note
This problem only affects emails that are forwarded to the Signature 365 service for signature injection. If you use the Signature 365 add-in for Outlook, then emails sent from Outlook and Outlook on the Web are not affected by this issue.
Solution
See below depending on your environment:
- If your public folders are hosted in Exchange Online
- If your public folders are hosted in Exchange Server on-premise
If your public folders are hosted in Exchange Online
Directory-Based Edge Blocking (DBEB) does not currently support mail-enabled public folders in Exchange Online.
There are two workarounds:
- Stop routing emails sent to public folders via Signature 365 (Recommended)
- Disable Directory-Based Edge Blocking (Not recommended)
Stop routing emails sent to public folders via Signature 365 (Recommended)
Note this workaround means server-side signatures will not be applied to email sent to public folders.
- Log on to Exchange admin center
- Navigate to Mail flow > Rules
- Select the rule Send to Signature 365 for signature injection and click Edit
- In the Except if... section, click add exception
- Select The recipient... and is this person
- In the Select Members dialog, select all mail enabled public folders and click Add
- Click OK, then click Save
Disable Directory-Based Edge Blocking (Not recommended)
- Log on to Exchange admin center
- Navigate to Mail flow > Accepted domains
- Select the domain of the public folder
- Change the domain type to Internal relay
- Click Save
If your public folders are hosted in Exchange Server on-premise
Completing the steps below will ensure that mail-enabled public folders will no longer be considered invalid addresses by DBEB:
- Open Microsoft Azure Active Directory Connect
- On the Optional Features pane, tick the Exchange Mail Public Folders option:
- Complete the wizard