azure-resource-lookup

List Azure resources across subscriptions and resource groups via Azure Resource Graph.

1|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/p-potvin/vaultwares-pipelines --skill azure-resource-lookup-p-potvin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-resource-lookup
Source: https://github.com/p-potvin/vaultwares-pipelines/tree/main/.github/agents/agents/azure-resource-lookup
Command: npx skills add https://github.com/p-potvin/vaultwares-pipelines --skill azure-resource-lookup-p-potvin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Discovering and inventorying Azure resources across multiple subscriptions and resource groups is time-consuming and error-prone, especially when tracking by type, tag, or state; this Skill centralizes discovery and query patterns so you can quickly locate resources and detect orphaned or mis-tagged assets.

Core Features & Use Cases

  • Cross-subscription Inventory: List resources of any type across one or many subscriptions using Azure Resource Graph (ARG) when dedicated tools are not available.
  • Tag Analysis & Orphan Detection: Find resources missing required tags, unattached disks, unused NICs, and other orphaned resources for cleanup or audit.
  • Flexible Querying: Generate KQL queries or prefer dedicated MCP tools for single-resource-type lookups, and format results to show name, type, resource group, and key tags.
  • Error-aware Guidance: Provides installation tips for the resource-graph extension, RBAC hints, and common fixes for authorization or KQL syntax issues.

Quick Start

Ask the skill to list virtual machines across subscriptions showing name, resource group, and provisioning state limited to the first 50 results.

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 Azure resources across multiple subscriptions?

You list Azure resources across multiple subscriptions by running cross-subscription inventory queries via Azure Resource Graph, generating KQL to output resource name, type, resource group, and key tags.

What is the best way to find orphaned Azure resources like unattached disks or unused NICs?

The best way to find orphaned Azure resources is running targeted Azure Resource Graph queries to discover unattached disks, unused NICs, and mis-tagged assets for cleanup or audit.

How do I audit Azure resource tags across resource groups?

You audit Azure resource tags across resource groups by executing tag analysis via Azure Resource Graph queries to identify resources missing required tags and formatting results to show key tags.

Do I need special permissions to inventory Azure resources using Azure Resource Graph?

Yes, you need read-only Azure permissions to inventory resources using Azure Resource Graph, along with scoped subscription filters and the resource-graph CLI extension for az graph query output.

Why does my Azure Resource Graph query fail with an authorization or KQL syntax error?

Azure Resource Graph queries fail with authorization or KQL syntax errors due to insufficient RBAC permissions or malformed queries; applying scoped subscription filters and error-aware guidance fixes them.