How do I set up DKIM for Microsoft 365?
The main steps to set up DKIM for Microsoft 365, from its documentation: create the DKIM keys in the Defender portal, publish the two DKIM CNAME records and turn on DKIM signing. Checked October 22, 2026.Last checked
Where this comes from
- Create the DKIM keys in the Defender portal, Publish the two DKIM CNAME records and Turn on DKIM signing
learn.microsoft.com/en-us/defender-office-365/email-authentication-dkim-configure · read 2026-10-22
The steps, in order
| Name | What the documentation says | Source |
|---|---|---|
| 1. 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 |
| 2. 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 |
| 3. 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 |
| DKIM | Two 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 · read 2026-10-22 |
| DKIM selectors | selector1 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 · read 2026-10-22 |
Related questions
- How do I set up DKIM for Google Workspace?
- How do I set up DKIM for HubSpot?
- How do I set up DKIM for Mailchimp?
- How do I set up DKIM for Mailgun?
Microsoft 365 email authentication guide →
Built from public pages on the dates shown. Prices and features change, so check the source before you buy. Outlevo sells outbound software and is not affiliated with the companies named unless the page says so.