76.9% of conveyancers can be impersonated. [Read]

Microsoft 365 Says My SPF Record Doesn't Match

Why setup wizards flag a managed SPF record, and why your mail still passes

4 min read Troubleshooting

Microsoft 365 Says My SPF Record Doesn't Match

When you add or check your domain in Microsoft 365, its setup page may show your SPF record in red: "The record we detected doesn't match all the expected values", with an Expected value of v=spf1 include:spf.protection.outlook.com -all and an Actual value like v=spf1 include:_spf.example_com.dmarcbusta.com ~all. The admin center may then list the domain with Possible service issues.

Your mail is fine. This warning is about how Microsoft's checker reads the record, not about how mail is actually authenticated.

Why it happens

When DMARC Busta manages your SPF, your domain's SPF record contains a single include: that points to the record we maintain for you. That record lists every service that sends as your domain, including spf.protection.outlook.com for Microsoft 365.

Microsoft's setup checker only compares the text of your top-level record with the line it expects. It does not follow include: mechanisms, so it can't see that Microsoft 365 is already in there. Receiving mail servers do follow them: that is how SPF is defined (RFC 7208), so Microsoft 365 mail passes SPF.

How to confirm it

  • On your domain's SPF page in DMARC Busta, Microsoft 365 is listed as an active source.
  • Send an email from Microsoft 365 to the Email Tester, or to a Gmail address and open Show original: it shows SPF: PASS.
  • Your DMARC reports show Microsoft 365's servers passing SPF for your domain.

What to do in Microsoft 365

  1. Check that the MX and autodiscover records show as correct (green). Those matter.
  2. Click Continue and finish.
  3. If Microsoft won't let you continue, untick Exchange and Exchange Online Protection on that step (or choose to skip DNS setup) and continue. Microsoft stops checking those records; your MX and autodiscover records stay exactly as they are.

Don't add the SPF record Microsoft suggests. A domain may only have one SPF record. Adding a second one makes SPF fail for all of your mail (a "permerror"). Replacing our record with Microsoft's would drop every other service that sends as you.

"Microsoft expects -all, you use ~all"

That is deliberate. With DMARC enforcing your domain, DMARC decides what happens to mail that fails, and ~all avoids some receivers rejecting legitimate forwarded mail on SPF alone before DMARC is checked. See SPF softfail vs hardfail.

Other platforms do the same

Google Workspace, HubSpot, Mailchimp and many other platforms run the same kind of text comparison and may report SPF as missing, "partially authenticated" or "not verified" when your SPF is managed. The answer is the same: the platform is in your SPF record if it is listed on your SPF page, and real mail passes. For DKIM, which those platforms do need set up, see the DKIM Setup Guides.