Connect your DNS records at OVH to Microsoft 365

Use this article to connect DNS records at OVH to Microsoft 365 by verifying domain ownership and adding the required records for email, Microsoft Teams, and device management. After you add the records, your domain is ready to work with Microsoft 365.

This article covers the creation of the following DNS records at OVH:

Service DNS record types
Domain verification TXT
Email MX, CNAME (Autodiscover), TXT (SPF)
Microsoft Teams SRV (2), CNAME (2)
Microsoft Intune/MDM CNAME (2)

Note

OVH is a non-Microsoft site. Microsoft doesn't control the OVH site. Additionally, OVH might change their website and tools so that the steps in this article are no longer valid. For support with OVH's site and tools, contact OVH support.

Before you begin

  • You must own a domain registered with OVH.
  • You must add the domain in the Microsoft 365 admin center. If the domain isn't added in the Microsoft 365 admin center, follow the steps in Add a domain to add your domain before you start adding DNS records at OVH.

Note

When creating or updating DNS records, it typically takes about 15 minutes for DNS changes to take effect. However, it can occasionally take longer for a DNS record change to update across the Internet's DNS system. If you're having trouble with mail flow or other issues after adding DNS records, see Find and fix issues after adding your domain or DNS records.

Sign in to OVH to manage your domain's DNS records

To add DNS records at OVH, sign in to your OVH account and then go to the page where you can manage your domain's DNS records. Follow these steps to get there:

  1. Sign in to your OVH domains page by going to the OVH Log in to OVH page.

    Screenshot of the OVH login page.

  2. On the dashboard landing page, under View all my activity, select the name of the domain that you want edit.

  3. Select the DNS zone tab.

    Screenshot of the OVH DNS zone tab selected for a domain.

Add Microsoft 365 DNS records at OVH

To add required DNS records at OVH for Microsoft 365 services, select the tab based on which DNS records you need to add:

Add a TXT record for domain ownership verification

Before you can use your domain with Microsoft 365, you need to prove you own the domain. Your ability to sign in to your account at your domain registrar and create the DNS record proves to Microsoft that you own the domain. This process involves creating a TXT record at your domain registrar with a specific value that Microsoft can look for. When Microsoft finds the record with the correct value, your domain is verified. The TXT record is used only to verify that you own your domain. It doesn't affect anything else and can be deleted once domain verification is complete.

Note

The procedures in this section assume that you started the process of adding a domain, but you didn't verify domain ownership yet.

To add the TXT record for domain verification at OVH, follow these steps:

  1. Get the TXT value specific for your domain from the Microsoft 365 admin center. For help on finding the value of your TXT record in the Microsoft 365 admin center, see Gather the information you need to create DNS records.

  2. If you're not already signed in to the OVH DNS Zone page for your domain, follow the steps in Sign in to OVH to manage your domain's DNS records to get there.

  3. In the DNS Zone page, select the Add an entry tile.

    Screenshot of the OVH DNS Zone page with the Add an entry tile.

  4. In the Extended records section of the Step 1 of 3 - Add an entry to the DNS zone pane, select TXT.

    Screenshot of the OVH TXT entry selected in the Extended records section.

  5. In the Step 2 of 3 - Add an entry to the DNS zone pane, enter the values from the following table:

    Record Type Subdomain TTL Value
    TXT leave blank 3600 (seconds) MS=msXXXXXXXX
    • In the Value field, replace MS=msXXXXXXXX with the TXT value you gathered earlier from the Microsoft 365 admin center. The value shown in the table is only an example.
  6. Select Next.

  7. In the Step 3 of 3 - Add an entry to the DNS zone pane, select Confirm.

    Screenshot of the OVH confirmation pane for the TXT record used for verification.

  8. Wait a few minutes before you continue, so that the record you created can update across the Internet.

Now that you added the TXT record at your domain registrar's site, go back to the Microsoft 365 admin center and complete the domain ownership verification process. When Microsoft 365 finds the correct TXT record, your domain is verified.

To verify the record in the Microsoft 365 admin center, follow these steps:

  1. Sign in to the Microsoft 365 admin center.

  2. From the left navigation bar, select ... Show all, and then select Settings to expand it.

  3. Under Settings, select Domains.

  4. In the Domains page, select the ellipsis next to the domain that you're verifying, and then select Start setup.

    Screenshot of the Microsoft 365 admin center Domains page with the Start setup option selected to begin domain verification.

  5. In the Verify you own your domain page, make sure Add a TXT record to the domain's DNS records is selected, and then select Continue.

  6. On the Add a record to verify domain ownership page, select Verify.

  7. After you verify domain ownership, the How do you want to connect your domain? page appears. The rest of the wizard walks you through adding additional DNS records to connect your domain to Microsoft 365 services. For more information, see the following article or the following sections in this article:

Advanced option: Intune and Mobile Device Management for Microsoft 365

This service helps you secure and remotely manage mobile devices that connect to your domain. Mobile Device Management needs two CNAME records so that users can enroll devices to the service.

Support

If you don't find what you're looking for, check the Domains FAQ.

Tip

Some configuration tasks might be complex to perform. For technical support, follow these steps:

  1. Sign in to the Microsoft 365 admin center.
  2. At the bottom right, select Help & Support.
  3. In the Support Assistant pane that opens, enter your question.
  4. Review the results. If you still have questions, select Contact support.

To learn about your options for contacting support, see Get support for Microsoft 365 for business.