Set up SPF for Microsoft 365

  1. Publish one TXT record at your root domain.
  2. Use v=spf1 include:spf.protection.outlook.com -all.
  3. Microsoft recommends -all once you are confident every sender is listed.

Confirm it worked

DNS changes take time to propagate. Check the record once you have published it.

Microsoft 365 official documentation

Other Microsoft 365 guides