diff --git a/rg_add_eventgrid.bicep b/rg_add_eventgrid.bicep index 3e9919f..fe4e256 100644 --- a/rg_add_eventgrid.bicep +++ b/rg_add_eventgrid.bicep @@ -31,7 +31,7 @@ resource packageContainer 'Microsoft.Storage/storageAccounts/blobServices/contai parent: defBlobServices name: package_container_name } -resource functionApp 'Microsoft.Web/sites@2024-11-01' existing = { +resource functionApp 'Microsoft.Web/sites@2025-03-01' existing = { name: appName } diff --git a/rg_funcapp.bicep b/rg_funcapp.bicep index e77b88c..ecc3e9c 100644 --- a/rg_funcapp.bicep +++ b/rg_funcapp.bicep @@ -157,7 +157,7 @@ var app_settings = use_shared_keys ? concat(common_settings, [ ]) // Create the function app. -resource functionApp 'Microsoft.Web/sites@2024-11-01' = { +resource functionApp 'Microsoft.Web/sites@2025-03-01' = { name: functionAppName dependsOn: [storageBlobDataContributorRoleAssignment] location: location