diff --git a/.azure/modules/containerAppEnvironment/main.bicep b/.azure/modules/containerAppEnvironment/main.bicep index 4b01db53..f6e2b425 100644 --- a/.azure/modules/containerAppEnvironment/main.bicep +++ b/.azure/modules/containerAppEnvironment/main.bicep @@ -57,7 +57,7 @@ resource application_insights_action 'Microsoft.Insights/actionGroups@2023-01-01 ] } } -resource exceptionOccuredAlertRule 'Microsoft.Insights/scheduledQueryRules@2023-03-15-preview' = +resource exceptionOccuredAlertRule 'Microsoft.Insights/scheduledQueryRules@2023-12-01' = if (emailReceiver != null && emailReceiver != '') { name: '${namePrefix}-500-exception-occured' location: location