diff --git a/rg_add_eventgrid.bicep b/rg_add_eventgrid.bicep index 4221f28..2ae6505 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 093877a..9d559b9 100644 --- a/rg_funcapp.bicep +++ b/rg_funcapp.bicep @@ -161,7 +161,7 @@ var function_app_config = { } // 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