
Azure Resource Lookup
Inventory and discover VMs, web apps, storage, and other Azure assets across subscriptions without deploying or changing anything.
Overview
Azure Resource Lookup is an agent skill for the Operate phase that lists, finds, and inventories Azure resources across subscriptions and resource groups.
Install
npx skills add https://github.com/microsoft/azure-skills --skill azure-resource-lookupWhat is this skill?
- Lists and shows Azure resources by type across subscriptions or resource groups
- Uses Azure Resource Graph for fast cross-cutting queries when MCP tools lack a resource type
- Supports tag-based find, resource counts by type, and cross-subscription lookup
- Surfaces orphaned patterns such as unattached disks and related idle assets (not cost optimization)
- Explicitly routes deploy changes to azure-deploy and spend analysis to azure-cost
- Uses Azure Resource Graph for cross-cutting queries when dedicated MCP tools do not cover a resource type
Adoption & trust: 373k installs on skills.sh; 1.2k GitHub stars; 3/3 security scanners passed (skills.sh audits).
What problem does it solve?
You cannot see which websites, VMs, storage accounts, or other assets exist across your Azure subscriptions without opening multiple portals or writing one-off queries.
Who is it for?
Solo builders or indies who manage Azure subscriptions and need read-only inventory, tag analysis, or Resource Graph lookups before cleanup or documentation.
Skip if: Deploying or modifying resources (use azure-deploy), cost optimization or chargeback analysis (use azure-cost), or managing non-Azure clouds.
When should I use this skill?
User wants to list, show, find, or inventory Azure resources; run cross-subscription or tag-based lookup; or discover orphaned assets—not deploy, change, or analyze cost.
What do I get? / Deliverables
You get a clear, query-backed inventory of resources by type, scope, and tags—including cross-subscription views and orphaned-resource hints—without deploying or changing anything.
- Resource lists by type and scope
- Tag-based or Resource Graph query results
- Orphaned-resource discovery notes
Recommended Skills
Journey fit
Resource listing and cross-subscription discovery are day-two production tasks when you need to see what is running in Azure. Infra is the canonical shelf for subscription-wide inventory, Resource Graph queries, and orphaned-resource discovery.
How it compares
Read-only inventory and Resource Graph discovery—not a deploy skill or a cost-optimization skill.
Common Questions / FAQ
Who is azure-resource-lookup for?
It is for developers and founders who run workloads on Azure and need fast answers about what resources exist across subscriptions, resource groups, or tags—without making changes.
When should I use azure-resource-lookup?
Use it in Operate when listing web apps, VMs, storage, or container apps; finding resources by tag; counting types across subscriptions; or spotting unattached disks and similar orphans. It is also useful in Build when you are wiring agents to Azure and need a baseline inventory
Is azure-resource-lookup safe to install?
It is read-oriented inventory guidance, but it still uses your Azure credentials via MCP or CLI. Review the Security Audits panel on this page and limit permissions to what inventory requires.
Workflow Chain
Then invoke: azure cost, azure deploy
SKILL.md
READMESKILL.md - Azure Resource Lookup
# Azure Resource Lookup List, find, and discover Azure resources of any type across subscriptions and resource groups. Use Azure Resource Graph (ARG) for fast, cross-cutting queries when dedicated MCP tools don't cover the resource type. ## When to Use This Skill Use this skill when the user wants to: - **List resources** of any type (VMs, web apps, storage accounts, container apps, databases, etc.) - **Show resources** in a specific subscription or resource group - Query resources **across multiple subscriptions** or resource types - Find **orphaned resources** (unattached disks, unused NICs, idle IPs) - Discover resources **missing required tags** or configurations - Get a **resource inventory** spanning multiple types - Find resources in a **specific state** (unhealthy, failed provisioning, stopped) - Answer "**what resources do I have?**" or "**show me my Azure resources**" - **List web apps, websites, or App Services** > ⚠️ **Warning:** App Service / Web Apps have no dedicated MCP `list` command. Prompts like "list websites", "list web apps", or "list app services" **must** route through this skill to use Azure Resource Graph. > 💡 **Tip:** For single-resource-type queries, first check if a dedicated MCP tool can handle it (see routing table below). If none exists, use Azure Resource Graph. ## Quick Reference | Property | Value | |----------|-------| | **Query Language** | KQL (Kusto Query Language subset) | | **CLI Command** | `az graph query -q "<KQL>" -o table` | | **Extension** | `az extension add --name resource-graph` | | **MCP Tool** | `extension_cli_generate` with intent for `az graph query` | | **Best For** | Cross-subscription queries, orphaned resources, tag audits | ## MCP Tools | Tool | Purpose | When to Use | |------|---------|-------------| | `extension_cli_generate` | Generate `az graph query` commands | Primary tool — generate ARG queries from user intent | | `mcp_azure_mcp_subscription_list` | List available subscriptions | Discover subscription scope before querying | | `mcp_azure_mcp_group_list` | List resource groups | Narrow query scope | ## Workflow ### Step 1: Check for a Dedicated MCP Tool For single-resource-type queries, check if a dedicated MCP tool can handle it: | Resource Type | MCP Tool | Coverage | |---|---|---| | Virtual Machines | `compute` | ✅ Full — list, details, sizes | | Storage Accounts | `storage` | ✅ Full — accounts, blobs, tables | | Cosmos DB | `cosmos` | ✅ Full — accounts, databases, queries | | Key Vault | `keyvault` | ⚠️ Partial — secrets/keys only, no vault listing | | SQL Databases | `sql` | ⚠️ Partial — requires resource group name | | Container Registries | `acr` | ✅ Full — list registries | | Kubernetes (AKS) | `aks` | ✅ Full — clusters, node pools | | App Service / Web Apps | `appservice` | ❌ No list command — use ARG | | Container Apps | — | ❌ No MCP tool — use ARG | | Event Hubs | `eventhubs` | ✅ Full — namespaces, hubs | | Service Bus | `servicebus` | ✅ Full — queues, topics | If a dedicated tool is available with full coverage, use it. Otherwi