Safely diagnose Azure production issues across apps, containers, and messaging services.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "azure-diagnostics" skill from askskill: 1. Download https://raw.githubusercontent.com/microsoft/GitHub-Copilot-for-Azure/main/plugin/skills/azure-diagnostics/SKILL.md 2. Save it as ~/.claude/skills/azure-diagnostics/SKILL.md 3. Reload skills and tell me it's ready
Help me troubleshoot consistently high CPU in an Azure App Service production environment. Provide safe triage steps using AppLens, Azure Monitor, and Resource Health first, and explain which metrics, logs, likely root causes, and narrowing steps to use.
A safe production troubleshooting workflow with key metrics, log query directions, common root causes, and next-step recommendations.
Help troubleshoot an AKS issue where pods stay Pending or enter CrashLoopBackOff. Consider kube-system or CoreDNS failures, NotReady nodes, image pull failures, and health probe failures, and provide prioritized investigation steps.
A prioritized AKS troubleshooting checklist covering kubectl checks, cluster component health, event logs, and possible remediation paths.
Help analyze Azure Service Bus message processing failures, focusing on AMQP connection failures, message lock lost errors, dead-letter queue growth, and SDK exceptions. Include likely root causes, logs and metrics to inspect, and a troubleshooting order.
A structured messaging-service diagnosis with root-cause hypotheses, key monitoring signals, and troubleshooting steps for each symptom.
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:
| 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 |
| 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
…
Set up Entra ID app registration, OAuth, permissions, and MSAL integration.
Set up Azure Application Insights telemetry for web apps with best practices.
Troubleshoot Azure Event Hubs and Service Bus SDK connection and messaging issues.
Find, list, and inspect Azure resources across subscriptions and resource groups.
Deploy, evaluate, fine-tune, and optimize Microsoft Foundry agents and models.
Deploy prepared Azure apps with built-in recovery for common release errors.
Push error logs, inspect code, and generate diagnostic reports automatically.
Diagnose live .NET runtime issues like memory leaks and thread starvation.
Query and analyze logs, telemetry, and time-series data in Azure Data Explorer.
Assess and improve Azure PaaS app reliability, availability, and disaster recovery readiness.
Give AI real-time Azure infrastructure access for ops checks, policy validation, and Terraform analysis.
Run local network diagnostics, DNS checks, and TLS troubleshooting tasks.