0 XP

Accepted domains and Directory-Based Edge Blocking

Accepted domain types

A domain added to Microsoft 365 is an accepted domain. You add it in the Microsoft 365 admin center, then view it and set its type in the EAC under Mail flow > Accepted domains. In PowerShell, list them with Get-AcceptedDomain and change the type with Set-AcceptedDomain -Identity contoso.com -DomainType Authoritative or InternalRelay.

Authoritative and DBEB

Authoritative is the choice when every recipient for the domain is in Microsoft 365. Mail goes to listed recipients and unknown recipients are rejected. Selecting it turns on Directory-Based Edge Blocking (DBEB), which rejects mail for invalid recipients at the network perimeter; the EAC asks you to confirm DBEB.

Internal relay

Internal relay (non-authoritative) is for a domain whose recipients may be in Microsoft 365 or on your own servers, as during a staged migration. Mail for recipients Microsoft 365 does not know is relayed onward, which requires a connector from Office 365 to your server. An inbound connector carries mail the other way, so it does not meet that need. Microsoft says plainly: do not select Internal relay if all of the domain's recipients are in Microsoft 365. Internal relay is also required to turn on match-subdomains.

Remember the pairs: Authoritative = DBEB on, Internal relay = outbound connector required.

External relay

A third type, external relay, still exists. Its effect shows up in mail flow rules: a sender or recipient in an accepted domain configured as external relay counts as outside the organization. By contrast, a sender in an Authoritative or Internal relay domain counts as inside when the message arrives over an authenticated connection.

Traps

  • The domain type is a property of the accepted domain. Set-RemoteDomain, Set-InboundConnector and Set-OrganizationConfig do not change it.
  • Accepted domains are your own domains. Remote domains, in the next unit, are external ones.

Knowledge check

5 questions on what you just read. Each answer shows the full explanation and its source.

Loading…