How to Add Domain to Office 365?

An Office 365 subscription provides you with a third-level domain in the onmicrosoft.com zone (in the format YourTenantName.onmicrosoft.com). You can use it in all Microsoft Online Services. However, if you have your own domain name, you can add it to Office 365 and use it to provide personalized use of the brand in Azure services. In this article, we’ll show you how to add your organization’s domain to the Office 365.

Note. To add, change, or delete domains, you need the Office 365 Global Administrator rights in your subscription.

  1. Log in to the Office 365 Admin Center portal (https://admin.microsoft.com) under an account with tenant administrator rights;
  2. Select Settings in the left menu; add domain to office 365
  3. Find the Get your custom domain set up section and click on the View button;; add new domain to office 365
  4. You will see a list of domains added to your tenant (including * .onmicrosoft.com). Click the Add domain button; add domain in office 365
  5. Specify the full domain name and click Next;
  6. Next, you are prompted to verify domain ownership;;
  7. If your domain is registered with the GoDaddy registrar, you can use the simplified domain verification wizards (you will have to log in with your GoDaddy account). Office 356 also integrates with the following domain registrars: 1&1 IONOS, 123Reg, WordPress, Plesk, MediaTemple. If your domain is registered with another domain registrar, select the option Add a txt record instead. o365 add domain
  8. Copy the provided information about the TXT record from the Verify domain page;office 365 add new domain
  9. Log in to your domain’s DNS host portal;
  10. Create a new TXT DNS record with the copied information and save the changes (the interface of the web portal may differ for different domain registrars);
  11. Return to the Office 365 Admin Center and click the Verify button.
    Hint. Please note that domain verification in Office 365 may take up to 24-36 hours to distribute information from the DNS server of your domain registrar;
  12. Press the Finish – you’re done!
READ ALSO  Add/Remove Calendar Permissions in Office 365/Exchange via PowerShell

After Office 365 successfully verifies your domain, you can assign it to your users. To use various Office 365 services, you will need to add the appropriate SRV/MX/A/TXT records in your domain registrar DNS control panel.

Different Office 365 Services requires the following DNS records to function properly.

DNS recordPurposeValue
CNAMEUsed to direct authenticationAlias: msoid
Target: clientconfig.partner.microsoftonline-p.net.cn
TXTUsed to verify that you own a domain.Host: @ (
TXT Value: A text string provided by Office 365 domain setup wizard
CNAME
(Exchange Online)
An autodiscover entry that makes it easy for users to set up a connection between Exchange Online and their Outlook desktop client or mobile client.Alias: Autodiscover
Target: autodiscover.outlook.com
MX
(Exchange Online)
Sends e-mails for your domain to the Exchange Online service on Office 365.
Warning! If you already have a mail system and mailboxes outside of Office 365, you must develop a migration plan before creating MX records. Otherwise, users will stop receiving emails due to new email routing settings.
Domain:  theitbros.com
Target email server:<MX token>.mail.protection.outlook.com
Preference/Priority: Lower than any other MX records
SPF (TXT)
(Exchange Online)
Used to prevent spamming on behalf of your domain e-mails. SPF records work by identifying the servers that are authorized to send email from your domain.
TXT
(Exchange federation)
Used for Exchange federation in hybrid deployment scenarios.TXT record 1: For example, contoso.com and generated, domain-proof hash text
CNAME
(Exchange federation)
Autodiscover helps to automatically find the Exchange Server host and configures Outlook client for your users.Alias: For example, Autodiscover.service.contoso.com
Target: autodiscover.outlook.com
SRV
(Skype for Business Online)
Allows your Office 365 domain to share instant messaging (IM) features with external clients by using SIP federation.Service: sipfederationtls
Protocol: TCP
Priority: 100
Weight: 1
Port: 5061
Target: sipfed.online.lync.com
SRV
(Skype for Business Online)
Used by S4B to coordinate the flow of information between clients.Service: sip
Protocol: TLS
Priority: 100
Weight: 1
Port: 443
Target: sipdir.online.lync.com
CNAME
(Skype for Business Online)
Used by the Lync client to help find the Skype for Business Online service and sign in.Alias: sip
Target: sipdir.online.lync.com
CNAME
(Skype for Business Online)
Used by the Lync mobile client to help find the Skype for Business Online service and sign in.Alias: lyncdiscover
Target: webdir.online.lync.com
Host (A)Used for single sign-on (SSO). It provides the endpoint for your off-premises users.Target: For example, sts.contoso.com
CNAME (Network endpoints for Microsoft Intune)Used to manage mobile devices (MDM).Alias: enterpriseregistration
Target: enterpriseregistration.windows.netandAlias: enterpriseenrollment
Target: enterpriseenrollment.manage.microsoft.com
READ ALSO  Exclude Notes From Archiving in Office 365
Cyril Kardashevsky

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.