Microsoft 365 550 5.7.64: “TenantAttribution; Relay Access Denied”
Short answer: Microsoft 365 couldn't match the server or printer that sent the message to your organization, so it refused to relay it outside. Fix: update your inbound (relay) connector with the device's current public IP or its renewed certificate, and make sure the sender's domain is verified in your tenant.
550 5.7.64 TenantAttribution; Relay Access Denied SMTP.
4.4.62 Mail sent to the wrong Office 365 region
550 5.7.64 TenantAttribution; Relay Access Denied … ATT36
What it means
Your printer, scanner, app or on-premises mail server sends through your Microsoft 365 MX host (…mail.protection.outlook.com) without a login and relies on an inbound connector to prove the mail is yours. Exchange Online looked for a connector that matches the sender's TLS certificate or public IP, found none, and won't relay the message to outside recipients. Microsoft names the usual causes: the office's static IP changed (new ISP, new router, failover line), or the certificate was renewed or replaced with a different name. 4.4.62 is the same problem reported as a deferral. An ATT36 variant means the domain in the certificate or the sender address isn't a verified domain in your tenant.
How to fix it
- Find the public IP the device really sends from: on the same network open a site such as
ifconfig.me, or read the connecting IP from the message trace in the Exchange admin center. - Exchange admin center → Mail flow → Connectors → open the connector from Your organization's email server to Office 365. If it trusts an IP, replace the old address with the new one. If it trusts a certificate, set the domain to the name in the new certificate (Subject or SAN, e.g.
*.contoso.com). Save and allow some time to apply. - Hybrid Exchange after a certificate renewal: re-run the Hybrid Configuration Wizard and pick the new certificate on the transport certificate page (Microsoft's recommended fix); the send connector log shows which certificate is presented.
- ATT36: add and verify the domain from the certificate or the From address under Settings → Domains in the Microsoft 365 admin center.
- No connector at all yet? Follow the relay connector set-up: MX host, port 25, TLS, no login.
- Put the new IP in your SPF record (one record:
v=spf1 ip4:203.0.113.10 include:spf.protection.outlook.com -all, built with the SPF generator) so relayed mail doesn't land in Junk. - Static IP keeps changing, or the device is in Azure or another cloud? Relay isn't supported there. Use OAuth (
smtp.office365.com, port 587) or an email sending service with its own login instead.
Step-by-step for your device or app
Not sure which devices still log in with a password? Run the free read-only script that lists every SMTP AUTH sender in your tenant.
- HP printers and MFPs
- Canon imageRUNNER ADVANCE and i-SENSYS/imageCLASS
- Ricoh MFPs and printers
- Xerox AltaLink and VersaLink
- Brother printers, MFCs and scanners
- Konica Minolta bizhub
- Kyocera TASKalfa and ECOSYS
- Sharp MX and BP series
- Lexmark
- Epson WorkForce and EcoTank business
- Toshiba e-STUDIO (e-BRIDGE Next) scan to email with Microsoft 365
- FUJIFILM Apeos and ApeosPort (formerly Fuji Xerox) scan to email with Microsoft 365
- WordPress SMTP plugins (WP Mail SMTP, FluentSMTP, Post SMTP) with Microsoft 365
- Synology DSM and QNAP QTS / QuTS hero email notifications with Microsoft 365
- PowerShell Send-MailMessage with Microsoft 365
- Veeam Backup & Replication email notifications with Microsoft 365
- Zabbix email media type with Microsoft 365
- Paessler PRTG Network Monitor email notifications with Microsoft 365
- Windows Server IIS 6.0 SMTP relay forwarding app mail to Microsoft 365
- Sage 50 Accounts (UK and Ireland) and Sage 200 emailing invoices with Microsoft 365
- QuickBooks Desktop emailing invoices with Microsoft 365 (Web Mail or Outlook)
- Microsoft SQL Server Database Mail (and SQL Agent alerts) with Microsoft 365
- Dell iDRAC and HPE iLO alert email (AlertMail) with Microsoft 365
- Jenkins email notifications (Mailer and Email Extension plugins) with Microsoft 365
- Microsoft 365 SMTP relay connector (any printer, scanner, NAS or app)
Get the kit ($19)
Rather have it done for you? I move your devices and apps on Fiverr – relay, Direct Send or OAuth, tested, from $25.
Check your domain now
After the fix, send a test email to see SPF, DKIM and DMARC pass on a real message, then keep an eye on it: free DMARC monitoring shows every service that sends mail as your domain and which ones fail, in plain English.
Get it fixed on Fiverr
Prefer to do it yourself? Get the step-by-step Fix Kit ($15) – 28-page guide, checklist, 20+ providers.
Other bounce errors
- Gmail 550 5.7.26
- Gmail 421 4.7.26
- Gmail 550 5.7.27 / 421 4.7.27
- Gmail 550 5.7.30 / 421 4.7.30
- Gmail 550 5.7.32 / 421 4.7.32
- Gmail 550 5.7.40 / 421 4.7.40
- Gmail 550 5.7.24 / 421 4.7.24
- Gmail 550 5.7.25 / 421 4.7.23
- Gmail 550 5.7.29 / 421 4.7.29
- Outlook / Hotmail 550 5.7.515
- Outlook / Hotmail 550 5.7.1 S3150 / S3140
- Microsoft 365 550 5.7.606 / 5.7.511
- Microsoft 365 / Outlook 550 5.7.509
- Outlook / Hotmail 451 4.7.650 (S775)
- Yahoo / AOL 421 4.7.0 [TSS04]
- Yahoo / AOL 553 5.7.1 [BL21] / [BL23]
- Yahoo / AOL 554 5.7.9
- Gmail 421 4.7.28
- Microsoft 365 550 5.7.708
- Microsoft 365 535 5.7.139 / 530 5.7.57
- Microsoft 365 550 5.7.233 / 5.7.232
- Microsoft 365 550 5.7.236
- Microsoft 365 / Outlook 550 5.7.520
- Microsoft 365 550 5.1.8
- Gmail 550 5.7.1 / 421 4.7.0
- Gmail 550 5.7.1 / 421 4.7.0
- Gmail / Google Workspace 550 5.4.5
- Gmail / Yahoo / iCloud 550 5.7.26 / 554 5.7.9 / 554 5.7.1 [BS01]
- Validity Heatwave domain blocklist
- Microsoft 365 5.4.8
- Microsoft 365 5.7.5
- Microsoft 365 5.7.60
- Microsoft 365 550 5.7.68