PowerDMARC

How to Setup DKIM For Office 365

How-to-Setup-Microsoft-Office-365-DKIM-record

DKIM for Office 365 is a specific implementation of the DKIM (DomainKeys Identified Mail) email authentication protocol that can be used to verify the legitimacy of the sender’s domain and ensure that the email content has not been altered during transit. If you enable DKIM, it can significantly help improve your email security and email deliverability. 

Moreover, when combined with DMARC, the DKIM email authentication method improves the chances of your legitimate emails reaching the recipient’s inbox instead of being flagged or rejected by email spam filters.

Let’s learn more about how to set up DKIM for Office 365 to improve your domain’s security and email deliverability! 

How to Set up DKIM for Office 365 for Custom Domains

Note: The DKIM for Office 365 configuration was previously carried out using the O365 Exchange Online portal. However, with underway improvements pertaining to Microsoft’s security processes, the Office 365 DKIM configuration process has been up and moved to the Microsoft 365 Defender portal.

There are a few key considerations if you use Office 365 as your email service providers. Please note that if you use the default.onmicrosoft.com domain to send your emails or a single custom email domain, you don’t need to manually set up DKIM Office 365 as Microsoft will enable DKIM signing your emails with 2048-bit DKIM keys by default. It is only when you have multiple domains registered on Office 365 is when you can use the steps below to configure DKIM signatures.

1. Log into the Defender Portal

2. Create your DKIM DNS Records

You can also PowerDMARCS DKIM generator to create DKIM records.

3. Copy the DKIM CNAME Records

How to Publish Office 365 DKIM Records in Your DNS

Note: The process for publishing DNS records varies depending on which DNS hosting provider you use. The time it takes for DNS propagation activate the records also depends on the same. The processes for a few of the major providers are linked below:

Enabling Microsoft Office 365 DKIM Keys on Your Defender Account

After you are done publishing the records on your DNS, head back to the DKIM page on your Defender portal and toggle the “Enable” option.

DKIM Couldn’t Be Enabled: CNAME Records Were Not Found

If an error persists and DKIM can’t be enabled for your domain on Microsoft’s Defender portal, follow these steps:

How to Configure DKIM for Office 365 Using Powershell

You can use Powershell to enable your Exchange Online DKIM setup for office 365, especially if you want to enable it for multiple domains. To do so:

1. Connect to Exchange online

2. Extract your Office 365 DKIM selectors by running the following script:

3. Add the CNAME records provided to your by Office 365 to your DNS

4. Run the following command to enable DKIM for the domain:

Setup DKIM for Office 365 the right way with PowerDMARC!

 

How to Check DKIM Office 365 Records?

You can check your Office 365 DKIM record with PowerDMARC. PowerDMARC’s advanced email security and authentication platform helps you protect your email communications easily! You can combat Business Email Compromise, and gain full advantage of DKIM once you sign up on our platform. 

1. Sign-up with PowerDMARC for Free

Create a free account on PowerDMARC to access the portal

2. Go to Powertoolbox > DKIM Record Lookup

On the left side navigation bar, click on Analysis tools > Powertoolbox > DKIM record lookup

3. Enter Your Domain Name and DKIM Selector

You can manually enter your selector name or keep the “auto” mode turned on to let our technology automatically detect your selector.

4. Click on Lookup to Check Your Record

Once you click on the lookup button, you can check your DKIM for Office 365 record’s validity status and configured tags as shown below:

Why Should I Setup DKIM Records?

There are several reasons why you should setup Office 365 DKIM records for a custom domain if you use Microsoft’s email services:

How to Disable DKIM for Office 365?

You can disable DKIM for Office 365 with a single click on the Defender portal.

Simply head to Email & collaboration > Policies & rules > Threat policies > DomainKeys Identified Mail(DKIM)

On the DKIM page toggle the Enable button to disable the protocol.

Note: DKIM verification can help you better authenticate messages during special cases like email forwarding where SPF may fail. Keeping DKIM enabled for your domains is considered a good email practice and is highly recommended by both Microsoft, and us.

Microsoft Office 365 SPF setup

Microsoft Office 365 DMARC setup

Hope this article was helpful to you! Are you new to email authentication and DMARC? Take a free DMARC trial to weigh out your benefits today.

Exit mobile version