azure-resource-lookup

Query Azure resources across subscriptions using Azure Resource Graph KQL.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/attentiondotnet/azure-skills --skill azure-resource-lookup-attentiondotnet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-resource-lookup
Source: https://github.com/attentiondotnet/azure-skills/tree/main/.github/plugins/azure-skills/skills/azure-resource-lookup
Command: npx skills add https://github.com/attentiondotnet/azure-skills --skill azure-resource-lookup-attentiondotnet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It eliminates the manual effort of locating, listing, and inspecting Azure resources across multiple subscriptions or resource groups, enabling fast inventory and compliance checks.

Core Features & Use Cases

  • Azure Resource Graph queries: Generates KQL queries to retrieve any resource type with optional tagging, health, and relationship data.
  • MCP tool integration: Falls back to dedicated MCP tools for single‑resource‑type scenarios, reducing query complexity.
  • Use Case: An engineer can discover orphaned disks, identify resources missing required tags, or produce a cross‑subscription inventory report with a single request.

Quick Start

Use the azure-resource-lookup skill to list all virtual machines in the current subscription with their name, resource group, and location.

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 at once?

Finding orphaned Azure resources is possible by running Azure Resource Graph queries that filter for unattached disks and resources missing required tags. This generates KQL queries to isolate resources not linked to active virtual machines.

Can I check for missing tags on my Azure resources?

Yes, you can perform tag analysis on Azure resources by generating KQL queries with Azure Resource Graph. This allows you to identify resources missing required tags across subscriptions and resource groups for compliance checks.

What is the best way to query Azure resources without complex KQL syntax?

The best way to query Azure resources without manual KQL syntax is using dedicated MCP tools. This approach reduces query complexity for single-resource-type scenarios by falling back to integrated tools instead of raw Resource Graph queries.

Does Azure Resource Graph work for cross-subscription inventory reports?

Yes, Azure Resource Graph works for cross-subscription inventory reports by generating KQL queries for az graph and scoping them with --subscriptions. This retrieves any resource type with optional tagging and health data across your environment.

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

You should use dedicated MCP tools instead of Azure Resource Graph queries for single-resource-type scenarios. This fallback mechanism reduces query complexity when you need to list or inspect a specific resource without broad cross-subscription inventory.