Azure Event Grid Skill

SkillCloud & infra

Expert knowledge for Azure Event Grid development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, and integrations & coding patterns. Use when configuring Event Grid/MQTT namespaces, securing endpoints, routing events, integrating Functions/Service Bus, or troubleshooting delivery, and other Azure Event Grid related development tasks. Not for Azure Event Hubs (use azure-event-hubs), Azure Service Bus (use azure-service-bus), Azure Notification Hubs (use azure-notification-hubs), Azure Web PubSub (use azure-web-pubsub).

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Azure Event Grid Skill skill

What this skill tells your AI

The instructions your AI receives, as published by microsoftdocs/agent-skills in skills/azure-event-grid/SKILL.md and read by ahel’s review.

This skill provides expert guidance for Azure Event Grid. Covers troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, and integrations & coding patterns. It combines local quick-reference content with remote documentation fetching capabilities.

How to Use This Skill

IMPORTANT for Agent: Use the Category Index below to locate relevant sections. For categories with line ranges (e.g., L35-L120), use read_file with the specified lines. For categories with file links (e.g., [security.md](security.md)), use read_file on the linked reference file

IMPORTANT for Agent: If metadata.generated_at is more than 3 months old, suggest the user pull the latest version from the repository. If mcp_microsoftdocs tools are not available, suggest the user install it: Installation Guide

This skill requires network access to fetch documentation content:

  • Preferred: Use mcp_microsoftdocs:microsoft_docs_fetch with query string from=learn-agent-skill. Returns Markdown.
  • Fallback: Use fetch_webpage with query string from=learn-agent-skill&accept=text/markdown. Returns Markdown.

Category Index

CategoryLinesDescription
TroubleshootingL36-L44Diagnosing and fixing Event Grid issues: MQTT broker problems, error codes, common failures, network connectivity, and webhook subscription validation errors.
Best PracticesL45-L49Guidance on designing client-side failover for Event Grid, including using multiple regions, retry logic, and resilient publishing patterns for high availability.
Decision MakingL50-L60Guidance for choosing Event Grid tiers, schemas, Kubernetes vs Azure hosting, MQTT routing, autoscale, push delivery, and migration from Event Grid on IoT Edge to IoT Edge hub.
Architecture & Design PatternsL61-L67Patterns for routing events between namespaces, designing MQTT topic hierarchies, and implementing MQTT command/response flows using Azure Event Grid.
Limits & QuotasL68-L79Event Grid delivery/retry behavior, custom headers, event retention, and region-specific quotas/limits for topics, namespaces, and Kubernetes-based Event Grid
SecurityL80-L132Securing Event Grid endpoints and MQTT: auth (keys, SAS, Entra, JWT, certs), RBAC, managed identities, webhooks, TLS, IP/firewalls, private endpoints, policies, and cross-tenant delivery.
ConfigurationL133-L204Configuring Event Grid and MQTT namespaces, domains, filtering, monitoring, autoscale, and dead-lettering, plus detailed event schemas and subscription setup for many Azure and Microsoft services.
Integrations & Coding PatternsL205-L245Patterns and guides for integrating Event Grid with Auth0, Graph/M365 apps, MQTT, webhooks, Functions, Service Bus, Event Hubs, and understanding event schemas and handler configuration.

Troubleshooting

TopicURL
Troubleshoot Azure Event Grid MQTT broker issueshttps://learn.microsoft.com/en-us/azure/event-grid/mqtt-troubleshoot-errors
Azure Event Grid error codes and resolutionshttps://learn.microsoft.com/en-us/azure/event-grid/troubleshoot-errors
Troubleshoot common Azure Event Grid issueshttps://learn.microsoft.com/en-us/azure/event-grid/troubleshoot-issues
Diagnose Azure Event Grid network connectivity failureshttps://learn.microsoft.com/en-us/azure/event-grid/troubleshoot-network-connectivity
Troubleshoot Event Grid webhook subscription validationhttps://learn.microsoft.com/en-us/azure/event-grid/troubleshoot-subscription-validation

Best Practices

TopicURL
Implement client-side failover for Azure Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/custom-disaster-recovery-client-side

Decision Making

