Entra ID fails to verify custom domain in Cloudflare

Digital Arsitek 0 Reputation points
2025-03-15T09:52:54.76+00:00

I have a domain name registered in Cloudflare. However, I cannot use it as Custom Domain name in Entra ID. Entra ID fails to verify domain name (see image below).

I've tried several combinations: registering TXT record only, MX record only, and both in Cloudflare. I also waited for more than 72 hours. In all trials, I confirmed that the DNS records are registered properly in Cloudflare, by cross-checking it on Cloudflare and using third-part DNS checker such as https://dnschecker.org/. I removed all other DNS records except for the ones requested by Entra ID. The domain name is "xxxxxxxxxx.com"

How can I resolve this issue?

User's image

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bandela Siri Chandana 3,055 Reputation points Microsoft External Staff Moderator
    2025-03-19T06:18:41.48+00:00

    Hi @Digital Arsitek
    I understand that you are verifying custom domain in Cloudflare, and you are unable to verify domain name.

    You need to ensure that whether you have added the record above registrar:

    The domain that you added was purchased from Cloudflare or a separate domain registrar. To verify and create DNS records for your domain in Microsoft 365, you first need to change the nameservers at your domain registrar so that they use the Cloudflare nameservers.

    To change your domain's name servers at your domain registrar's website yourself, follow these steps.

    1. Find the area on the domain registrar's website where you can edit the nameservers for your domain.
    2. Either create two nameserver records by using the values in the following table or edit the existing nameserver records so that they match the values.
    3. Save your changes.

    When you've added the record at your domain registrar's site, you'll go back to Microsoft and search for the record. When Microsoft finds the correct TXT record, your domain is verified.

    Follow the document for more information: https://learn.microsoft.com/en-us/microsoft-365/admin/dns/create-dns-records-at-cloudflare?view=o365-worldwide

    Hope this helps. Do let us know if you have any further queries.

    If this answers your query, do click `Accept Answer` and `Yes`.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.