Service Health Alerts


The presented resiliency recommendations in this guidance include Service Health Alerts and associated resources and settings.

Summary of Recommendations

Recommendations Details

ALA-1 - Configure Service Health Alerts

Category: Monitoring

Impact: High

Guidance

Service health provides a personalized view of the health of the Azure services and regions you’re using. This is the best place to look for service impacting communications about outages, planned maintenance activities, and other health advisories because the authenticated Service Health experience knows which services and resources you currently use. The best way to use Service Health is to set up Service Health alerts to notify you via your preferred communication channels when service issues, planned maintenance, or other changes may affect the Azure services and regions you use.

Resources

Resource Graph Query

// Azure Resource Graph Query
// This resource graph query will return all subscriptions without Service Health alerts configured.

resourcecontainers
| where type == 'microsoft.resources/subscriptions'
| project subscriptionAlerts=tostring(id),name,tags
| join kind=leftouter (
  resources
  | where type == 'microsoft.insights/activitylogalerts' and properties.condition contains "ServiceHealth"
  | extend subscriptions = properties.scopes
  | project subscriptions
  | mv-expand subscriptions
  | project subscriptionAlerts = tostring(subscriptions)
) on subscriptionAlerts
| where isempty(subscriptionAlerts1)
| project-away subscriptionAlerts1
| project recommendationID = "ala-1",id=subscriptionAlerts,name,tags