Connect your domain to Microsoft Office 365

Verification of domain ownership

Office 365 needs to verify if you are the domain owner. There are two ways doing that:

We recommend the TXT record as that's the preferred option of Microsoft.

  • Please login to your Microsoft Office 365 admin center
  • Choose Setup > Domains
  • On the Domains page, choose your domain, then choose Start setup. You'll go back to the domains setup wizard to see the specific value you need to add
  • On the Verify domain page, choose Add a TXT record instead, then choose Next
  • Copy the TXT value shown. It looks like this: MS=msXXXXXXXX
  • Login to your Moniker customer account
  • From your My Domains list click on the domain you would like to configure
  • At the bottom of the page click the blue Edit button (root domain)

  • From the pop-up under the TXT section

  • Enter the before copied TXT record like this: MS=msXXXXXXXX

  • Click the small Add button to enter the next TXT record: v=spf1 include:spf.protection.outlook.com -all

Relevant instructions in Microsoft Office 365 help

How to enter Office 365's MX record to enable domain to receive email

  • From your My Domains list click on the domain you would like to configure
  • At the bottom of the page click the blue Edit button (root domain)
  • From the pop-up under the Mail settings section
  • Select Mail Exchanger (MX record)
  • Enter the following MX record with a priority of 0 (left box):
  • <MX token>.mail.protection.outlook.com in the right box (where <MX token> is a value like msxxxxxxx)

Add four CNAME records

In order to create a sub-domain with a CNAME please do the following:

  • From your My Domains list click on the domain you would like to configure
  • Check the table below
  • Enter the left-side value into the Create new Subdomain section
  • Click Create subdomain
  • Copy the corresponding right-side value from the table below
  • From the pop-up select CNAME and enter the right-side value (paste with mouse or ctrl-v)
  • Save
  • Do the same for the rest of the table

CNAMEs to add

Subdomain / HostValue / Target
autodiscoverautodiscover.outlook.com
lyncdiscoverlyncdiscover.outlook.com
msoidmsoid.outlook.com
sipsip.outlook.com
You can easily copy from this list by hovering your mouse over the line and clicking the copy symbol.

Add two SRV records

To add the SRV records, please fo the following:

  • Create a subdomian _sip._tls
  • Under the SRV section
  • Enter 100 in the Priority box
  • Enter 1 in the Service weight box
  • Enter 443 in the Service port box
  • Enter sipdir.online.lync.com in the Service host box
  • Save
  • Create a new sub-domain _sipfederationtls._tcp
  • Under the SRV section
  • Enter 100 in the Priority box
  • Enter 1 in the Service weight box
  • Enter 5061 in the Service port box
  • Enter sipfed.online.lync.com in the Service host box
  • Save

Was this article helpful?

Help us to become even better and reviewing this page!