TopicURL
Select the right Azure Event Grid tierhttps://learn.microsoft.com/en-us/azure/event-grid/choose-right-tier
Choose compatible event schemas for Azure Event Grid subscriptionshttps://learn.microsoft.com/en-us/azure/event-grid/event-schema-compatibility
Compare Event Grid on Kubernetes vs Azure featureshttps://learn.microsoft.com/en-us/azure/event-grid/kubernetes/features
Choose MQTT routing options in Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/mqtt-routing
Use Autoscale for Azure Event Grid namespaceshttps://learn.microsoft.com/en-us/azure/event-grid/namespace-autoscale-overview
Decide on push delivery for Event Grid namespaceshttps://learn.microsoft.com/en-us/azure/event-grid/namespace-push-delivery-overview
Migrate from Event Grid on IoT Edge to IoT Edge hubhttps://learn.microsoft.com/en-us/azure/event-grid/transition

Architecture & Design Patterns

TopicURL
Forward events between Event Grid namespace topicshttps://learn.microsoft.com/en-us/azure/event-grid/forward-events-to-another-namespace-topic
Implement MQTT request-response commands with Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/mqtt-request-response-messages
Design MQTT topic spaces in Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/mqtt-topic-spaces

Limits & Quotas

TopicURL
Understand Azure Event Grid delivery and retry behaviorhttps://learn.microsoft.com/en-us/azure/event-grid/delivery-and-retry
Configure custom delivery headers for Azure Event Grid eventshttps://learn.microsoft.com/en-us/azure/event-grid/delivery-properties
Understand event retention for Event Grid namespace topicshttps://learn.microsoft.com/en-us/azure/event-grid/event-retention
Azure Event Grid FAQs on limits and behaviorhttps://learn.microsoft.com/en-us/azure/event-grid/faq
Understand Event Grid on Kubernetes delivery and retry behaviorhttps://learn.microsoft.com/en-us/azure/event-grid/kubernetes/delivery-retry
Set custom delivery headers for Event Grid namespaceshttps://learn.microsoft.com/en-us/azure/event-grid/namespace-delivery-properties
Delivery and retry behavior for Event Grid namespace pushhttps://learn.microsoft.com/en-us/azure/event-grid/namespace-delivery-retry
Review Azure Event Grid quotas and limits by regionhttps://learn.microsoft.com/en-us/azure/event-grid/quotas-limits

Security

