Fix Outlook 554 5.7.1 Relay Access Denied Error for Zendesk
Question details
The user is experiencing a 554 5.7.1 Relay access denied error when attempting to send emails from Outlook.com or a Microsoft 365 account to a Zendesk support address.

- Product
- Outlook, Microsoft 365, Zendesk
- Device & OS
- not provided
- Scenario
- Sending an email from a Microsoft 365 work address to a Zendesk ticketing system.
- Observed behavior
- The outgoing email fails to deliver, generating a Non-Delivery Report (NDR) with the error '554 5.7.1 Relay access denied'. Email headers may indicate that SPF, DKIM, and DMARC configurations are missing or set to 'none'.
Before troubleshooting, ensure you have access to both your Microsoft 365 admin center and your domain's DNS settings. Keep a copy of the complete Non-Delivery Report (NDR) handy for reference.
Verify and Configure Email Authentication Records
Setting up proper SPF, DKIM, and DMARC records helps authenticate your domain and prevents remote servers from denying relay access.
When email headers show SPF, DKIM, and DMARC as 'none', receiving servers like Zendesk may reject the message to prevent spam or spoofing.
Log in to your domain registrar or DNS hosting provider and navigate to the DNS management page for your custom domain.
Ensure you have a valid TXT record for SPF that includes Microsoft 365 (e.g., v=spf1 include:spf.protection.outlook.com -all) and any required Zendesk includes.
Enable DKIM in the Microsoft 365 Defender portal and publish the corresponding CNAME records. Add a DMARC TXT record to specify how unauthenticated emails should be handled by receiving servers.

Resolve Domain Routing Conflicts
If both Microsoft 365 and Zendesk use the same custom domain, incorrect routing settings can trigger the 554 relay error.
Experience a Seamless and Free Office Alternative with WPS Office
While resolving Microsoft Outlook routing issues, consider streamlining your daily document tasks with WPS Office. It provides a lightweight, highly compatible, and completely free alternative to Microsoft Office for your word processing, spreadsheet, and presentation needs.

Frequently Asked Questions
What does the '554 5.7.1 Relay access denied' error mean in Outlook?
This error occurs when the outbound email server does not recognize the sender or the recipient as an authorized user, causing it to refuse to process or 'relay' the email to its final destination.
Why am I getting this relay error specifically when emailing Zendesk?
This commonly happens if Microsoft 365 and Zendesk are configured to use the same custom domain name. The shared domain configuration can cause internal routing confusion, resulting in rejected relay attempts.
How do I find the email headers to check my SPF and DKIM status?
In Outlook, open the returned Non-Delivery Report (NDR) message. Go to File > Properties, and look at the text inside the 'Internet headers' box to review the authentication results.




