From 240c4eec2ac6100d382012ad2be634691024a5e6 Mon Sep 17 00:00:00 2001 From: Pamela Fox Date: Fri, 25 Oct 2024 14:12:51 -0700 Subject: [PATCH] Version depends on linux vs windows --- infra/core/host/appservice.bicep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/core/host/appservice.bicep b/infra/core/host/appservice.bicep index b8d502c8d..aa73ab69d 100644 --- a/infra/core/host/appservice.bicep +++ b/infra/core/host/appservice.bicep @@ -102,7 +102,7 @@ resource appService 'Microsoft.Web/sites@2022-03-01' = { { SCM_DO_BUILD_DURING_DEPLOYMENT: string(scmDoBuildDuringDeployment) ENABLE_ORYX_BUILD: string(enableOryxBuild) - ApplicationInsightsAgent_EXTENSION_VERSION: '~2' + ApplicationInsightsAgent_EXTENSION_VERSION: contains(kind, 'linux') ? '~3' : '~2' }, runtimeName == 'python' ? { PYTHON_ENABLE_GUNICORN_MULTIWORKERS: 'true' } : {}, !empty(applicationInsightsName) ? { APPLICATIONINSIGHTS_CONNECTION_STRING: applicationInsights.properties.ConnectionString } : {},