TopicURL
Assign Event Grid managed identities to Azure roles on destinationshttps://learn.microsoft.com/en-us/azure/event-grid/add-identity-roles
Use access keys and SAS to authenticate Event Grid clientshttps://learn.microsoft.com/en-us/azure/event-grid/authenticate-with-access-keys-shared-access-signatures
Authenticate Event Grid namespace publishers with Entra IDhttps://learn.microsoft.com/en-us/azure/event-grid/authenticate-with-entra-id-namespaces
Configure Microsoft Entra ID auth for Event Grid publishinghttps://learn.microsoft.com/en-us/azure/event-grid/authenticate-with-microsoft-entra-id
Configure JWT authentication for Event Grid namespaceshttps://learn.microsoft.com/en-us/azure/event-grid/authenticate-with-namespaces-using-json-web-tokens
Configure webhook-based authentication for Event Grid namespaceshttps://learn.microsoft.com/en-us/azure/event-grid/authenticate-with-namespaces-using-webhook-authentication
Authenticate Event Grid publishers to topics and domainshttps://learn.microsoft.com/en-us/azure/event-grid/authentication-overview
Configure access, identity, and data residency for Event Grid topicshttps://learn.microsoft.com/en-us/azure/event-grid/configure-custom-topic
Configure IP firewall rules for Event Grid topics and domainshttps://learn.microsoft.com/en-us/azure/event-grid/configure-firewall
Configure IP firewall rules for Event Grid namespaceshttps://learn.microsoft.com/en-us/azure/event-grid/configure-firewall-namespaces
Configure network security perimeters for Azure Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/configure-network-security-perimeter
Configure private endpoints for Event Grid topics securelyhttps://learn.microsoft.com/en-us/azure/event-grid/configure-private-endpoints
Configure private endpoints for Azure Event Grid namespaceshttps://learn.microsoft.com/en-us/azure/event-grid/configure-private-endpoints-pull
Configure private link delivery for Azure Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/consume-private-endpoints
Configure cross-tenant Event Grid delivery with managed identityhttps://learn.microsoft.com/en-us/azure/event-grid/cross-tenant-delivery-using-managed-identity
Enforce Event Grid security controls with custom Azure Policieshttps://learn.microsoft.com/en-us/azure/event-grid/custom-azure-policies-for-security-control
Configure custom domains for Event Grid MQTT and HTTPhttps://learn.microsoft.com/en-us/azure/event-grid/custom-domains-namespaces
Configure Event Grid managed identity event deliveryhttps://learn.microsoft.com/en-us/azure/event-grid/deliver-events-using-managed-identity
Enable managed identity on Event Grid custom topics and domainshttps://learn.microsoft.com/en-us/azure/event-grid/enable-identity-custom-topics-domains
Enable managed identity on Event Grid partner topicshttps://learn.microsoft.com/en-us/azure/event-grid/enable-identity-partner-topic
Enable managed identity on Event Grid system topicshttps://learn.microsoft.com/en-us/azure/event-grid/enable-identity-system-topics
Validate webhook endpoints using CloudEvents schema in Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/end-point-validation-cloud-events-schema
Enable and use managed identities for Event Grid namespaceshttps://learn.microsoft.com/en-us/azure/event-grid/event-grid-namespace-managed-identity
Retrieve and manage access keys for Event Grid resourceshttps://learn.microsoft.com/en-us/azure/event-grid/get-access-keys
Enable managed identities for Azure Event Grid topicshttps://learn.microsoft.com/en-us/azure/event-grid/managed-service-identity
Configure MQTT client access control in Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/mqtt-access-control
Authenticate MQTT clients with CA certificate chainshttps://learn.microsoft.com/en-us/azure/event-grid/mqtt-certificate-chain-client-authentication
Configure MQTT client authentication in Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/mqtt-client-authentication
Configure MQTT client certificate authentication in Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/mqtt-client-certificate-authentication
Configure OAuth 2.0 JWT auth for Event Grid MQTThttps://learn.microsoft.com/en-us/azure/event-grid/mqtt-client-custom-jwt
Use Entra JWT auth and RBAC for MQTT clientshttps://learn.microsoft.com/en-us/azure/event-grid/mqtt-client-microsoft-entra-token-and-rbac
Configure custom webhook authentication for Event Grid MQTThttps://learn.microsoft.com/en-us/azure/event-grid/mqtt-client-webhook-authentication
Secure Event Grid MQTT namespaces with IP firewallhttps://learn.microsoft.com/en-us/azure/event-grid/mqtt-configure-firewall
Configure private endpoints for Event Grid MQTT namespaceshttps://learn.microsoft.com/en-us/azure/event-grid/mqtt-configure-private-endpoints
Understand TLS connection flow for Event Grid MQTT brokerhttps://learn.microsoft.com/en-us/azure/event-grid/mqtt-transport-layer-security-flow
Secure Azure Event Grid with network rules and private endpointshttps://learn.microsoft.com/en-us/azure/event-grid/network-security
Configure network security for Azure Event Grid namespaceshttps://learn.microsoft.com/en-us/azure/event-grid/network-security-namespaces
Authenticate Event Grid namespaces using OAuth JWThttps://learn.microsoft.com/en-us/azure/event-grid/oauth-json-web-token-authentication
Built-in Azure Policy definitions for Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/policy-reference
Authenticate and post events to Event Grid custom topicshttps://learn.microsoft.com/en-us/azure/event-grid/post-to-custom-topic
Secure Event Grid webhook delivery with Entra applicationhttps://learn.microsoft.com/en-us/azure/event-grid/scripts/powershell-webhook-secure-delivery-microsoft-entra-app
Secure Event Grid webhook delivery with Entra userhttps://learn.microsoft.com/en-us/azure/event-grid/scripts/powershell-webhook-secure-delivery-microsoft-entra-user
Secure Event Grid webhooks with Microsoft Entra IDhttps://learn.microsoft.com/en-us/azure/event-grid/secure-webhook-delivery
Authenticate event delivery to handlers in Azure Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/security-authentication
Configure Azure RBAC access control for Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/security-authorization
Azure Policy regulatory compliance controls for Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/security-controls-policy
Configure minimum TLS version for Event Grid topics and domainshttps://learn.microsoft.com/en-us/azure/event-grid/transport-layer-security-configure-minimum-version
Configure minimum TLS version for Event Grid topics/domainshttps://learn.microsoft.com/en-us/azure/event-grid/transport-layer-security-configure-minimum-version
Enforce minimum TLS versions for Azure Event Grid endpointshttps://learn.microsoft.com/en-us/azure/event-grid/transport-layer-security-enforce-minimum-version

