Azure App Service Certificate became unusable before displayed expiry after rekey/reissue — RCA and escalation requested

Eddy Blatt 1 Reputation point
2026-08-13T05:10:05.8+00:00

Title

Azure App Service Certificate became unusable before displayed expiry after rekey/reissue — RCA and escalation requested

Details

This relates to a resolved production incident involving an Azure App Service Certificate used by an Azure Function App with an SNI custom-domain binding.

Because this is a public forum, I have intentionally omitted our subscription ID, tenant/resource-group names, exact resource names, domain names, certificate thumbprints/serial numbers and domain-validation tokens. I have timestamped Azure screenshots and the exact identifiers available and can provide these privately if this is escalated to a formal Azure Support case.

What happened

Earlier in the week we had begun the normal rekey/reissue process for an Azure App Service Certificate.

A newly issued certificate/version existed in Azure, but we had deliberately not completed the production certificate cutover yet. The existing certificate remained the certificate being used by the production Function App/custom-domain binding while we planned to complete the change during a lower-traffic maintenance window.

Azure showed the existing production certificate with an expiry date of 15 August 2026.

On 7 August 2026, approximately eight days before that displayed expiry date, production HTTPS clients unexpectedly began rejecting the certificate.

This forced us to perform the remaining certificate work as an emergency production change rather than during the planned maintenance window.

What we observed during recovery

During the emergency investigation/recovery:

  1. We performed Sync on the Azure App Service Certificate.

Azure showed that a newer issued certificate/version existed in the Azure certificate/Key Vault lifecycle.

However, the Function App was still showing/using the previous certificate. Sync alone did not move the Function App custom-domain binding onto the newly issued certificate.

We therefore went to the Function App:

Certificates → Add certificate → Import App Service Certificate

and imported the newly issued App Service Certificate into the Function App.

A new Function App certificate entry then appeared with the new thumbprint and later expiry.

We went to:

Custom domains → Update binding

selected the newly imported certificate, retained SNI SSL, and updated the binding.

Immediately after that binding update, the production API recovered and HTTPS worked normally again.

We therefore know how we recovered the service. What we do not know is why the certificate that was still bound to production became unacceptable to clients before the expiry date Azure displayed.

Domain validation context

Our public DNS is managed by an external DNS/domain provider rather than Azure. Where Azure required domain-ownership verification during certificate issuance/rekey, an administrator with access to that DNS provider completed the requested validation.

We are not asserting that the DNS provider caused the TLS failure. Our understanding is that DNS/domain validation and the Azure-hosted TLS certificate/binding are separate concerns.

Please confirm whether that understanding is correct and whether any domain-validation/rekey state could cause an already-issued and already-bound production certificate to become unusable before its stated expiry.

Questions for Microsoft

1. Why did the previously bound certificate stop being accepted before its displayed expiry?

Could it have been revoked, deactivated, superseded, replaced, or otherwise made unusable as part of the App Service Certificate rekey/reissue lifecycle?

2. Can initiating Rekey/Reissue affect the currently bound production certificate before Sync or an explicit binding change is performed?

Our expectation was that the existing bound certificate would continue functioning until either:

we explicitly cut over to the newly issued certificate, or

the existing certificate reached its NotAfter/expiry date.

Is that expectation correct?

3. What exactly does Sync change?

In particular, please distinguish between:

the App Service Certificate resource;

the Key Vault certificate/secret version;

the certificate imported/available to the Function App; and

the certificate actually selected by an SNI custom-domain binding.

4. Should Sync have updated the Function App automatically?

In our case a newer certificate existed, but Sync did not result in the Function App using it.

The working recovery was:

Import App Service Certificate → verify new Function App certificate → explicitly update SNI binding

Is that the expected production procedure for this architecture, or should Sync normally have propagated the new certificate/binding automatically?

5. Is the old certificate guaranteed to remain usable between Rekey and cutover?

If not, what event can make it unusable before its displayed expiry, and how is a customer expected to know that this has happened or is about to happen?

6. Can Microsoft inspect the historical certificate lifecycle for 7 August 2026?

We need the authoritative Microsoft-side events/timestamps for the affected certificate, including where available:

issuance/reissue;

revocation status;

supersession/replacement;

Key Vault version changes;

App Service Certificate Sync events;

Function App certificate state; and

hostname/SNI binding changes.

We do not have access to enough historical platform-side information in the Azure portal to determine this ourselves.

7. Was there any Azure platform action or service incident that could have contributed?

The Azure portal has subsequently surfaced an App Service service/maintenance notice affecting our region. We can provide its tracking details privately. Please confirm whether any relevant platform event occurred at the time of this incident.

8. What monitoring should we configure?

We need an alert that detects that a certificate is no longer trusted/usable by real HTTPS clients, rather than relying solely on the expiry date displayed in Azure.

Production-safe procedure requested

Please also provide Microsoft's recommended sequence for future App Service Certificate rekeys for this architecture.

Specifically, we would like the authoritative order for:

Rekey → domain verification → certificate issuance → Sync → Function App certificate import/verification → SNI binding update → external HTTPS verification → retirement of old certificate

Please identify which of those steps Azure performs automatically and which require an explicit administrator action.

Request for escalation

This question concerns a historical production outage and the internal lifecycle state of an Azure-managed certificate. I do not believe the root cause can be established purely from configuration guidance or documentation.

If Priority Community Support / Microsoft Q&A does not have access to the Microsoft-side historical certificate lifecycle, revocation, synchronization and binding evidence required to determine the cause, please escalate this to a formal Azure Support case and provide the support case/ticket ID.

We have the exact Azure subscription/resource identifiers, certificate names and thumbprints, domain information, timestamped screenshots and incident records available to provide privately to the assigned Microsoft engineer.Title

