Unable to issue managed certificates for custom domain of container app

Davide Costa 0 Reputation points
2025-08-13T14:13:10.7833333+00:00

I am trying to issue a managed certificate for a custom domain on a container app.

The container app has an active HTTP ingress that accepts traffic from anywhere with no restrictions.

I added CNAME and TXT records in the DNS and the domain validation passes:

"Hostname eligible for Managed Certificate creation. Please note that it might take up to 10 minutes for Managed Certificate to be issued."

When I add the certificate, it stays in "provisioningState": "Pending" for more than 1 hour and then fails with "error": "Operation timed out.", "provisioningState": "Failed".

The same custom domain worked fine before.

This initially happened when I triggered a cloud deployment pipeline which didn't apply changes to the cloud infrastructure.

Could it be related to the: "Upcoming Policy Updates Impacting Azure Container Apps Managed Certificates Effective 15 August 2025"?

I am also unable to delete the custom domain with no binding:

az containerapp hostname delete --hostname <domain> --name <container-app-name> --resource-group <resource-group> --subscription <subscription-id> --yes
(CertificateMissing) CertificateId property is missing for customDomain '<domain>'.
Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
{count} votes

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.