error with App Service Managed Certificate

Ernesto 0 Reputation points

Hi, I'm trying to create a managed certificate with terraform, but I receive this error, I already have a CNAME from MYSITE to

"Properties.CanonicalName is invalid. Not found CNAME directly pointing to * Current CNAME record of the hostname MYSITE is empty."

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,518 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 14,286 Reputation points

    Hi @Ernesto , thanks for the question. sorry to hear you're facing this error.

    Usually that error message means that your CNAME record for MYSITE is not correctly pointing to

    Please make sure that the CNAME record for MYSITE is correctly configured and pointing to in your DNS configuration. It can sometimes take some time (up to 72hrs) for changes to DNS records to propagate, so give it a bit of time and then check again if the error persists.

    Also, you need to make sure that your custom domain meets the requirements for managed certificates, which include:

    • The custom domain must be an apex domain or a subdomain.
    • The custom domain must have an A record pointing to your web app's IP address.
    • The custom domain must not be supported on apps that are not publicly accessible.
    • The custom domain must not be supported with root domains that are integrated with Traffic Manager.

    Hope that helps. Please let us know if you have further questions



    0 comments No comments