App Service Managed Certificate expires while pending; retry remains Accepted and certificate list is empty

Petr Vambera 0 Reputation points
2026-10-28T11:50:41.8733333+00:00

I cannot issue a free App Service Managed Certificate for a custom subdomain on Azure App Service.

Environment:

  • Linux Web App, Basic App Service plan

Region: West Europe

Custom subdomain with a CNAME pointing directly to the app's azurewebsites.net hostname

HTTPS Only enabled

Timeline on October 28, 2026 (all times UTC):

08:31:57: The initial certificate creation request was Accepted.

Subsequent attempts failed with “Properties.CanonicalName is invalid. Found a duplicate certificate ... available or in pending issued”.

10:44:11: A new creation request was Accepted.

10:47:39: The initial request finally failed with: “Pending managed certificate failed: Pending certificate expired. Please try again.”

At the latest check, the new request still had only Started and Accepted events, with no terminal result.

Checks performed:

The managed certificate list in the portal is empty.

az webapp config ssl list --resource-group <resource-group> returns [].

Azure custom-domain validation passes for both CNAME and TXT.

Public DNS resolves to the expected App Service endpoint.

Azure diagnostics confirms that DNS resolution is correct.

Azure diagnostics confirms that DigiCert is allowed: no restrictive CAA records were found.

Azure diagnostics confirms that the Basic SKU supports managed certificates.

The custom hostname has no TLS binding because no certificate is available.

The certificate diagnostic reports that further investigation is required and recommends contacting support. My subscription has the Basic support plan, so I cannot submit a technical support ticket.

What additional checks can identify why issuance is timing out? Could there be a stale pending issuance operation that requires investigation by the App Service team?

I can provide correlation IDs and resource details privately to Microsoft support if needed.I cannot issue a free App Service Managed Certificate for a custom subdomain on Azure App Service.

Environment:

Linux Web App, Basic App Service plan

Region: West Europe

Custom subdomain with a CNAME pointing directly to the app's azurewebsites.net hostname

HTTPS Only enabled

Timeline on October 28, 2026 (all times UTC):

08:31:57: The initial certificate creation request was Accepted.

Subsequent attempts failed with “Properties.CanonicalName is invalid. Found a duplicate certificate ... available or in pending issued”.

10:44:11: A new creation request was Accepted.

10:47:39: The initial request finally failed with:
“Pending managed certificate failed: Pending certificate expired. Please try again.”

At the latest check, the new request still had only Started and Accepted events, with no terminal result.

Checks performed:

The managed certificate list in the portal is empty.

az webapp config ssl list --resource-group <resource-group> returns [].

Azure custom-domain validation passes for both CNAME and TXT.

Public DNS resolves to the expected App Service endpoint.

Azure diagnostics confirms that DNS resolution is correct.

Azure diagnostics confirms that DigiCert is allowed: no restrictive CAA records were found.

Azure diagnostics confirms that the Basic SKU supports managed certificates.

The custom hostname has no TLS binding because no certificate is available.

The certificate diagnostic reports that further investigation is required and recommends contacting support. My subscription has the Basic support plan, so I cannot submit a technical support ticket.

What additional checks can identify why issuance is timing out? Could there be a stale pending issuance operation that requires investigation by the App Service team?

I can provide correlation IDs and resource details privately to Microsoft support if needed.

Azure App Service
Azure App Service

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

0 comments No comments

1 answer

