Add TLS/SSL binding fails to validate after correctly setting up the custom domain

TAL 5 Reputation points
2026-09-22T07:32:45.3866667+00:00

The DNS records have been set based on the instructions and the A records have been removed based on this: https://learn.microsoft.com/en-us/answers/questions/5852936/app-service-managed-certificate-creation-fails-whe (which also says the only way to fix this is through support or getting an outside certificate).

The error is:

Hostname not eligible for App Service Managed Certificates creation. Ensure that your domain has an active CNAME record which is set to...

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.


3 answers

Sort by: Most helpful
  1. TAL 5 Reputation points
    2026-09-22T11:58:13.82+00:00

    This is resolved. I'm not sure what happened, but I deleted a few older DNS entries and then it worked after about an hour.

    Was this answer helpful?


  2. kagiyama yutaka 5,655 Reputation points
    2026-09-22T10:55:23.7833333+00:00

    I think the CNAME for www is the part to check now. ASMC requires it to map directly to the app’s .azurewebsites.net hostname, and an intermediate CNAME blocks issuance and renewal.

    Check the public CNAME response, then retry Certificates → Managed certificates → Add certificate → Validate. If it already matches and validation still fails, the DNS record alone does not identify the cause. At that point, contact Azure Support.

    Was this answer helpful?

    0 comments No comments

  3. AI answer

    2026-09-22T07:33:11.34+00:00

    For this specific App Service Managed Certificate error, the supported fixes in the available guidance are:

    1. Confirm the hostname is added and validated first In Azure portal, go to App Service > Custom domains > Add custom domain. Enter the hostname and select Validate. The expected result is green checkmarks for the hostname record and TXT record before adding the domain.
    2. Verify DNS is using the correct record pattern
      • For a subdomain, use a CNAME to *.azurewebsites.net.
      • For a root/apex domain, use an A record to the app IP plus the TXT asuid verification record.
      • Do not keep conflicting records for the same name.
    3. Allow for DNS propagation and Azure-side validation delay Even when public lookup tools resolve correctly, Azure validation can still fail because of TTL or cached negative DNS responses. The documented guidance is to wait and retry later. This usually resolves within two hours, and DNS propagation can take up to 48 hours worldwide.
    4. If App Service Managed Certificate is not allowed for the hostname, use a custom certificate instead The documented limitation is that the free ASMC method does not issue certificates for wildcards or certain domain types. In that case, use a certificate from a trusted certificate authority.
    5. Upload or import a certificate and bind it manually
      • Upload PFX: App Service > TLS/SSL Settings > Private Key Certificates (.pfx), then upload the certificate.
      • Then go to Custom domains > Add binding and select the uploaded certificate.
      • Use SNI SSL for most scenarios.
      • IP-based SSL is needed only for older clients that do not support SNI, and IP SSL requires Standard tier or greater.
    6. If the domain is still associated with another Azure resource, remove that conflict A domain can be linked to only one App Service-related Azure resource at a time. If it was previously bound elsewhere and cannot be removed because the old resource is inaccessible, Azure support is the documented path to release the domain.
    7. Check for binding conflicts if certificate binding fails after validation If Azure reports hostname conflicts or SSL binding conflicts, remove old bindings first. Also avoid duplicate IP-based bindings.

    The accepted Q&A case matching this exact error states the issue was caused by a backend service path problem and was resolved by Microsoft on the service side. There is no documented self-service cache refresh for that condition. When DNS is correct, the hostname validates, and managed certificate creation still returns "Hostname not eligible for App Service Managed Certificates creation", the supported workaround in the available guidance is to use a trusted custom certificate, or use Azure support if the hostname/domain association is stuck.


    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

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