Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
App Service Certificate Out of Sync and DOES NOT SYNC
I am seeing a problem with my App Service Certificate that renewed last month (December 12th, 2025):
As you can see, the certificate is issued, but the linked certificates are out of sync. I have tried resyncing the certificates, and rekeying, but they do not sync. This has been happening for over a week now.
Azure App Service
-
hossein jalilian • 13,365 Reputation points • Volunteer Moderator2026-01-22T21:27:54.9333333+00:00 Thanks for posting your question in the Microsoft Q&A forum.
The
Linked private certificates are out of syncbanner appears when the App Service Certificate has been renewed, but the Linked Private Certificate used by your Web Apps still references the old cert. This usually happens due to Key Vault access issues, binding conflicts, or a stale linked certificate object.check that Key Vault permissions allow the App Service identity to access the certificate, remove any conflicting bindings, and if needed, delete and recreate the linked private certificate from Key Vault. For persistent issues, creating a new ASC and re-binding your apps is the reliable solution. After fixing, run Sync again, and if the banner remains but apps use the new cert, it’s mostly cosmetic.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful
-
Mike-E-angelo • 631 Reputation points
2026-01-22T21:31:34.8+00:00 Hi @hossein jalilian thank you for your reply. I can confirm that this is not cosmetic and I was unable to create a new certificate due to this syncing issue. If this was a permissions issue, shouldn't that be the error message? When I sync, it says it is successful (when it is not).
-
Praneeth Maddali • 12,670 Reputation points • Microsoft External Staff • Moderator
2026-01-22T22:08:00.8233333+00:00 Thanks for reaching us regarding your issue and sharing the screenshot and details—it's clear the certificate renewed successfully on December 12, 2025 (now expiring in January 2027), but the "Linked private certificates are out of sync" warning lingers despite your Sync and Rekey tries over the past week+.
This is a known post-renewal behavior: the new certificate version lands in Key Vault, but the App Service bindings don't always pick it up automatically (or even after manual Sync in some cases due to delays, permissions, or glitches).
This solution usually resolves the issue in most cases:- Check the Key Vault Go to the Key Vault linked to your ASC, then open the Certificates tab. Make sure the new expiration date appears and the status is "Enabled".
- Remove the outdated private certificate Navigate to App Service > TLS/SSL settings > Private Key Certificates (.pfx) and delete the old certificate (this only removes the link).
- Import the renewed certificate On the same TLS/SSL page, select Import Key Vault Certificate and choose the renewed certificate from your Key Vault.
- Update the bindings Go to TLS/SSL settings > Bindings, remove the old bindings, and add new ones using the updated certificate thumbprint.
Afterward, refresh your ASC blade. The yellow "Out of sync" warning should disappear, and the status will be healthy. Also, check Key Vault permissions for the Microsoft.Azure.CertificateRegistration principal, as incorrect permissions might cause issues.
Reference :
Kindly let us know if the above helps or you need further assistance on this issue.
Please "upvote" if the information helped you. This will help us and others in the community as well.
-
Mike-E-angelo • 631 Reputation points
2026-01-22T22:11:14.6066667+00:00 Hi @Praneeth Maddali thank you for your reply.
Check the Key Vault Go to the Key Vault linked to your ASC, then open the Certificates tab. Make sure the new expiration date appears and the status is "Enabled".
Please note that there are zero certificates in my Key Vault.
-
Mike-E-angelo • 631 Reputation points
2026-01-23T20:21:48.5166667+00:00 Hello this is still a problem and I would appreciate some assistance with my Azure account please.
-
Mike-E-angelo • 631 Reputation points
2026-01-25T07:26:24.7833333+00:00 Hello this is still a problem and I would appreciate some assistance with my Azure account please.
-
Mike-E-angelo • 631 Reputation points
2026-01-26T07:24:45.36+00:00 Hello this is still a problem and I would appreciate some assistance with my Azure account please.
-
Praneeth Maddali • 12,670 Reputation points • Microsoft External Staff • Moderator
2026-01-27T00:20:56.7766667+00:00 Hi @Mike-E-angelo , thanks for the update.
It's unusual for your Key Vault to have zero secrets and zero certificate objects when using an App Service Certificate (ASC). The ASC stores certificate versions as secrets, so there should always be at least one secret related to your domain.
If the Key Vault is empty, the renewal process can't add the new certificate, which leads to:
- Sync showing “success” but not making changes
- Rekey not creating a new version
- Linked private certificates staying out of sync
- Unable to import from Key Vault
This suggests a backend issue between the ASC and its Key Vault.
To check the setup:
- Go to ASC >Certificate Configuration >Step 1 and click the Key Vault link.
- Open Secrets (not Certificates) and see if any secret exists for your domain.
- Review Access Policies / RBAC to ensure:
- Microsoft Azure App Service (App ID: abfa0a7c-a6b6-4736-8310-5855508787cd) has Get permissions.
- Microsoft.Azure.CertificateRegistration (App ID: f3c21656-0979-4d16-8d37-6897a3a73bac) has Get/List/Delete on secrets.
If no secrets appear after these checks, the certificate renewal hasn't updated the Key Vault, and this can't be resolved from the portal alone.
At that point, a backend repair is needed to:
- restore the Key Vault linkage,
- resend the renewed certificate versions, or
- remap the ASC to a new Key Vault.
Once the correct secret is present, Sync should work and the out-of-sync warning will be resolved.
Reference:
https://learn.microsoft.com/azure/app-service/app-service-key-vault-references https://learn.microsoft.com/azure/app-service/configure-ssl-certificate#permissions-needed
-
Mike-E-angelo • 631 Reputation points
2026-01-27T08:12:25.77+00:00 Hi @Praneeth Maddali thank you for your reply. To start, I never said I had no secrets, only that I had no certificates. The secret is indeed in the key vault and has been updated for five years now. This year is the first year it has not updated.
Secondly, why is the interface stating it is successfully synchronized when that is clearly not the case? Is this not a bug? I hope you can understand the very obvious and present concern.
-
Praneeth Maddali • 12,670 Reputation points • Microsoft External Staff • Moderator
2026-01-28T16:40:19.37+00:00 Thank you for clarifying. I understand now that the secret is present in your Key Vault and has worked properly in the past, but the recent renewal did not update it—the new expiry date isn’t showing, and the old thumbprint remains. The "Sync successful" message can be misleading when nothing actually changes, which is understandably frustrating since auto-renewal typically works without issues.
This is often caused by the renewal service not having permission to update (write to) the secret in Key Vault, preventing the new certificate version from being added, even though the ASC status is "Issued."
To resolve this:
- Open your Key Vault in the Azure portal and go to Access policies (classic view).
2.Find or add a policy for Microsoft.Azure.CertificateRegistration:
- Search for it (App ID: f3c21649-0979-4721-ac85-b0216b2cf413, or try f3c21656-0979-4d16-8d37-6897a3a73bac if needed).
- Assign these Secret permissions: Get, List, Set, Delete.
- Save the changes.
- In your App Service Certificate blade, select Rekey and Sync, then click Rekey to trigger a new issuance and update the secret.
- Wait a few minutes, then click Sync.
5.Refresh the page and check the Key Vault secret versions—you should see a new one with a Jan 2027 expiry, and the "Out of Sync" warning should disappear.
This usually resolves renewal issues related to secret updates. For more information, see:
If the secret still doesn’t update (look for "permission denied" errors in the Key Vault Activity log),
Kindly let us know if the above helps or you need further assistance on this issue.
Please "upvote" if the information helped you. This will help us and others in the community as well.
-
Mike-E-angelo • 631 Reputation points
2026-01-28T22:57:39.3266667+00:00 Hi @Praneeth Maddali thank you for your reply. Please note that this Key Vault uses RBAC, not access policies, as you suggested. I again ask: why is the message stating that synchronization was successful when this clearly is not the case? Is this not a bug?
-
Mike-E-angelo • 631 Reputation points
2026-01-29T07:52:22.86+00:00 <This comment system is as broken as Azure... why can we not delete comments?>
-
Praneeth Maddali • 12,670 Reputation points • Microsoft External Staff • Moderator
2026-01-30T18:01:00.5866667+00:00 Yes, I am referring to RBAC. Please add the necessary role assignments to the service principal, including the Microsoft.Azure.CertificateRegistration role and the Key Vault Reader role. Once these roles are assigned, perform a rekey and sync operation. After that, delete the old binding and re-add the certificate binding to update the information.
-
Mike-E-angelo • 631 Reputation points
2026-01-30T18:07:00.2366667+00:00 Hi @Praneeth Maddali thank you for your reply but I am confused. You did not mention RBAC at all in your previous reply but are now saying that you are? I am unclear what you mean by "service principal". If you mean those GUIDs nothing returns when I enter them.
Additionally, I will ask a third time as you seem to not be answering my question:
Why is the message stating that synchronization was successful when this clearly is not the case? Is this not a bug?
Thank you for your continued assistance.
-
Mike-E-angelo • 631 Reputation points
2026-01-30T18:16:06.9266667+00:00 To be sure @Praneeth Maddali this is what I see in RBAC and it's still not working after I re-sync:
-
Mike-E-angelo • 631 Reputation points
2026-02-02T08:42:21.51+00:00 Hi @Praneeth Maddali any update please?
-
Mike-E-angelo • 631 Reputation points
2026-02-04T09:05:53.8766667+00:00 Hi @Praneeth Maddali / @Aditya Nandula, any update please?
-
Mike-E-angelo • 631 Reputation points
2026-02-05T08:50:34.82+00:00 Hi @Aditya N and @Praneeth Maddali any update please?
I reported this issue January 22nd, 2026:
https://howlongagogo.com/date/2026/january/22
This was 14 days ago.
-
Mike-E-angelo • 631 Reputation points
2026-02-06T08:40:04.9766667+00:00 Hi @Aditya N and @Praneeth Maddali any update please?
I reported this issue January 22nd, 2026:
https://howlongagogo.com/date/2026/january/22
This was 15 days ago.
-
Mike-E-angelo • 631 Reputation points
2026-02-11T11:53:51.26+00:00 Hi @Praneeth Maddali it is 5 days later, any update please?
-
Mike-E-angelo • 631 Reputation points
2026-02-16T15:06:57.23+00:00 Hi @Praneeth Maddali another 5 days later, any update please?
-
Mike-E-angelo • 631 Reputation points
2026-02-17T11:23:46.83+00:00 Hi @Praneeth Maddali any update please? I reported this issue on January 22nd, 2026:
https://howlongagogo.com/date/2026/january/22
This was 26 days ago.
Further, I was told via private message 10 days ago that this issue had been "escalated," which seems like a long time to wait without any actual escalation. I hope the concern is understandable and that you can understand the concern. Thank you for any further assistance you can provide.
-
Mike-E-angelo • 631 Reputation points
2026-02-18T08:11:39.2233333+00:00 Hi @Shree Hima Bindu Maganti please scroll up on the message history, you can see that this question has already been asked by @Praneeth Maddali and was already answered. Why are you adding new people to the chat instead of carefully reviewing the history to see whether the information you are requesting has already been requested by a previous agent and provided by the customer? I hope you understand the concern and resulting frustration of having the customer repeat themselves multiple times after nearly a month of not replying. Thank you for your continued assistance.
-
Shree Hima Bindu Maganti • 7,590 Reputation points • Microsoft External Staff • Moderator
2026-02-19T07:30:54.9433333+00:00 Hi @Mike-E-angelo
Thank you for your clarification. The “Synchronization successful” message does not validate whether a new certificate version was written to Key Vault or whether the thumbprint changed. The Sync operation only verifies that the App Service Certificate is linked to the Key Vault and that the linkage metadata exists. It does not confirm that a new secret version was created or that bindings were updated.Upon further review using investigation diagnostics, we are now seeing a specific error: “OPERATIONNOTPERMITTEDONKEYVAULT.” This indicates that the App Service Certificate resource is currently unable to perform the required secret operations on the associated Key Vault.
While the Sync operation returns “Synchronization successful,” that message only validates the linkage metadata. It does not confirm that the backend secret update completed successfully. In this case, the Key Vault is denying the required secret access (get/set/delete), which is preventing the certificate from properly synchronizing.
This explains why the certificate shows as “Issued” but remains out of sync. The issue is related to Key Vault access permissions rather than the portal or sync action itself.
Please verify that the App Service Certificate service principal has the required secret permissions on the Key Vault. Once access is properly configured, the synchronization should complete successfully.
https://learn.microsoft.com/en-us/azure/app-service/configure-ssl-certificate?tabs=apex%2Crbac%2Cazure-cli#permissions-needed
https://learn.microsoft.com/en-us/troubleshoot/azure/app-service/troubleshoot-azure-app-service-certificates?utm_source=chatgpt.com
Let me know if you have any further assistances needed. -
Mike-E-angelo • 631 Reputation points
2026-02-19T08:25:27.3466667+00:00 Hi @Shree Hima Bindu Maganti thank you for your reply but wow that seems like a lot of words to explain a very obvious bug in your system. You are clearly stating to your user (and indeed 3 or 4 support personnel who have already attempted to assist) that there is a successful operation occurring, when the underlying issue and warning continues to display to the user. Why is there such an obvious disconnect between the operation result and message with the actual resulting warning being displayed to the user? I hope you can understand the concern.
As for the subscription and information, I have already provided this in the chat as requested many weeks ago, please confirm.
-
Mike-E-angelo • 631 Reputation points
2026-02-21T08:09:52.2033333+00:00 Hi @Shree Hima Bindu Maganti thank you for your reply. I am still very unclear why your system is declaring "successful sync" when the warning messages persist! Why is it not showing the underlying error message for any permissions precluding the warning message to clear?
Additionally, if you carefully review the history of this ticket, you can see that I have already posted the recommended permissions as provided by several agents thus far, and this has not resolved the issue.
Please take a moment to confirm the permissions as presented in the previous history and confirm the permissions are as expected. Thank you for your continued assistance.
-
Mike-E-angelo • 631 Reputation points
2026-02-27T07:50:14.4133333+00:00 Hi @Shree Hima Bindu Maganti / @Praneeth Maddali I received a notification that ticket #2602190040001844 has been closed, and this issue still persists. Why are you closing tickets without customer confirmation?
-
Mike-E-angelo • 631 Reputation points
2026-02-27T20:45:47.4633333+00:00 The Private Message is no longer available on this issue, which is rather concerning, @Shree Hima Bindu Maganti and @Praneeth Maddali I have created another question here for awareness: https://learn.microsoft.com/en-us/answers/questions/5791566/app-service-certificate-out-of-sync-and-does-not-s
It is again alarming that you are creating tickets and then closing them without warning, explanation, or confirmation from the customer. This issue is still present and unsolved in my tenant. Thank you for any assistance you can provide in resolving this issue.
Sign in to comment