azure-resource-lookup

List Azure resources missing a specific tag across subscriptions.

9|4|Updated Mar 21, 2022
One-click install
npx skills add https://github.com/davisdre/azure-resume --skill azure-resource-lookup-davisdre
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-resource-lookup
Source: https://github.com/davisdre/azure-resume/tree/main/.agents/skills/azure-resource-lookup
Command: npx skills add https://github.com/davisdre/azure-resume --skill azure-resource-lookup-davisdre

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Finding and inventorying Azure resources across multiple subscriptions or resource groups is time‑consuming and error‑prone, especially when dedicated tools lack coverage for certain resource types.

Core Features & Use Cases

  • Cross‑subscription inventory: Leverages Azure Resource Graph to list any resource type across subscriptions.
  • Orphaned and tag‑audit queries: Built‑in KQL patterns to detect unattached disks, missing tags, and unhealthy resources.
  • Dedicated MCP tool fallback: Automatically checks for specialized tools before falling back to ARG queries.
  • Use case example: An admin can quickly identify all virtual machines without a tag ‘Environment’ across the enterprise.

Quick Start

Ask the skill to list all Azure resources in your subscription missing the “Environment” tag.

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 missing a specific tag across multiple subscriptions?

To list Azure resources missing a specific tag across subscriptions, use Azure Resource Graph queries to audit tag compliance and inventory resources. This requires Azure CLI with the resource-graph extension and Reader permissions on target subscriptions.

How do I find orphaned Azure resources like unattached disks across my subscriptions?

Finding orphaned Azure resources like unattached disks is done using built-in KQL patterns in Azure Resource Graph. These queries detect unattached disks and unhealthy resources across subscriptions to streamline inventory and cleanup.

Do I need Azure CLI to query resources across subscriptions?

Yes, you need Azure CLI installed with the resource-graph extension to query resources across subscriptions. You also need appropriate Reader permissions on the target subscriptions to execute the cross-subscription inventory queries successfully.

What is the best way to perform a cross-subscription inventory query in Azure?

The best way to perform a cross-subscription inventory query in Azure is leveraging Azure Resource Graph. It lists any resource type across subscriptions, automatically checking for specialized tools before falling back to ARG queries for comprehensive coverage.

Can I detect virtual machines without an Environment tag across my enterprise subscriptions?

Yes, you can detect virtual machines without an Environment tag across enterprise subscriptions by running a tag compliance audit. Query Azure Resource Graph using KQL patterns to identify all resources lacking the specified tag.

Does this approach work for listing any Azure resource type or just virtual machines?

This approach works for listing any Azure resource type across subscriptions, not just virtual machines. Azure Resource Graph queries support comprehensive cross-subscription inventory for all resource types, ensuring coverage where dedicated tools lack support.