Sort by: Most helpful
  1. Jerald Felix 19,080 Reputation points Volunteer Moderator
    2026-10-29T17:13:07.3+00:00

    Hello Petr Vambera ,

    Greetings! Thanks for raising this question in the Q&A forum.

    The error "Pending certificate expired" means App Service Managed Certificate (ASMC) issuance started, but the DigiCert domain validation did not complete before the pending request timed out. Since all your DNS, CAA, and SKU checks pass, the most likely causes are a validation request that cannot reach the app endpoint, or a stale pending issuance record that keeps blocking new attempts (which fits the "duplicate certificate ... available or in pending issued" error). Your second request at 10:44 was also started before the first one expired at 10:47, so the two attempts may have overlapped.

    Let the current pending request finish before trying again. Do not submit more create requests while one shows only Started and Accepted. Each new request can hit the duplicate error and restart the clock. Pending requests normally end with a terminal result after a couple of hours, so wait for the 10:44 request to either succeed or fail.

    Check that the validation token endpoint works. Since July 2025 ASMC uses HTTP token validation. DigiCert requests https://<hostname>/.well-known/pki-validation/fileauth.txt, and App Service places the token there during issuance. While a request is pending, test it from outside Azure:

    curl -vk https://<your-subdomain>/.well-known/pki-validation/fileauth.txt
    

    The hostname must resolve publicly and reach the App Service front end directly. Make sure there is no proxy in front such as a Cloudflare orange cloud proxy, Azure Front Door, Application Gateway, or Traffic Manager, and make sure the CNAME points straight to <app>.azurewebsites.net with no extra hops that rewrite or redirect the path. Microsoft's November 2025 update says restrictions like IP rules, private endpoints, and client certificates are generally handled, but a public DNS record is still required.

    Hello Petr Vambera,

    Greetings! Thanks for raising this question in the Q&A forum.

    The error "Pending certificate expired" means App Service Managed Certificate (ASMC) issuance started, but the DigiCert domain validation did not complete before the pending request timed out. Since all your DNS, CAA, and SKU checks pass, the most likely causes are a validation request that cannot reach the app endpoint, or a stale pending issuance record that keeps blocking new attempts (which fits the "duplicate certificate ... available or in pending issued" error). Your second request at 10:44 was also started before the first one expired at 10:47, so the two attempts may have overlapped.

    Let the current pending request finish before trying again. Do not submit more create requests while one shows only Started and Accepted. Each new request can hit the duplicate error and restart the clock. Pending requests normally end with a terminal result after a couple of hours, so wait for the 10:44 request to either succeed or fail.

    Check that the validation token endpoint works. Since July 2025 ASMC uses HTTP token validation. DigiCert requests https://<hostname>/.well-known/pki-validation/fileauth.txt, and App Service places the token there during issuance. While a request is pending, test it from outside Azure:

    curl -vk https://<your-subdomain>/.well-known/pki-validation/fileauth.txt
    

    The hostname must resolve publicly and reach the App Service front end directly. Make sure there is no proxy in front such as a Cloudflare orange cloud proxy, Azure Front Door, Application Gateway, or Traffic Manager, and make sure the CNAME points straight to <app>.azurewebsites.net with no extra hops that rewrite or redirect the path. Microsoft's November 2025 update says restrictions like IP rules, private endpoints, and client certificates are generally handled, but a public DNS record is still required.

    1. Look for hidden or stale certificate resources. The portal list can be empty even when a pending object exists. Query the resource provider directly:
    az resource list --resource-type Microsoft.Web/certificates --query "[].{name:name, rg:resourceGroup, domain:properties.canonicalName, state:properties.provisioningState}" -o table
    

    Also check the resource group of the App Service plan, since certificates are stored with the plan's resource group. If you find a failed or orphaned certificate for your hostname, remove it:

    az resource delete --ids <certificate-resource-id>
    
    1. Retry with the CLI after the pending request has ended. This also gives a clearer error message than the portal:
    az webapp config ssl create --resource-group <rg> --name <app-name> --hostname <your-subdomain>
    az webapp config ssl bind --resource-group <rg> --name <app-name> --certificate-thumbprint <thumbprint> --ssl-type SNI
    

    Check the other usual blockers once more: the app must be running, the plan must be Basic or higher, and the hostname must already be added as a custom domain on the app. Also check CAA records on parent domains, since a CAA record on the root domain applies to the subdomain.

    1. Use a temporary alternative if you need HTTPS now. You can upload any certificate as a PFX (for example from your DNS or domain provider, or a free certificate from another CA), import one from Key Vault, or buy an App Service Certificate. Then bind it to the hostname with SNI SSL. This avoids ASMC entirely while the stale request is investigated.

    If this answer helps you kindly accept the answer which will help others who have similar questions.

    Best Regards,
    Jerald Felix.

    Was this answer helpful?

    0 comments No comments

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.