Guide per mail provider

Set up DMARC for Microsoft 365

DMARC defines what receivers do with mail that passes neither SPF nor DKIM for your domain, and sends you reports about it. This guide shows what Microsoft 365 specifies and recommends.

Microsoft 365: all records at a glance

DMARC with Microsoft 365: what the provider specifies

For custom domains Microsoft 365 has no portal and no switch for DMARC: the record is a TXT record at _dmarc that you create at the DNS host. Microsoft recommends starting with p=none and a reporting address, then p=quarantine with a rising pct value and finally p=reject, subdomains first and the parent domain last.

The tenant’s onmicrosoft.com domain is often forgotten. It can be abused as a sender too and gets its own DMARC record: in the Microsoft 365 admin center you add a TXT record with the name _dmarc and the value v=DMARC1; p=reject under the DNS records of that domain.

As a receiver, Microsoft 365 sends aggregate reports to the rua address of the sender domain, but only for mail to recipient domains whose MX points directly to Microsoft 365; if another service sits in front of Microsoft 365 there are none. Microsoft never sends forensic reports. Inbound, Microsoft evaluates the sender’s policy: with p=reject the message is rejected, with p=quarantine it goes to Junk, provided the anti-phishing policy honors the DMARC policy.

DNS
v=DMARC1; p=none; rua=mailto:dmarc@example.com

How to set up DMARC for Microsoft 365

The procedure in four steps:

  • Check that SPF and DKIM are in place for Microsoft 365: include:spf.protection.outlook.com in the SPF record and signing enabled in the Defender portal.
  • At the DNS host create a TXT record with the name _dmarc and the starting value with p=none and a rua address.
  • Evaluate reports for a few weeks, fix further senders such as a newsletter tool or ticket system, then tighten to p=quarantine and p=reject.
  • In the Microsoft 365 admin center add a TXT record _dmarc with v=DMARC1; p=reject to the onmicrosoft.com domain.

Publishing at the DNS host

The DMARC record is a TXT record with the name _dmarc. It applies to the whole domain and every service sending on its behalf, not just the mail provider. The guides per host below show how to enter the name in the respective DNS editor.

Verify and keep an eye on it

The DMARC checker below reads the record, checks policy, reporting addresses and alignment and shows whether it matches SPF and DKIM of Microsoft 365. DomainWarn keeps checking the record afterwards and alerts you when it changes or the policy is relaxed.

Frequently asked questions

Where do I configure DMARC in Microsoft 365?
Nowhere in the portal: for custom domains DMARC is a TXT record at _dmarc at the DNS host. Only for the onmicrosoft.com domain do you add it in the Microsoft 365 admin center under the DNS records of the domain.
Do I get DMARC reports from Microsoft 365?
Yes, when you send to mailboxes at Microsoft 365: Microsoft sends aggregate reports to the rua address of your domain, provided the MX of the receiving domain points directly to Microsoft 365. Where your own MX points does not matter for that. Microsoft does not send forensic reports.
How long should p=none stay?
Until the reports show that all legitimate senders pass SPF or DKIM, usually four to eight weeks. In the long run p=none does not protect.
Check now

Free DMARC record check: policy (none, quarantine, reject), pct, reporting addresses and syntax errors. With recommendations for moving to p=reject.

DomainWarn checks SPF, DKIM, DMARC, DNS and certificates of all client domains regularly and reports changes before mail lands in spam.

Monitor this domain continuously14-day free trial, no credit card.

Publishing at your host

The mail provider specifies the value; it is created at the domain’s DNS host. Pick your host for the way to the DNS editor.

All hosts at a glance

The same guide for other mail providers

All mail providers at a glance