Configuration

TopicURL
Configure custom domains for Event Grid MQTT and HTTPhttps://learn.microsoft.com/en-us/azure/event-grid/assign-custom-domain-name
Azure Communication Services chat events schema for Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/communication-services-chat-events
Presence events schema for Azure Communication Serviceshttps://learn.microsoft.com/en-us/azure/event-grid/communication-services-presence-events
Job Router events schema for Azure Communication Serviceshttps://learn.microsoft.com/en-us/azure/event-grid/communication-services-router-events
Azure Communication Services SMS events schema for Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/communication-services-telephony-sms-events
Voice and video calling events schema for Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/communication-services-voice-video-events
Create and manage Event Grid namespace topicshttps://learn.microsoft.com/en-us/azure/event-grid/create-view-manage-namespace-topics
Configure and manage Event Grid namespaceshttps://learn.microsoft.com/en-us/azure/event-grid/create-view-manage-namespaces
Configure dead-lettering for Event Grid namespace subscriptionshttps://learn.microsoft.com/en-us/azure/event-grid/dead-letter-event-subscriptions-namespace-topics
Configure diagnostic log settings for Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/enable-diagnostic-logs-topic
Configure event filtering options in Azure Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/event-filtering
AKS events schema and usage with Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/event-schema-aks
AKS resources events schema for Azure Resource Notificationshttps://learn.microsoft.com/en-us/azure/event-grid/event-schema-aks-resources
Use Azure Cache for Redis as an Event Grid sourcehttps://learn.microsoft.com/en-us/azure/event-grid/event-schema-azure-cache
Azure Health Data Services events schema for Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/event-schema-azure-health-data-services
Azure Maps events schema for Azure Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/event-schema-azure-maps
Azure SignalR Service events schema for Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/event-schema-azure-signalr
Configure Azure Communication Services as Event Grid sourcehttps://learn.microsoft.com/en-us/azure/event-grid/event-schema-communication-services
Container Registry events schema for Azure Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/event-schema-container-registry
ContainerService maintenance events schema for AKS notificationshttps://learn.microsoft.com/en-us/azure/event-grid/event-schema-containerservice-resources
Azure Data Box events schema for Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/event-schema-data-box
Event Grid namespace events schema for Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/event-schema-event-grid-namespace
Azure Event Hubs events schema for Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/event-schema-event-hubs
Health Resources events schema for Azure Resource Notificationshttps://learn.microsoft.com/en-us/azure/event-grid/event-schema-health-resources
Azure IoT Hub events schema for Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/event-schema-iot-hub
Azure Machine Learning workspace events schemahttps://learn.microsoft.com/en-us/azure/event-grid/event-schema-machine-learning
Maintenance Configuration events schema for Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/event-schema-maintenance-configuration
Azure Media Services events schema for Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/event-schema-media-services
Azure Policy events schema for Azure Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/event-schema-policy
Resource group lifecycle events schema for Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/event-schema-resource-groups
Resource Management events schema for Azure Resource Notificationshttps://learn.microsoft.com/en-us/azure/event-grid/event-schema-resources
Azure Service Bus events schema for Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/event-schema-service-bus
Azure subscription lifecycle events schema for Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/event-schema-subscriptions
Determine schema type for an Event Grid topichttps://learn.microsoft.com/en-us/azure/event-grid/get-topic-schema
Manage and publish events with Event Grid event domainshttps://learn.microsoft.com/en-us/azure/event-grid/how-to-event-domains
Map custom event schemas to Azure Event Grid schemahttps://learn.microsoft.com/en-us/azure/event-grid/input-mappings
Configure batch event delivery for Event Grid on Kuberneteshttps://learn.microsoft.com/en-us/azure/event-grid/kubernetes/batch-event-delivery
Configure advanced event filtering in Event Grid on Kuberneteshttps://learn.microsoft.com/en-us/azure/event-grid/kubernetes/filter-events
Install and configure Event Grid extension on Arc-enabled Kuberneteshttps://learn.microsoft.com/en-us/azure/event-grid/kubernetes/install-k8s-extension
Configure Event Grid dead-lettering and retry policieshttps://learn.microsoft.com/en-us/azure/event-grid/manage-event-delivery
View Event Grid metrics and configure alerts in Azure portalhttps://learn.microsoft.com/en-us/azure/event-grid/monitor-event-delivery
Use MQTT broker metrics and logs for monitoringhttps://learn.microsoft.com/en-us/azure/event-grid/monitor-mqtt-delivery-reference
Monitor data reference for Event Grid namespace push deliveryhttps://learn.microsoft.com/en-us/azure/event-grid/monitor-namespace-push-reference
Configure monitoring and alerts for Event Grid namespaceshttps://learn.microsoft.com/en-us/azure/event-grid/monitor-namespaces
Monitor data reference for Event Grid pull deliveryhttps://learn.microsoft.com/en-us/azure/event-grid/monitor-pull-reference
Reference for Event Grid push delivery metrics and logshttps://learn.microsoft.com/en-us/azure/event-grid/monitor-push-reference
Configure MQTT client groups in Event Grid namespaceshttps://learn.microsoft.com/en-us/azure/event-grid/mqtt-client-groups
Use MQTT client lifecycle events in Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/mqtt-client-life-cycle-events
Configure Azure Event Grid MQTT clients and groupshttps://learn.microsoft.com/en-us/azure/event-grid/mqtt-clients
Configure multiple MQTT sessions per client in Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/mqtt-establishing-multiple-sessions-per-client
Use MQTT Retain with Azure Event Grid brokerhttps://learn.microsoft.com/en-us/azure/event-grid/mqtt-retain
Configure enrichments for MQTT routed messageshttps://learn.microsoft.com/en-us/azure/event-grid/mqtt-routing-enrichment
Understand event schema for MQTT routed messageshttps://learn.microsoft.com/en-us/azure/event-grid/mqtt-routing-event-schema
Configure filtering for MQTT routed Event Grid messageshttps://learn.microsoft.com/en-us/azure/event-grid/mqtt-routing-filtering
Configure Autoscale settings for Event Grid namespaceshttps://learn.microsoft.com/en-us/azure/event-grid/namespace-enable-autoscale
Manually configure throughput units in Event Grid namespaceshttps://learn.microsoft.com/en-us/azure/event-grid/namespace-enable-manual-scale
Configure event filtering for Event Grid namespaceshttps://learn.microsoft.com/en-us/azure/event-grid/namespace-event-filtering
Microsoft Outlook events schema in Azure Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/outlook-events
Microsoft Graph API resource events in Azure Event Gridhttps://learn.microsoft.com/en-us/azure/event-grid/partner-events-graph-api
Query and list Azure Event Grid subscriptionshttps://learn.microsoft.com/en-us/azure/event-grid/query-event-subscriptions
Create alerts on Event Grid metrics and activity logshttps://learn.microsoft.com/en-us/azure/event-grid/set-alerts
Use Sparkplug B with Azure Event Grid MQTT brokerhttps://learn.microsoft.com/en-us/azure/event-grid/sparkplug-support
Configure Event Grid subscriptions for Microsoft Entra ID eventshttps://learn.microsoft.com/en-us/azure/event-grid/subscribe-to-microsoft-entra-id-events-portal
Subscribe to Azure Resource Notifications AKS Resources eventshttps://learn.microsoft.com/en-us/azure/event-grid/subscribe-to-resource-notifications-aks-resources-events
Subscribe to Azure Resource Notifications ContainerService eventshttps://learn.microsoft.com/en-us/azure/event-grid/subscribe-to-resource-notifications-containerservice-events
Subscribe to Azure Resource Notifications Health Resources eventshttps://learn.microsoft.com/en-us/azure/event-grid/subscribe-to-resource-notifications-health-resources-events
Subscribe to Azure Resource Notifications Resource Management eventshttps://learn.microsoft.com/en-us/azure/event-grid/subscribe-to-resource-notifications-resources-events
Configure Azure Event Grid subscription request schemahttps://learn.microsoft.com/en-us/azure/event-grid/subscription-creation-schema

Shortened here. Read the whole file on GitHub.

Signals

GitHub stars
740
Forks
119
Last commit
Sep 2026

ahel review

  • S4info
    community integration — published by microsoftdocs, not azure

Automated review, not a security audit. Ruleset v1.

Advanced
Catalog kind
skill
Gateway key
azure-event-grid
Source
github.com/microsoftdocs/agent-skills