diff --git a/.azure/modules/functionApp/appSettings.bicep b/.azure/modules/functionApp/appSettings.bicep index 3de13e56b..37a7067a2 100644 --- a/.azure/modules/functionApp/appSettings.bicep +++ b/.azure/modules/functionApp/appSettings.bicep @@ -7,7 +7,7 @@ param appSettings object @description('The current app settings of the web application') param currentAppSettings object -resource webApp 'Microsoft.Web/sites@2024-04-01' existing = { +resource webApp 'Microsoft.Web/sites@2023-12-01' existing = { name: webAppName } diff --git a/.azure/modules/functionApp/slackNotifier.bicep b/.azure/modules/functionApp/slackNotifier.bicep index 6825d9abb..cce6842bd 100644 --- a/.azure/modules/functionApp/slackNotifier.bicep +++ b/.azure/modules/functionApp/slackNotifier.bicep @@ -97,7 +97,7 @@ resource applicationInsights 'Microsoft.Insights/components@2020-02-02' existing var functionAppNameMaxLength = 40 var functionAppName = uniqueResourceName('${namePrefix}-slacknotifier-fa', functionAppNameMaxLength) -resource functionApp 'Microsoft.Web/sites@2024-04-01' = { +resource functionApp 'Microsoft.Web/sites@2023-12-01' = { name: functionAppName location: location kind: 'functionapp'