What this fixes
SPF lists which servers are authorized to send mail for your domain. See Fixing SPF Record Issues for what it does and why it matters — this guide gives you the exact record for Microsoft 365 and where to add it in Route 53.
This assumes you already have a hosted zone in Route 53 for your domain, and IAM permissions to edit it.
The record
v=spf1 include:spf.protection.outlook.com -all
Microsoft recommends -all (hard fail) provided DKIM and DMARC are also configured. If your tenant is in GCC High/DoD, use include:spf.protection.office365.us; in the China 21Vianet cloud, use include:spf.protection.partner.outlook.cn.
How to add it in Route 53
- Open the Route 53 console and go to Hosted zones → select your domain's hosted zone.
- Click Create record.
- Leave Record name as your root domain.
- Set Record type to
TXT. - Under Value, enter the record in quotes:
"v=spf1 include:spf.protection.outlook.com -all"— Route 53 requires TXT values to be wrapped in double quotes. - Leave TTL at the default (300s is fine).
- Click Create records.
- Re-run your scan to confirm.
If an SPF TXT record already exists, edit it rather than creating a second one.
Common pitfalls
- Forgetting to wrap the TXT value in double quotes — Route 53 will otherwise reject or mis-parse the record.
- Using the standard commercial-cloud include when your tenant is actually in GCC High or the China cloud.
Help Center