Debug Azure production issues using AppLens, Azure Monitor, resource health, and safe triage. Covers App Service, AKS, VMs, Functions, Container Apps, Event Hubs, Service Bus, and messaging SDK errors.
Ships in azure-diagnostics. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
AUTHORITATIVE GUIDANCE — MANDATORY COMPLIANCE
This document is the official source for debugging and troubleshooting Azure production issues. Follow these instructions to diagnose and resolve common Azure service problems systematically.
Activate this skill when user wants to:
aks-skills
add-on is absent, declined, or unsupported by the host| Service | Common Issues | Reference |
|---|---|---|
| Container Apps | Image pull failures, cold starts, health probes, port mismatches | container-apps/ |
| App Service | High CPU, deployment failures, crashes, slow responses, TLS/custom domains | app-service/ |
| Function Apps | App details, invocation failures, timeouts, binding errors, cold starts, missing app settings | functions/ |
| AKS | Cluster access, nodes, kube-system, scheduling, crash loops, ingress, DNS, upgrades | AKS Troubleshooting |
| Compute | VM RDP/SSH connectivity, NSG/firewall blocks, credential resets, VM agent/tooling issues | VM Connectivity Troubleshooting |
| Messaging | Event Hubs & Service Bus SDK errors, AMQP failures, message lock, connectivity | Messaging Troubleshooting |
# Check resource health
az resource show --ids RESOURCE_ID
# View activity log
az monitor activity-log list -g RG --max-events 20
# Container Apps logs
az containerapp logs show --name APP -g RG --follow
# Function App logs (query App Insights traces)
az monitor app-insights query --apps APP-INSIGHTS -g RG \
--analytics-query "traces | where timestamp > ago(1h) | order by timestamp desc | take 50"
For AI-powered diagnostics, use:
mcp_azure_mcp_applens
intent: "diagnose issues with <resource-name>"
command: "diagnose"
parameters:
resourceId: "<resource-id>"
Provides:
- Automated issue detection
- Root cause analysis
- Remediation recommendations
For querying logs and metrics:
mcp_azure_mcp_monitor
intent: "query logs for <resource-name>"
command: "logs_query"
parameters:
workspaceId: "<workspace-id>"
query: "<KQL-query>"
See kql-queries.md for common diagnostic queries.
mcp_azure_mcp_resourcehealth
intent: "check health status of <resource-name>"
command: "get"
parameters:
resourceId: "<resource-id>"
# Check specific resource health
az resource show --ids RESOURCE_ID
# Check recent activity
az monitor activity-log list -g RG --max-events 20
references/app-service/README.md (opens in a new tab)references/azure-resource-graph.md (opens in a new tab)references/container-apps/README.md (opens in a new tab)references/functions/README.md (opens in a new tab)references/functions/durable.md (opens in a new tab)references/functions/triggers.md (opens in a new tab)references/kql-queries.md (opens in a new tab)scripts/aks-baseline.ps1 (opens in a new tab)scripts/aks-baseline.sh (opens in a new tab)scripts/appservice-diagnostics.ps1 (opens in a new tab)scripts/appservice-diagnostics.sh (opens in a new tab)scripts/containerapp-diagnostics.ps1 (opens in a new tab)scripts/containerapp-diagnostics.sh (opens in a new tab)scripts/pod-evidence.ps1 (opens in a new tab)scripts/pod-evidence.sh (opens in a new tab)scripts/run-ig.ps1 (opens in a new tab)scripts/run-ig.sh (opens in a new tab)scripts/test-messaging-connectivity.ps1 (opens in a new tab)scripts/test-messaging-connectivity.sh (opens in a new tab)troubleshooting/aks/aks-troubleshooting.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/azure-diagnostics:azure-diagnosticsfrom azure-diagnostics
azure-diagnostics@bmsuisse-skills is listed by bmsuisse/skills — review the source before installing
npx claudepluginhub bmsuisse/skills --plugin azure-diagnosticsOther plugins' skills for the same job