STAGED DRAFT. Not live. Prices, links and contact details are placeholders until Brad's go-live OK.
Fix SPF, DKIM and DMARC for Microsoft 365
Your mailboxes are with Microsoft 365 (Outlook and Exchange Online), so Microsoft decides your SPF and DKIM values. DKIM for your own domain is a separate step that many businesses never finish.
General steps. We haven't yet checked these against Microsoft 365's current help pages, so this page doesn't name exact menus. Microsoft 365's own instructions are linked under the steps.
The three records in plain words
- SPF
- a public list of the services allowed to send email as your domain. When a message claims to come from you, the receiving server checks whether the sending server is on that list. It is one TXT record, and a domain must have only one.
- DKIM
- a digital signature on every message you send. Your email provider holds a private key and signs each message; you publish the matching public key in your DNS so anyone can confirm the message really came through your provider and wasn't changed on the way.
- DMARC
- your instructions for mail that fails those checks: report it to you, send it to spam, or reject it. It also requires the passing check to match the domain in the From line, which is what stops someone faking your address. Starting with p=none blocks nothing and only collects information.
Where Microsoft 365 fits
Microsoft 365 sends your mail, so its help pages give the SPF entry and the DKIM records. DKIM for a custom domain is switched on in Microsoft's security portal after you publish the records it shows you.
Your DKIM may be more than one record. Add every record exactly as your portal shows it, at whoever runs your DNS (your registrar or DNS host). If you bought Microsoft 365 through a reseller such as GoDaddy, the reseller may have added some records already: check before adding more.
Steps for Microsoft 365
- Find out where your domain's DNS records are managed. That is usually where you bought the domain, or a service like Cloudflare; it is often not Microsoft 365 itself. Records added anywhere else have no effect.
- SPF: look up the SPF value Microsoft 365 asks for on its help page (linked below). If your domain already has a TXT record starting v=spf1, add Microsoft 365's part to that same record. Never create a second SPF record; two of them make both fail.
- DKIM: sign in to Microsoft 365's admin settings as an administrator and find the DKIM (email authentication) setting for your domain. It gives you a record name and value. Copy both exactly.
- Add the DKIM record at your DNS host. When it shows up (anything from minutes to a couple of days), go back to Microsoft 365 and switch DKIM signing on if it is a separate step.
- DMARC: add a TXT record named _dmarc with the value v=DMARC1; p=none. This asks for reports only and blocks nothing. Tighten it later, once every service that sends as you passes.
- Run the free check (below) to confirm all three records are found and readable.
Microsoft 365's own help, for the exact menu names: How to use DKIM for email in your custom domain (Microsoft Learn); Set up DMARC to validate email in Microsoft 365 (Microsoft Learn).
Common mix-ups
- Publishing the DKIM records but not switching signing on, so your mail still isn't signed with your own domain.
- Copying the example DKIM values from a help article. Your values are specific to your Microsoft 365 organisation; copy them from your own admin portal.
- Two SPF records after moving from another provider. Remove the old provider's entry once nothing sends through it any more.
Check your domain first
The free check reads your domain's public records and shows a grade for SPF, DKIM and DMARC, with what's missing or broken. One domain at a time; nothing to sign up for.
Want the exact records for your domain and provider, written out with the steps? The fix pack is $49, one-time. See what's included.
Questions
Our domain shows as verified in Microsoft 365. Isn't that enough?
No. Verifying proves you own the domain; it doesn't publish SPF, DKIM or DMARC. Those are separate records.
Do I need DKIM for my default onmicrosoft.com address too?
Only your own domain needs your attention. The free check looks at the domain you type in.
We bought Microsoft 365 from a reseller. Whose instructions do I follow?
Microsoft's for the values, and your DNS host's for where to paste them. If the reseller also runs your DNS, its help pages may show both.
Last checked: 17 Oct 2026 (general steps only; Microsoft 365's own help pages not yet checked against them). Technical guidance only. These records help receiving servers trust your mail; nobody can promise inbox placement, because content, sending habits and the recipient's own settings matter too.