On this page

Fixing SPF in SiteGround for Microsoft 365

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 SiteGround.

This assumes your domain's DNS is managed through SiteGround's DNS Zone Editor (i.e. SiteGround's nameservers are set at your registrar).


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 SiteGround

  1. Log in to Site Tools.
  2. Go to Domain → DNS Zone Editor.
  3. Under Record Type, select TXT.
  4. Name: @ or your root domain.
  5. Value: paste the record above.
  6. Click Create.
  7. Re-run your scan to confirm.

If an SPF TXT record already exists, edit it rather than adding a second one.


Common pitfalls

  • Adding a second SPF TXT record instead of editing the existing one — SPF only allows one.
  • Using the standard commercial-cloud include when your tenant is actually in GCC High or the China cloud.