Email authentication

Microsoft 365: SPF, DKIM and DMARC

To send as your own domain from Microsoft 365, follow its 5 documented steps, from publish the SPF record to publish DMARC, starting with p=none.Last checked

Each step quotes Microsoft 365's documentation and links to it.

Set it up, step by step

  1. Publish the SPF record
    Instead, you create the SPF TXT record at your domain registrar or DNS hosting service (often the same company).
    learn.microsoft.com/en-us/defender-office-365/email-authentication-spf-configure · read 2026-10-22
  2. Create the DKIM keys in the Defender portal
    On the DKIM tab, in the row for the custom domain or subdomain entry, try to slide the Toggle value from Disabled to Enabled.
    learn.microsoft.com/en-us/defender-office-365/email-authentication-dkim-configure · read 2026-10-22
  3. Publish the two DKIM CNAME records
    In another browser tab or window, go to the domain registrar for the domain, and then create the two CNAME records using the information from the previous step.
    learn.microsoft.com/en-us/defender-office-365/email-authentication-dkim-configure · read 2026-10-22
  4. Turn on DKIM signing
    After a while, return to the domain details flyout you left open in Step 6, and then select the Sign messages for this domain with DKIM signatures toggle.
    learn.microsoft.com/en-us/defender-office-365/email-authentication-dkim-configure · read 2026-10-22
  5. Publish DMARC, starting with p=none
    Start with a DMARC policy of p=none and monitor the results for the domain.
    learn.microsoft.com/en-us/defender-office-365/email-authentication-dmarc-configure · read 2026-10-22

Quoted from Microsoft 365's documentation on 2026-10-22. Providers change their instructions; the linked page is the authority. What the terms mean: SPF, DKIM (DomainKeys Identified Mail), DMARC.

Check your domain now

SPF, DKIM, DMARC and MX, looked up live, with what to fix. Free; nothing about your domain is stored.

The records, at a glance

SPF includeinclude:spf.protection.outlook.com, e.g. "v=spf1 include:spf.protection.outlook.com -all"; Microsoft recommends -all for Microsoft 365 domains
learn.microsoft.com/en-us/defender-office-365/email-authentication-spf-configure
DKIMTwo CNAME records, selector1._domainkey and selector2._domainkey, pointing at the values shown in the Microsoft Defender portal; then enable DKIM signing for the domain
learn.microsoft.com/en-us/defender-office-365/email-authentication-dkim-configure
DKIM selectorsselector1 and selector2 (Microsoft rotates between them); custom domains added since May 2025 point them at a host ending in dkim.mail.microsoft
learn.microsoft.com/en-us/defender-office-365/email-authentication-dkim-configure
DMARCA TXT record at _dmarc.<domain>; Microsoft recommends starting with p=none and moving to quarantine or reject
learn.microsoft.com/en-us/defender-office-365/email-authentication-dmarc-configure
MX record<MX token>.mail.protection.outlook.com: copy the exact value from the Microsoft 365 admin center
learn.microsoft.com/en-us/microsoft-365/enterprise/external-domain-name-system-records
Default domainThe *.onmicrosoft.com domain is signed by Microsoft automatically; custom domains need their own DKIM records
learn.microsoft.com/en-us/defender-office-365/email-authentication-dkim-configure

DMARC, whichever provider you use

  • Publish one TXT record at _dmarc.yourdomain.com, starting with v=DMARC1; p=none; rua=mailto:… to collect reports.
  • When reports show only your own senders, move to p=quarantine, then p=reject.
  • DMARC passes when SPF or DKIM passes and aligns with the From domain, so sign with your own domain.

Related

Outlevo runs these checks before every campaign

A sender that fails them is held, with the reason, until it is fixed.

14 days free · Your buyers in 60 seconds · Cancel anytime