Log Analytics Alerts Resource Type changes from what is in Template
When programatically deploying Log Analytics Custom Query search Alerts, the template specifies a resource type of "Microsoft.OperationalInsights/workspaces/savedSearches/schedules/actions" Once the deployment finishes though, the Alert resource type shows "Microsoft.Insights/scheduledQueryRules"
I'm using this documentation to deploy my alerts:
https://docs.microsoft.com/en-us/azure/monitoring/monitoring-solutions-resources-searches-alerts
When I use that template I'm able to easily surpass the quota of 800 resources per Resource Group which is great, I have thousands of alerts I'd like in one resource group. When I attempt to deploy Application Insights Alerts to the same Resource Group, I get a ResourceQuotaExceeded exception.
Application Insights Template documentation:
https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitor-alerts-unified-log-template
The Resource Type shouldn't change from what's in the Log Analytics template and the Log Analytics Alerts shouldn't impact the Application Insights Alert quotas.

1 comment
-
Dan hi and thanks for the feedback.
I would advise to open a support ticket to property investigate the issue,Thanks,
Yossi