Cannot create App Service Managed Certificate with error "Only letters and numbers are allowed"

Stewart Rand 71 Reputation points
2021-06-15T04:16:28.927+00:00

I am attempting to add a free managed certificate to my app services, but receiving the following error:

Properties.CanonicalName is invalid. Canonical name www-uat.example.com.au includes at least one special character. Only letters and numbers are allowed.

However, I was able to successfully create a certificate in another subscription (same azure region, and naming format [www-prod.example.com.au]) about a week ago, and have previously never had issues requesting certificates with hyphens in the name. I cannot find any documentation or troubleshooting posts mentioning this limitation - has this been changed recently?

The portal shows a green tick when attempting to request, but gives the above error when clicking 'Create'

Hostname eligible for certificate creation. Click Create to create your App Service Managed Certificate.

Deploying via ARM template gives the same error.

Status Message: Properties.CanonicalName is invalid. Canonical name www-uat.example.com.au includes at least one special character. Only letters and numbers are allowed. (Code: BadRequest)

Other variations of this URL format also fail (www-dev.example.com.au, authoring-uat.example.com.au).

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

Accepted answer
  1. Grmacjon-MSFT 18,451 Reputation points
    2021-06-23T22:33:10.61+00:00

    Hello everyone,

    This issue is now resolved. The fix has been deployed to every region. Thank you so much for your patience!

    Best,
    Grace

    1 person found this answer helpful.

5 additional answers

Sort by: Most helpful
  1. Grmacjon-MSFT 18,451 Reputation points
    2021-06-17T04:52:47.613+00:00

    Hi everyone,

    We apologize for the frustration and impact this issue has caused. Thank you so much for your patience. The engineering team deployed a fix which should be rolling out over the next week.

    Best,
    Grace

    1 person found this answer helpful.

  2. Digital Dividend AB 6 Reputation points
    2021-09-01T14:07:58.2+00:00

    Hello,

    We are having the similar issue with App Service Managed Certificate creation. Attached snapshot as well for the error. Reason might be due to swedish characters in domain. Location is North Europe.

    Any help in this regard will be appreciated128335-test-image.png

    1 person found this answer helpful.
    0 comments No comments

  3. Florian Dürrbaum 6 Reputation points
    2024-02-28T10:45:06.9666667+00:00

    This issue is not resolved. Facing it in West EU with German "Umlaut" in First-Level-Domain-Name, which is valid:

    User's image

    1 person found this answer helpful.

  4. Yashvit Naik 26 Reputation points
    2021-10-14T06:36:24.31+00:00

    This issue is still not resolved!! I am facing this even today in West EU.

    The domain I am using is with a dash in the url:
    xxxxx-yyyyy.xyz.com

    140368-ssl-error.png


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.