Azure event grid
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 topics/subscriptions, MQTT broker/clients, webhooks, Event Hubs handlers, or cross-tenant delivery, and other Azure Event Grid related development tasks. Not for Azure Service Bus (use azure-service-bus), Azure Event Hubs (use azure-event-hubs), Azure Notification Hubs (use azure-notification-hubs), Azure Logic Apps (use azure-logic-apps).From its SKILL.md
npx -y skills add MicrosoftDocs/Agent-Skills --skill azure-event-gridAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
29.0 KB, ~5.9k tokens by cl100k_base, as published. Nobody here has run it
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), useread_filewith the specified lines. For categories with file links (e.g.,[security.md](security.md)), useread_fileon the linked reference file
IMPORTANT for Agent: If
metadata.generated_atis more than 3 months old, suggest the user pull the latest version from the repository. Ifmcp_microsoftdocstools 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_fetchwith query stringfrom=learn-agent-skill. Returns Markdown. - Fallback: Use
fetch_webpagewith query stringfrom=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 event 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-L58 | Guidance on choosing Event Grid tiers and schemas, comparing Azure vs Kubernetes deployments, configuring autoscale, and migrating from IoT Edge-based Event Grid setups. |
| Architecture & Design Patterns | L59-L64 | Patterns for routing events across Event Grid namespace topics and implementing MQTT-based request/response command workflows using Event Grid. |
| Limits & Quotas | L65-L76 | Event Grid delivery/retry behavior, custom headers, event retention, and region-specific quotas/limits for topics, namespaces, and Kubernetes-based Event Grid |
| Security | L77-L128 | Securing Event Grid with auth, RBAC, managed identities, TLS, IP/firewalls, private endpoints, MQTT/webhook security, cross-tenant delivery, and Azure Policy compliance. |
| Configuration | L129-L203 | Configuring Event Grid and namespaces: topics, subscriptions, filters, dead-lettering, monitoring, MQTT broker/clients, and detailed event schemas for Azure/ACS/AKS/Graph/IoT and other sources. |
| Integrations & Coding Patterns | L204-L245 | Patterns and tutorials for integrating Event Grid with external services (Auth0, M365, Graph, Teams, SharePoint, Key Vault, MQTT) and configuring HTTP/webhook, Event Hubs, and schema-based handlers. |
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 |
| Fix Azure Event Grid subscription validation errors | 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 |
| Use Autoscale for Azure Event Grid namespaces | https://learn.microsoft.com/en-us/azure/event-grid/namespace-autoscale-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 |
Limits & Quotas
Security
Configuration
Integrations & Coding Patterns
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.