Azure App Service Certificate became unusable before displayed expiry after rekey/reissue — RCA and escalation requested

Details

This relates to a resolved production incident involving an Azure App Service Certificate used by an Azure Function App with an SNI custom-domain binding.

Because this is a public forum, I have intentionally omitted our subscription ID, tenant/resource-group names, exact resource names, domain names, certificate thumbprints/serial numbers and domain-validation tokens. I have timestamped Azure screenshots and the exact identifiers available and can provide these privately if this is escalated to a formal Azure Support case.

What happened

Earlier in the week we had begun the normal rekey/reissue process for an Azure App Service Certificate.

A newly issued certificate/version existed in Azure, but we had deliberately not completed the production certificate cutover yet. The existing certificate remained the certificate being used by the production Function App/custom-domain binding while we planned to complete the change during a lower-traffic maintenance window.

Azure showed the existing production certificate with an expiry date of 15 August 2026.

On 7 August 2026, approximately eight days before that displayed expiry date, production HTTPS clients unexpectedly began rejecting the certificate.

This forced us to perform the remaining certificate work as an emergency production change rather than during the planned maintenance window.

What we observed during recovery

During the emergency investigation/recovery:

We performed Sync on the Azure App Service Certificate.

Azure showed that a newer issued certificate/version existed in the Azure certificate/Key Vault lifecycle.

However, the Function App was still showing/using the previous certificate. Sync alone did not move the Function App custom-domain binding onto the newly issued certificate.

We therefore went to the Function App:

Certificates → Add certificate → Import App Service Certificate

and imported the newly issued App Service Certificate into the Function App.

A new Function App certificate entry then appeared with the new thumbprint and later expiry.

We went to:

Custom domains → Update binding

selected the newly imported certificate, retained SNI SSL, and updated the binding.

Immediately after that binding update, the production API recovered and HTTPS worked normally again.

We therefore know how we recovered the service. What we do not know is why the certificate that was still bound to production became unacceptable to clients before the expiry date Azure displayed.

Domain validation context

Our public DNS is managed by an external DNS/domain provider rather than Azure. Where Azure required domain-ownership verification during certificate issuance/rekey, an administrator with access to that DNS provider completed the requested validation.

We are not asserting that the DNS provider caused the TLS failure. Our understanding is that DNS/domain validation and the Azure-hosted TLS certificate/binding are separate concerns.

Please confirm whether that understanding is correct and whether any domain-validation/rekey state could cause an already-issued and already-bound production certificate to become unusable before its stated expiry.

Questions for Microsoft

1. Why did the previously bound certificate stop being accepted before its displayed expiry?

Could it have been revoked, deactivated, superseded, replaced, or otherwise made unusable as part of the App Service Certificate rekey/reissue lifecycle?

2. Can initiating Rekey/Reissue affect the currently bound production certificate before Sync or an explicit binding change is performed?

Our expectation was that the existing bound certificate would continue functioning until either:

we explicitly cut over to the newly issued certificate, or

the existing certificate reached its NotAfter/expiry date.

Is that expectation correct?

3. What exactly does Sync change?

In particular, please distinguish between:

the App Service Certificate resource;

the Key Vault certificate/secret version;

the certificate imported/available to the Function App; and

the certificate actually selected by an SNI custom-domain binding.

4. Should Sync have updated the Function App automatically?

In our case a newer certificate existed, but Sync did not result in the Function App using it.

The working recovery was:

Import App Service Certificate → verify new Function App certificate → explicitly update SNI binding

Is that the expected production procedure for this architecture, or should Sync normally have propagated the new certificate/binding automatically?

5. Is the old certificate guaranteed to remain usable between Rekey and cutover?

If not, what event can make it unusable before its displayed expiry, and how is a customer expected to know that this has happened or is about to happen?

6. Can Microsoft inspect the historical certificate lifecycle for 7 August 2026?

We need the authoritative Microsoft-side events/timestamps for the affected certificate, including where available:

issuance/reissue;

revocation status;

supersession/replacement;

Key Vault version changes;

App Service Certificate Sync events;

Function App certificate state; and

hostname/SNI binding changes.

We do not have access to enough historical platform-side information in the Azure portal to determine this ourselves.

7. Was there any Azure platform action or service incident that could have contributed?

The Azure portal has subsequently surfaced an App Service service/maintenance notice affecting our region. We can provide its tracking details privately. Please confirm whether any relevant platform event occurred at the time of this incident.

8. What monitoring should we configure?

We need an alert that detects that a certificate is no longer trusted/usable by real HTTPS clients, rather than relying solely on the expiry date displayed in Azure.

Production-safe procedure requested

Please also provide Microsoft's recommended sequence for future App Service Certificate rekeys for this architecture.

Specifically, we would like the authoritative order for:

Rekey → domain verification → certificate issuance → Sync → Function App certificate import/verification → SNI binding update → external HTTPS verification → retirement of old certificate

Please identify which of those steps Azure performs automatically and which require an explicit administrator action.

Request for escalation

This question concerns a historical production outage and the internal lifecycle state of an Azure-managed certificate. I do not believe the root cause can be established purely from configuration guidance or documentation.

If Priority Community Support / Microsoft Q&A does not have access to the Microsoft-side historical certificate lifecycle, revocation, synchronization and binding evidence required to determine the cause, please escalate this to a formal Azure Support case and provide the support case/ticket ID.

We have the exact Azure subscription/resource identifiers, certificate names and thumbprints, domain information, timestamped screenshots and incident records available to provide privately to the assigned Microsoft engineer.

Azure App Service
Azure App Service

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


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.