Opens in a new tab

Microsoft 365 550 5.7.23: rejected because of Sender Policy Framework violation

The receiving system checks SPF and rejects mail that fails it, and the server that sent this message is not authorised by the sender domain’s SPF record.

550 5.7.23 The message was rejected because of Sender Policy Framework violation
1 other wording of the same rejection

Outlook.com, older wording (the domain publishes v=spf1 -all):

550 command rejected due to Sender ID validation failure.
Code550 5.7.23
Sent byMicrosoft 365 and Outlook.com
TypePermanent — not retried
CauseSPF

Check your domain’s SPF, DKIM and DMARC

Enter the domain in your From address. We read its records the way Microsoft 365 and Outlook.com does.

What it means

This appears both when mail to a Microsoft 365 recipient fails SPF and when a Microsoft 365 tenant’s own outbound mail fails SPF at another receiver.

Microsoft adds one cause people rarely think of: outbound mail classed as spam is sent through its High Risk Delivery Pool, whose servers will never pass your SPF record.

Why it happens

  • The sending server or service is not in the SPF record.
  • On-premises servers sending through Microsoft 365 whose addresses are not in SPF.
  • A domain sent from that was never added and verified in the tenant.
  • Outbound mail flagged as spam and sent through the High Risk Delivery Pool.

How to fix it

  1. Check your SPF record below and add the missing sender (include:spf.protection.outlook.com for Microsoft 365).
  2. Add on-premises sending addresses to SPF, and add every domain you send from to the tenant.
  3. If outbound mail is being classed as spam, fix that first — SPF cannot pass from the High Risk Delivery Pool.

Microsoft 365 SPF and DKIM setup →

Sources

Message text and meaning checked on 25 September 2026 against these official sources:

Catch it before the bounces start

Add your domain and we monitor what these bounces are about — SPF, DKIM, DMARC, your sending servers on the blocklists, Gmail’s spam rate — every day, and email you the day something changes. Free for your first domain.

Create a free account