Key takeaways
- Set one SPF record for the sending domain that includes Microsoft's sender, enable DKIM signing for that domain in the Defender portal, and publish the two DKIM CNAME records that Microsoft gives you.
- Run cold outreach from a subdomain with its own authentication, not from your main domain.
- Confirm the signature in a test message to an Outlook mailbox you control.
This article covers a cold campaign sent from Microsoft 365 to recipients on Outlook. Because the sending platform and the destination are both Microsoft, the checks that matter most are on your own tenant: whether the custom domain is actually DKIM signing, whether its SPF covers the sending path, and whether the campaign runs from the main domain. The fixes below follow Microsoft's documented setup.
Research checked: 12 November 2026. Sources: Set up DKIM for Microsoft 365, Set up SPF for Microsoft 365, Outlook requirements for high-volume senders.
The short answer
Set one SPF record for the sending domain that includes Microsoft's sender, enable DKIM signing for that domain in the Defender portal, and publish the two DKIM CNAME records that Microsoft gives you. Run cold outreach from a subdomain with its own authentication, not from your main domain. Confirm the signature in a test message to an Outlook mailbox you control.
Enable DKIM on the custom domain
Microsoft says a custom domain signs outbound mail only after it has been added to Microsoft 365, and that the detection of the CNAME records in DNS drives when signing starts. The procedure, from Microsoft's DKIM page, is:
- In the Defender portal, open Email & collaboration, then Policies & rules, then Threat policies, then Email authentication settings.
- Select the DKIM tab, and in the row for your domain, try to slide the toggle from Disabled to Enabled.
- The resulting error dialog shows the two CNAME values you need. Microsoft notes the same values appear in a clearer format later on the page.
- Publish the CNAME records at your DNS host, then enable the domain again.
The records use the hostnames `selector1._domainkey` and `selector2._domainkey`. Microsoft's example for a domain named `contoso.com` points them at a target of the form `selector1-contoso-com._domainkey.<initial>.<partition>-v1.dkim.mail.microsoft`. The partition character differs by tenant, so copy the exact values from your own portal or from Exchange Online PowerShell. Microsoft's values in the documentation are for illustration only.
To read the values, Microsoft gives this command, with your domain in place of `contoso.com`:
``` Get-DkimSigningConfig -Identity contoso.com | Format-List Name,Enabled,Status,Selector1CNAME,Selector2CNAME ```
Set SPF on the sending domain
For a domain that sends only through Microsoft 365, Microsoft's SPF record is:
``` v=spf1 include:spf.protection.outlook.com -all ```
Publish one SPF record per domain or subdomain. Microsoft says the SPF record for `contoso.com` does not cover `marketing.contoso.com`, so a subdomain that sends needs its own record. Keep the record under Microsoft's ten-lookup limit, and check it with `dig +short TXT marketing.example.com`.
Move cold outreach onto a subdomain
Microsoft recommends a subdomain such as `marketing.contoso.com` for bulk email services you do not fully control, so that their reputation does not affect your main domain's mail. In this setup the subdomain needs its own SPF record, its own DKIM configuration (Microsoft says each subdomain you use to send requires its own DKIM configuration), and its own DMARC policy.
Microsoft's DMARC policy is inherited by undefined subdomains from the parent, which is one reason to publish an explicit record for the subdomain you send from.
Check the result in a test message
Send one message from the subdomain to an Outlook mailbox you control. Open the headers and confirm:
- SPF passes for the sending server.
- DKIM passes, and the signing domain is the subdomain you send from.
- DMARC passes, because the DKIM domain aligns with the From address.
Microsoft's DKIM page states that DKIM passes DMARC only when the domain that signed the message and the From domain align. An alignment failure with a passing DKIM check is a common surprise, so read the domain names, not just the pass labels.
Hypothetical example: a subdomain move
This is an illustration, not a measured result. Imagine a campaign of 500 messages a day sent from `example.com`, whose main mail is also on that domain. Moving the cold sends to `outreach.example.com`, giving that subdomain its own SPF, DKIM and DMARC records, keeps any complaint pattern on the outreach subdomain. The main domain's mail is then judged separately, which is the outcome Microsoft's guidance describes.