Fix Office 365 Relay Error 550 5.7.64 for an Unaccepted Sender Domain
Question details
The user needs to send messages through an Office 365 connector using a sender address from a domain that is not configured as an accepted domain.

- Product
- Microsoft 365 Exchange Online
- Device & OS
- not provided
- Scenario
- A cloud-only organization uses an Office 365 connector to relay messages and wants to send from an additional external domain.
- Observed behavior
- Messages from the accepted domain work, but messages from the other domain are rejected with error 550 5.7.64 Relay Access Denied ATTR36.
Identify the domain in the rejected sender address and check whether you have permission to verify and configure it in Microsoft 365. Keep the rejection message and connector details available for your mail administrator.
Add the sender domain as an accepted domain with approval
Use this approach if the domain owner approves its use and can provide the DNS verification needed by Microsoft 365.
Ask the domain owner and your Microsoft 365 administrator for approval to add the sender domain to the organization.
In the Microsoft 365 admin center, open Settings > Domains and select Add domain. Follow the prompts to verify ownership using the required DNS record.
Open the Exchange admin center and go to Mail flow > Accepted domains. Confirm that the verified domain is listed and that its configuration matches your organization's mail-routing plan.
Send a test message through the existing connector using an authorized sender address from the newly accepted domain. Check the delivery result or any new rejection message.

Use the external domain's authorized mail system
Use this option when the sender domain cannot be added to your Microsoft 365 organization.
Document Your Mail Relay Setup with WPS Office
WPS Office is a free, lightweight Office alternative with a familiar interface and Microsoft Office format compatibility for an easier transition. It can help you document relay settings, but it cannot fix an Exchange Online connector or authorize a sender domain.

Frequently Asked Questions
Why does the connector work for one domain but reject another?
The working sender domain is configured as an accepted domain in the organization, while the other sender domain is not. In this scenario, Office 365 rejects the latter with error 550 5.7.64 ATTR36.
Where can I check accepted domains in Exchange Online?
In the Exchange admin center, go to Mail flow > Accepted domains and look for the domain used in the sender address.
Can I send from the external domain if I cannot add it to Microsoft 365?
Use a mail system authorized by that domain's owner. Ask its administrator for the service settings and permission to send from the address.
Will WPS Office fix the Office 365 relay error?
No. The relay error must be addressed through Microsoft 365 domain and mail configuration or by using the external domain's authorized mail system. WPS Office can help document the setup.




