azure-resource-health-diagnose

Diagnose Azure resource health issues from logs and telemetry and generate remediation plans.

Updated Mar 25, 2026
One-click install
npx skills add https://github.com/lettucebo/Skills --skill azure-resource-health-diagnose-lettucebo
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: azure-resource-health-diagnose
Source: https://github.com/lettucebo/Skills/tree/main/skills/azure/azure-resource-health-diagnose
Command: npx skills add https://github.com/lettucebo/Skills --skill azure-resource-health-diagnose-lettucebo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Troubleshooting a misbehaving Azure resource requires manually hunting through Log Analytics workspaces, Application Insights, and metrics across multiple tools. This Skill automates that investigation, turning raw logs and telemetry into a prioritized diagnosis and an actionable remediation plan. ## Core Features & Use Cases - Automated Health Assessment: Discovers the target resource across subscriptions, checks provisioning state, availability, and resource utilization for Web Apps, VMs, Cosmos DB, SQL, Storage, and more. - KQL-Based Log Analysis: Runs targeted KQL queries against Log Analytics and Application Insights to surface errors, performance degradation, and connection failures. - Prioritized Remediation Plan: Classifies issues by severity (Critical/High/Medium/Low), performs root cause analysis, and produces a phased remediation plan with Azure CLI commands, rollback steps, and monitoring recommendations. - Use Case: Your Azure Function App starts returning intermittent 500 errors. Run this Skill to query the last 24 hours of telemetry, identify a dependency failure as the root cause, and receive a step-by-step fix with validation checks. ## Quick Start Ask the agent to diagnose the health of your Azure resource named 'my-web-app' and produce a remediation plan for any issues found.

Frequently Asked Questions about azure-resource-health-diagnose

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose Azure resource health issues automatically?▼

Provide the resource name and this workflow locates it across subscriptions, checks its health status, runs KQL diagnostic queries against Log Analytics and Application Insights, then classifies issues and generates a prioritized remediation plan.

How to analyze Azure logs with KQL for troubleshooting?▼

The workflow uses the Azure MCP monitor log query tool to run KQL queries against tables like AzureDiagnostics, AppServiceHTTPLogs, and requests. It targets error patterns, performance degradation, and connection failures over recent time windows.

What Azure resource types does health diagnosis support?▼

It covers Web Apps, Function Apps, Virtual Machines, Cosmos DB, Storage Accounts, SQL Database, Application Insights, Key Vault, and Service Bus. Each resource type gets service-specific health indicators and diagnostic queries.

What permissions are needed to run Azure resource diagnostics?▼

You need an authenticated Azure MCP server and RBAC roles granting read access to the target resource, its Log Analytics workspaces, and Application Insights instances. Insufficient permissions trigger guidance listing the required roles.

Why does Azure log analysis return no data?▼

No data usually means diagnostic settings are not enabled on the resource or logs have not had time to accumulate. The workflow suggests enabling diagnostic settings and waiting for telemetry before rerunning the analysis.