diff --git a/infra/core/host/appservice.bicep b/infra/core/host/appservice.bicep index cd00e3f774..b8d502c8da 100644 --- a/infra/core/host/appservice.bicep +++ b/infra/core/host/appservice.bicep @@ -102,6 +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' }, runtimeName == 'python' ? { PYTHON_ENABLE_GUNICORN_MULTIWORKERS: 'true' } : {}, !empty(applicationInsightsName) ? { APPLICATIONINSIGHTS_CONNECTION_STRING: applicationInsights.properties.ConnectionString } : {},