azure-resource-lookup

Query and list Azure resources across subscriptions using Azure Resource Graph KQL.

Updated Jul 20, 2026
One-click install
npx skills add https://github.com/merceralex397-collab/alex-stack --skill azure-resource-lookup-merceralex397-collab
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: azure-resource-lookup
Source: https://github.com/merceralex397-collab/alex-stack/tree/main/dev/azure-profile/azure-skills-main/azure-skills-main/.github/plugins/azure-skills/skills/azure-resource-lookup
Command: npx skills add https://github.com/merceralex397-collab/alex-stack --skill azure-resource-lookup-merceralex397-collab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Finding and inventorying Azure resources across multiple subscriptions and resource groups is slow with the portal and inconsistent across CLI commands, especially for resource types like App Services and Container Apps that lack dedicated list tools. ## Core Features & Use Cases - Cross-Subscription Resource Queries: Generate and run Azure Resource Graph KQL queries to list VMs, web apps, storage accounts, container apps, and any other resource type across subscriptions. - Orphaned Resource Discovery: Find unattached disks, unused public IPs, orphaned NICs, and idle load balancers to clean up waste. - Tag & Compliance Audits: Identify resources missing required tags, analyze tag coverage, and detect failed provisioning states or unhealthy resources. - Use Case: A user asks "list all web apps in my subscription" — since App Service has no dedicated MCP list command, this skill routes the request through Azure Resource Graph and returns a formatted table of results. ## Quick Start Ask the assistant to list all web apps in your subscription and it will generate and run the appropriate Azure Resource Graph query.

Frequently Asked Questions about azure-resource-lookup

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

FAQPage Schema
How do I list all web apps in my Azure subscription?▼

Use Azure Resource Graph with a KQL query filtering on type 'microsoft.web/sites', since App Service has no dedicated MCP list command. Run az graph query with the resource-graph extension and project fields like name, location, and resourceGroup.

How to find orphaned Azure resources like unattached disks?▼

Query the Resources table in Azure Resource Graph filtering disks where managedBy is empty. Similar KQL patterns find unused public IPs with empty ipConfiguration and NICs with no attached virtual machine.

When should I use Azure Resource Graph instead of dedicated MCP tools?▼

Use dedicated MCP tools for single-resource-type queries with full coverage, such as compute, storage, or AKS. Use Resource Graph for cross-subscription queries, resource types without MCP tools like Container Apps, and tag or orphan analysis.

Why does my Azure Resource Graph query return a BadRequest error?▼

BadRequest usually means invalid KQL syntax, such as wrong table or column names. Verify field names and use =~ for case-insensitive type matching, since resource types are stored in lowercase.

Can Azure Resource Graph modify or deploy resources?▼

No, Azure Resource Graph is read-only and cannot create, update, or delete resources. Use deployment tools for mutations, and note that ARG data has slight delay so it is unsuitable for real-time monitoring.