An Azure service that provides streamlined full-stack web app development.
Hello Coen Claus,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that your Azure App Service outage after deployment and failed backup restore – certificate not loading due to thumbprint mismatch.
Your outage was caused by a bad IaC-supplied WEBSITE_LOAD_CERTIFICATES thumbprint. The manual correction fixed production, but the durable fix is to correct the IaC source, stop manually typing thumbprints, add a pipeline gate that verifies the configured thumbprint against the actual App Service certificate, deploy first to a staging slot, run a certificate/authentication smoke test, and only then swap to production. Do not depend on App Service backup restore as the primary rollback for this class of issue, and make sure you use slots and deterministic IaC rollback, and use restore only through a tested slot-based recovery runbook.
Use the below for more reading and steps:
- https://learn.microsoft.com/en-us/azure/app-service/reference-app-settings
- https://learn.microsoft.com/en-us/azure/app-service/configure-common
- https://learn.microsoft.com/en-us/azure/app-service/configure-ssl-certificate
- https://learn.microsoft.com/en-us/azure/app-service/configure-ssl-certificate-in-code
- https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/app-service/configure-ssl-certificate-in-code.md
I hope this is helpful! Do not hesitate to let me know if you have any other questions, steps or clarifications.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.