In my case I couldnt recreate slot so I needed to manually connect secondary slot after swapping. If this setting would be selected, secondary slot would be connected automatically.
This yaml contains a build and a deploy stage and will deploy a published function from the build stage and apply settings. Ive manged to get help from Azure support and weve found out the problem: Ive created secondary slot without cloning the configuration settings from main slot. location description ( 'The application runtime that the function app uses' ) param functionRuntime string = 'dotnet' param functionSubnetId string param environmentName string param instrumentationKey string param storageAccountName string var connectionString = concat ( 'DefaultEndpointsProtocol=https AccountName= $ ]' id : settings
Description ( 'Id of hosting plan' ) param hostingPlanId string param functionAppName string param location string = resourceGroup ().