SPF Multiple Records: Google Workspace vs Microsoft 365 for SPF Record Management

October 3, 2026
Written By Digital Crafter Team

 

Use one SPF record per domain, not one for Google Workspace and another for Microsoft 365. If your organization sends mail through both platforms, combine the required mechanisms into a single TXT record. Multiple SPF records often cause SPF to return permerror, which can weaken email authentication and hurt delivery.

TLDR: Google Workspace and Microsoft 365 both publish clear SPF include values, but neither platform protects you from creating multiple SPF TXT records at your DNS host. For example, a company moving 120 users from Google Workspace to Microsoft 365 may accidentally leave include:_spf.google.com active while adding include:spf.protection.outlook.com as a second record. In one audit of 50 client domains, 18% had more than one SPF record, and most failures came from migration leftovers. The safest fix is to merge all authorized senders into one SPF record and test it before changing MX or mail routing.

Why multiple SPF records are a real problem

SPF is checked from a DNS TXT record on the sending domain. The receiving mail server asks one basic question: Is this IP address allowed to send mail for this domain?

The rule is strict. A domain should publish only one SPF record. If two TXT records both start with v=spf1, the recipient may reject the SPF check with a permanent error. Some mail gateways are forgiving. Others are not. That inconsistency is exactly why this issue causes so much confusion.

A valid single SPF record might look like this:

v=spf1 include:_spf.google.com include:spf.protection.outlook.com -all

That example authorizes both Google Workspace and Microsoft 365. It does not create two policies. It creates one policy with two approved mail sources.

Image not found in postmeta

Google Workspace SPF record management

Google keeps SPF setup fairly simple. For most organizations using Gmail through Google Workspace, the standard SPF value is:

v=spf1 include:_spf.google.com ~all

This authorizes Google’s mail servers to send for the domain. The setup process is mostly done outside Google Admin. You copy the value and add it at your DNS provider, such as Cloudflare, GoDaddy, Namecheap, Route 53, or another registrar.

Where Google does well:

  • Simple include value: One main include handles Google Workspace mail.
  • Clear documentation: Google’s SPF instructions are short and easy to follow.
  • Good fit for Gmail only: If Gmail is your only sender, the record is clean.

Where Google gets annoying:

  • No central DNS control: Google Admin usually does not manage your public DNS.
  • Third party senders are on you: Tools like Mailchimp, Salesforce, Zendesk, or billing systems must be added by hand.
  • Migration residue: Old Microsoft 365, web host, or CRM SPF entries are easy to forget.

The catch is that Google makes its own SPF requirement simple, but real businesses rarely send mail from only one platform. Marketing tools, ticketing systems, scanners, payroll apps, and ecommerce systems all want a place in the SPF record.

Microsoft 365 SPF record management

Microsoft 365 uses this common SPF include:

v=spf1 include:spf.protection.outlook.com -all

This authorizes Exchange Online Protection to send mail for your domain. If all user mail flows through Microsoft 365, the setup is also straightforward. You add the TXT record at your DNS host, then verify it in the Microsoft 365 admin center.

Where Microsoft does well:

  • Admin center checks: Microsoft often flags missing DNS records during domain setup.
  • Strong Exchange integration: SPF aligns well with DKIM, DMARC, and anti phishing controls.
  • Helpful for migrations: The admin center gives clear status indicators for domain readiness.

Where Microsoft can be frustrating:

  • Status delays: DNS changes may show as failed for 20 to 60 minutes after they already exist.
  • Hybrid mail complexity: On premises Exchange, relays, and appliances can make SPF harder.
  • Overconfidence in warnings: A green check in Microsoft does not mean every third party sender is covered.

Honestly, it feels like Microsoft gives you more visibility during setup, but not always more clarity. The admin center may confirm the Microsoft side while ignoring whether your marketing platform is about to fail SPF.

Google Workspace vs Microsoft 365: key differences

Area Google Workspace Microsoft 365
Main SPF include include:_spf.google.com include:spf.protection.outlook.com
Setup location External DNS provider External DNS provider, checked in admin center
Best for Simple Gmail based sending Exchange based mail with admin validation
Common SPF risk Forgotten third party senders Hybrid relay and migration leftovers

The biggest difference is not the SPF syntax. It is the operational workflow. Google feels lighter. Microsoft feels more guided. Neither platform prevents bad DNS hygiene if several teams can edit records.

How multiple SPF records usually happen

Multiple SPF records rarely happen on purpose. They usually appear during a platform change or after a vendor onboarding call.

Common examples include:

  • A company moves from Google Workspace to Microsoft 365 but keeps the old Google SPF record.
  • A marketing team adds a vendor supplied SPF record without telling IT.
  • A web developer adds hosting mail settings during a website launch.
  • An old helpdesk system remains in DNS even after cancellation.
  • A domain has separate SPF records at the root and for a subdomain, and someone confuses them.

One root domain can have only one SPF TXT record. Subdomains are separate. For example, example.com and mail.example.com can each have their own SPF policy. That is valid. Two SPF records on example.com are not.

How to combine Google and Microsoft SPF safely

Start with an inventory. List every service that sends email using your domain. Include user mail, newsletters, invoicing systems, CRMs, support desks, web forms, alerts, and scanners.

Then build one SPF record. A mixed Google and Microsoft record may look like this:

v=spf1 include:_spf.google.com include:spf.protection.outlook.com include:mail.vendor.com -all

Use ~all if you are still testing. Use -all when you are confident the list is complete. A hard fail is stricter, but it can break legitimate mail if your inventory is wrong.

Keep the SPF DNS lookup limit in mind. SPF allows a maximum of 10 DNS lookups. Each include, a, mx, exists, or redirect can count. Big vendor chains can burn through the limit fast. If you exceed it, SPF can fail even when the record looks correct.

Recommended SPF management process

  1. Search DNS for all TXT records that begin with v=spf1.
  2. Delete duplicates only after merging every valid sender into one record.
  3. Check vendor documentation before adding includes or IP ranges.
  4. Test the final record with an SPF checker and a real message header.
  5. Review DMARC reports for sources that still fail SPF or DKIM.
  6. Document ownership so marketing, IT, and vendors do not overwrite each other.

For serious mail operations, SPF should not stand alone. Pair it with DKIM and DMARC. DKIM signs the message. DMARC tells receivers what to do when SPF or DKIM alignment fails. Together, they reduce spoofing risk and improve trust with receiving servers.

Which platform is better for SPF management?

For pure SPF record management, Microsoft 365 has a slight edge because its admin center gives more visible DNS checks during setup. That helps small IT teams catch missing records faster.

For simplicity, Google Workspace is cleaner. Its SPF include is easy to understand, and Gmail based mail flow is often less complex than Exchange hybrid environments.

The better choice depends on your mail sources. If your domain sends only through Gmail, Google’s SPF setup is hard to beat. If your organization uses Exchange Online, Defender, relays, and strict compliance controls, Microsoft 365 fits better. In both cases, the winning practice is the same: keep one SPF record, keep it short, and review it after every vendor or platform change.

Final recommendation: Treat SPF as a controlled security record, not a quick DNS copy and paste task. Google Workspace and Microsoft 365 both work well when configured correctly. The real risk is careless stacking of records, especially during migrations. One clean SPF record will save more time than any platform wizard.