However, if you prefer the swap to not proceed if the application fails to warm up then you can configure it by using these app settings: By default the swap will proceed as long as the site responds with any status code. More detailed explanation of that process is available at How to warm up Azure Web App during deployment slots swap. Use swap detector to troubleshoot swap errorsĭuring the swap operation the site in the staging slot is warmed up by making an HTTP request to its root directory.Configure the behavior of the slot settings.Minimize the random cold starts in the production slot.Swap slots only if the warm up request gets an expected status code.These can be used to modify the swap logic as well as to improve the application availability during and after the swap. This post explains some of the not so well-known features and configurations settings of the Azure App Service deployment slots.