550 5.7.64: TenantAttribution, relay access denied
Quick fix
Have your email admin update the inbound connector so its certificate host name and source IP address match the on-premises mail server again.
How to fix it
- Ask your email admin to open the Diagnostic information for administrators in the bounce and read the original error.
- Compare the inbound connector with the on-premises server: the host name in the connector's certificate and the source IP address must match the server that sends.
- If the server's certificate or IP address changed, update the connector to the new values.
- Send a new test message from the on-premises system.
Learn more: TLS certificates explained: expiry, chain and names
How to check
The DNS lookup shows the MX records of the domain, so you can see whether mail for it is routed to Microsoft 365 or to your own server. It cannot see the inbound connector, which lives in the Microsoft 365 admin center: compare the connector's certificate host name and source IP address with your mail server there.
The DNS lookup opens with your domain filled in; it runs when you press Check.
Tools to check it
What the error means
Full error text: 5.7.64 TenantAttribution; Relay Access Denied
5.7.64 in a Microsoft 365 or Exchange Online bounce means a message from your own on-premises email system was refused at the inbound connector. Microsoft's list of SMTP errors gives the text as "TenantAttribution; Relay Access Denied" and the cause as "You use an inbound connector to receive messages from your on-premises email environment, and something changed in your on-premises environment that makes the inbound connector's configuration incorrect."
Microsoft's page for this error says "This problem happens when you use an inbound connector to receive messages from your on-premises email environment, and something has changed in your on-premises environment that makes the inbound connector's configuration incorrect." Its two examples:
- "The host name that's specified in the certificate on the inbound connector no longer matches the source email server."
- "IP address of the source email server no longer matches the source IP address on the inbound connector."
Microsoft also says "Only an email admin in your Microsoft 365 or Office 365 organization can fix this issue." The bounce has a section for admins: "The Diagnostic information for administrators section in the bounce message will contain the original error message when Microsoft 365 or Office 365 tried to send the message to the external email server or service."
Sources
- Microsoft Learn: Email nondelivery reports (NDRs) and SMTP errors in Exchange Online (checked 2026-11-23)
- Microsoft Learn: Fix NDR error 5.7.64 in Exchange Online (checked 2026-11-23)