- name
- azure-event-grid
- description
- 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).
- compatibility
- Requires network access. Uses mcp_microsoftdocs:microsoft_docs_fetch or fetch_webpage to retrieve documentation.
- metadata
- {"generated_at":"2026-08-31","generator":"docs2skills/1.0.0"}
# Azure Event Grid Skill
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](https://github.com/MicrosoftDocs/mcp/blob/main/README.md)
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
| Category | Lines | Description |
|----------|-------|-------------|
| Troubleshooting | L36-L44 | Diagnosing and fixing Event Grid issues: MQTT broker problems, error codes, common failures, network connectivity, and webhook subscription validation errors. |
| Best Practices | L45-L49 | Guidance on designing client-side failover for Event Grid, including using multiple regions, retry logic, and resilient publishing patterns for high availability. |
| Decision Making | L50-L60 | Guidance 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 Patterns | L61-L67 | Patterns for routing events between namespaces, designing MQTT topic hierarchies, and implementing MQTT command/response flows using Azure Event Grid. |
| Limits & Quotas | L68-L79 | Event Grid delivery/retry behavior, custom headers, event retention, and region-specific quotas/limits for topics, namespaces, and Kubernetes-based Event Grid |
| Security | L80-L132 | Securing 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. |
| Configuration | L133-L204 | Configuring 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 Patterns | L205-L245 | Patterns 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
| Topic | URL |
|-------|-----|
| Troubleshoot Azure Event Grid MQTT broker issues | https://learn.microsoft.com/en-us/azure/event-grid/mqtt-troubleshoot-errors |
| Azure Event Grid error codes and resolutions | https://learn.microsoft.com/en-us/azure/event-grid/troubleshoot-errors |
| Troubleshoot common Azure Event Grid issues | https://learn.microsoft.com/en-us/azure/event-grid/troubleshoot-issues |
| Diagnose Azure Event Grid network connectivity failures | https://learn.microsoft.com/en-us/azure/event-grid/troubleshoot-network-connectivity |
| Troubleshoot Event Grid webhook subscription validation | https://learn.microsoft.com/en-us/azure/event-grid/troubleshoot-subscription-validation |
### Best Practices
| Topic | URL |
|-------|-----|
| Implement client-side failover for Azure Event Grid | https://learn.microsoft.com/en-us/azure/event-grid/custom-disaster-recovery-client-side |
### Decision Making
| Topic | URL |
|-------|-----|
| Select the right Azure Event Grid tier | https://learn.microsoft.com/en-us/azure/event-grid/choose-right-tier |
| Choose compatible event schemas for Azure Event Grid subscriptions | https://learn.microsoft.com/en-us/azure/event-grid/event-schema-compatibility |
| Compare Event Grid on Kubernetes vs Azure features | https://learn.microsoft.com/en-us/azure/event-grid/kubernetes/features |
| Choose MQTT routing options in Event Grid | https://learn.microsoft.com/en-us/azure/event-grid/mqtt-routing |
| Use Autoscale for Azure Event Grid namespaces | https://learn.microsoft.com/en-us/azure/event-grid/namespace-autoscale-overview |
| Decide on push delivery for Event Grid namespaces | https://learn.microsoft.com/en-us/azure/event-grid/namespace-push-delivery-overview |
| Migrate from Event Grid on IoT Edge to IoT Edge hub | https://learn.microsoft.com/en-us/azure/event-grid/transition |
### Architecture & Design Patterns
| Topic | URL |
|-------|-----|
| Forward events between Event Grid namespace topics | https://learn.microsoft.com/en-us/azure/event-grid/forward-events-to-another-namespace-topic |
| Implement MQTT request-response commands with Event Grid | https://learn.microsoft.com/en-us/azure/event-grid/mqtt-request-response-messages |
| Design MQTT topic spaces in Event Grid | https://learn.microsoft.com/en-us/azure/event-grid/mqtt-topic-spaces |
### Limits & Quotas
| Topic | URL |
|-------|-----|
| Understand Azure Event Grid delivery and retry behavior | https://learn.microsoft.com/en-us/azure/event-grid/delivery-and-retry |
| Configure custom delivery headers for Azure Event Grid events | https://learn.microsoft.com/en-us/azure/event-grid/delivery-properties |
| Understand event retention for Event Grid namespace topics | https://learn.microsoft.com/en-us/azure/event-grid/event-retention |
| Azure Event Grid FAQs on limits and behavior | https://learn.microsoft.com/en-us/azure/event-grid/faq |
| Understand Event Grid on Kubernetes delivery and retry behavior | https://learn.microsoft.com/en-us/azure/event-grid/kubernetes/delivery-retry |
| Set custom delivery headers for Event Grid namespaces | https://learn.microsoft.com/en-us/azure/event-grid/namespace-delivery-properties |
| Delivery and retry behavior for Event Grid namespace push | https://learn.microsoft.com/en-us/azure/event-grid/namespace-delivery-retry |
| Review Azure Event Grid quotas and limits by region | https://learn.microsoft.com/en-us/azure/event-grid/quotas-limits |
### Security
| Topic | URL |
|-------|-----|
| Assign Event Grid managed identities to Azure roles on destinations | https://learn.microsoft.com/en-us/azure/event-grid/add-identity-roles |
| Use access keys and SAS to authenticate Event Grid clients | https://learn.microsoft.com/en-us/azure/event-grid/authenticate-with-access-keys-shared-access-signatures |
| Authenticate Event Grid namespace publishers with Entra ID | https://learn.microsoft.com/en-us/azure/event-grid/authenticate-with-entra-id-namespaces |
| Configure Microsoft Entra ID auth for Event Grid publishing | https://learn.microsoft.com/en-us/azure/event-grid/authenticate-with-microsoft-entra-id |
| Configure JWT authentication for Event Grid namespaces | https://learn.microsoft.com/en-us/azure/event-grid/authenticate-with-namespaces-using-json-web-tokens |
| Configure webhook-based authentication for Event Grid namespaces | https://learn.microsoft.com/en-us/azure/event-grid/authenticate-with-namespaces-using-webhook-authentication |
| Authenticate Event Grid publishers to topics and domains | https://learn.microsoft.com/en-us/azure/event-grid/authentication-overview |
| Configure access, identity, and data residency for Event Grid topics | https://learn.microsoft.com/en-us/azure/event-grid/configure-custom-topic |
| Configure IP firewall rules for Event Grid topics and domains | https://learn.microsoft.com/en-us/azure/event-grid/configure-firewall |
| Configure IP firewall rules for Event Grid namespaces | https://learn.microsoft.com/en-us/azure/event-grid/configure-firewall-namespaces |
| Configure network security perimeters for Azure Event Grid | https://learn.microsoft.com/en-us/azure/event-grid/configure-network-security-perimeter |
| Configure private endpoints for Event Grid topics securely | https://learn.microsoft.com/en-us/azure/event-grid/configure-private-endpoints |
| Configure private endpoints for Azure Event Grid namespaces | https://learn.microsoft.com/en-us/azure/event-grid/configure-private-endpoints-pull |
| Configure private link delivery for Azure Event Grid | https://learn.microsoft.com/en-us/azure/event-grid/consume-private-endpoints |
| Configure cross-tenant Event Grid delivery with managed identity | https://learn.microsoft.com/en-us/azure/event-grid/cross-tenant-delivery-using-managed-identity |
| Enforce Event Grid security controls with custom Azure Policies | https://learn.microsoft.com/en-us/azure/event-grid/custom-azure-policies-for-security-control |
| Configure custom domains for Event Grid MQTT and HTTP | https://learn.microsoft.com/en-us/azure/event-grid/custom-domains-namespaces |
| Configure Event Grid managed identity event delivery | https://learn.microsoft.com/en-us/azure/event-grid/deliver-events-using-managed-identity |
| Enable managed identity on Event Grid custom topics and domains | https://learn.microsoft.com/en-us/azure/event-grid/enable-identity-custom-topics-domains |
| Enable managed identity on Event Grid partner topics | https://learn.microsoft.com/en-us/azure/event-grid/enable-identity-partner-topic |
| Enable managed identity on Event Grid system topics | https://learn.microsoft.com/en-us/azure/event-grid/enable-identity-system-topics |
| Validate webhook endpoints using CloudEvents schema in Event Grid | https://learn.microsoft.com/en-us/azure/event-grid/end-point-validation-cloud-events-schema |
| Enable and use managed identities for Event Grid namespaces | https://learn.microsoft.com/en-us/azure/event-grid/event-grid-namespace-managed-identity |
| Retrieve and manage access keys for Event Grid resources | https://learn.microsoft.com/en-us/azure/event-grid/get-access-keys |
| Enable managed identities for Azure Event Grid topics | https://learn.microsoft.com/en-us/azure/event-grid/managed-service-identity |
| Configure MQTT client access control in Event Grid | https://learn.microsoft.com/en-us/azure/event-grid/mqtt-access-control |
| Authenticate MQTT clients with CA certificate chains | https://learn.microsoft.com/en-us/azure/event-grid/mqtt-certificate-chain-client-authentication |
| Configure MQTT client authentication in Event Grid | https://learn.microsoft.com/en-us/azure/event-grid/mqtt-client-authentication |
| Configure MQTT client certificate authentication in Event Grid | https://learn.microsoft.com/en-us/azure/event-grid/mqtt-client-certificate-authentication |
| Configure OAuth 2.0 JWT auth for Event Grid MQTT | https://learn.microsoft.com/en-us/azure/event-grid/mqtt-client-custom-jwt |
| Use Entra JWT auth and RBAC for MQTT clients | https://learn.microsoft.com/en-us/azure/event-grid/mqtt-client-microsoft-entra-token-and-rbac |
| Configure custom webhook authentication for Event Grid MQTT | https://learn.microsoft.com/en-us/azure/event-grid/mqtt-client-webhook-authentication |
| Secure Event Grid MQTT namespaces with IP firewall | https://learn.microsoft.com/en-us/azure/event-grid/mqtt-configure-firewall |
| Configure private endpoints for Event Grid MQTT namespaces | https://learn.microsoft.com/en-us/azure/event-grid/mqtt-configure-private-endpoints |
| Understand TLS connection flow for Event Grid MQTT broker | https://learn.microsoft.com/en-us/azure/event-grid/mqtt-transport-layer-security-flow |
| Secure Azure Event Grid with network rules and private endpoints | https://learn.microsoft.com/en-us/azure/event-grid/network-security |
| Configure network security for Azure Event Grid namespaces | https://learn.microsoft.com/en-us/azure/event-grid/network-security-namespaces |
| Authenticate Event Grid namespaces using OAuth JWT | https://learn.microsoft.com/en-us/azure/event-grid/oauth-json-web-token-authentication |
| Built-in Azure Policy definitions for Event Grid | https://learn.microsoft.com/en-us/azure/event-grid/policy-reference |
| Authenticate and post events to Event Grid custom topics | https://learn.microsoft.com/en-us/azure/event-grid/post-to-custom-topic |
| Secure Event Grid webhook delivery with Entra application | https://learn.microsoft.com/en-us/azure/event-grid/scripts/powershell-webhook-secure-delivery-microsoft-entra-app |
| Secure Event Grid webhook delivery with Entra user | https://learn.microsoft.com/en-us/azure/event-grid/scripts/powershell-webhook-secure-delivery-microsoft-entra-user |
| Secure Event Grid webhooks with Microsoft Entra ID | https://learn.microsoft.com/en-us/azure/event-grid/secure-webhook-delivery |
| Authenticate event delivery to handlers in Azure Event Grid | https://learn.microsoft.com/en-us/azure/event-grid/security-authentication |
| Configure Azure RBAC access control for Event Grid | https://learn.microsoft.com/en-us/azure/event-grid/security-authorization |
| Azure Policy regulatory compliance controls for Event Grid | https://learn.microsoft.com/en-us/azure/event-grid/security-controls-policy |
| Configure minimum TLS version for Event Grid topics and domains | https://learn.microsoft.com/en-us/azure/event-grid/transport-layer-security-configure-minimum-version |
| Configure minimum TLS version for Event Grid topics/domains | https://learn.microsoft.com/en-us/azure/event-grid/transport-layer-security-configure-minimum-version |
| Enforce minimum TLS versions for Azure Event Grid endpoints | https://learn.microsoft.com/en-us/azure/event-grid/transport-layer-security-enforce-minimum-version |
### Configuration
| Topic | URL |
|-------|-----|
| Configure custom domains for Event Grid MQTT and HTTP | https://learn.microsoft.com/en-us/azure/event-grid/assign-custom-domain-name |
| Azure Communication Services chat events schema for Event Grid | https://learn.microsoft.com/en-us/azure/event-grid/communication-services-chat-events |
| Presence events schema for Azure Communication Services | https://learn.microsoft.com/en-us/azure/event-grid/communication-services-presence-events |
| Job Router events schema for Azure Communication Services | https://learn.microsoft.com/en-us/azure/event-grid/communication-services-router-events |
| Azure Communication Services SMS events schema for Event Grid | https://learn.microsoft.com/en-us/azure/event-grid/communication-services-telephony-sms-events |
| Voice and video calling events schema for Event Grid | https://learn.microsoft.com/en-us/azure/event-grid/communication-services-voice-video-events |
| Create and manage Event Grid namespace topics | https://learn.microsoft.com/en-us/azure/event-grid/create-view-manage-namespace-topics |
| Configure and manage Event Grid namespaces | https://learn.microsoft.com/en-us/azure/event-grid/create-view-manage-namespaces |
| Configure dead-lettering for Event Grid namespace subscriptions | https://learn.microsoft.com/en-us/azure/event-grid/dead-letter-event-subscriptions-namespace-topics |
| Configure diagnostic log settings for Event Grid | https://learn.microsoft.com/en-us/azure/event-grid/enable-diagnostic-logs-topic |
| Configure event filtering options in Azure Event Grid | https://learn.microsoft.com/en-us/azure/event-grid/event-filtering |
GitHub에서 보기