# Discover Azure Resources Across Subscriptions

Azure estates are difficult to inventory across subscriptions and resource types. This skill builds scoped, read-only Azure Resource Graph queries and presents focused results.

## Install

```bash
npx skillstore add microsoft/azure-resource-lookup
```

## Metadata

- Status: approved
- Slug: microsoft-azure-resource-lookup
- Version: 0.0.0-placeholder
- Author version: 0.0.0-placeholder
- Skillstore revision: r2
- Version status: valid
- Tree hash: 7c3c7609663f21a774dd76f958816796b78d0ecee617ac9bb23bb78432972892
- Author: microsoft
- GitHub username: microsoft
- License: MIT
- Repository: https://github.com/microsoft/github-copilot-for-azure/tree/main/plugin/skills/azure-resource-lookup/
- Ref: ebdfe608f5de2b66ff37ab4af12af8ac4f5e8006
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands
- Quality score: 76
- Public page: https://skillstore.pages.dev/skills/microsoft-azure-resource-lookup
- Manifest: https://skillstore.pages.dev/api/skills/microsoft-azure-resource-lookup/manifest

## Capabilities

- Lists Azure resources across one or more subscriptions or resource groups.
- Selects dedicated Azure MCP tools when they provide complete coverage.
- Builds read-only Azure Resource Graph queries from a stated inventory goal.
- Finds untagged, unhealthy, failed, or potentially orphaned resources using documented KQL patterns.
- Formats selected resource fields as concise tables.
- Explains common authorization, extension, syntax, and empty-result errors.

## Use Cases

- Build a cloud inventory: List resources by type, location, subscription, and resource group for operational reviews.
- Investigate resource health: Find failed provisioning states, unavailable resources, and active service incidents across selected subscriptions.
- Audit tags and orphaned assets: Identify missing tags, unattached disks, unused public IP addresses, and orphaned network interfaces.

## Prompt Templates

### List web apps

```
List all Azure web apps in subscription [subscription]. Show name, resource group, location, state, and plan.
```

### Summarize resource inventory

```
Count Azure resources by type across subscriptions [subscriptions]. Sort by highest count and identify the largest categories.
```

### Check required tags

```
Find resources in [subscriptions] missing Environment or CostCenter tags. Group results by resource type and resource group.
```

### Analyze orphaned resources

```
Find unattached disks, unused public IP addresses, and orphaned network interfaces in [subscriptions]. Use separate scoped queries and summarize deletion candidates.
```

## Limitations

- Requires authenticated Azure access and sufficient RBAC permissions.
- Azure Resource Graph data can lag and is unsuitable for real-time monitoring.
- Results depend on the selected subscription scope and query limits.
- Does not deploy resources, change configuration, or perform cost optimization.

## Best Practices

- Confirm the intended subscriptions and resource groups before running broad queries.
- Use dedicated MCP tools for supported single-resource requests.
- Limit result counts and project only fields needed for the decision.

## Anti Patterns

- Do not run generated commands before reviewing their scope and arguments.
- Do not use Azure Resource Graph for real-time monitoring or resource changes.
- Do not treat orphaned-resource matches as deletion approval.

## Security Audit

- Audited at: 2026-07-23T19:23:26.441\+00:00
- Summary: Two findings are confirmed because the workflow generates and runs an Azure CLI command from user intent without an explicit validation or confirmation checkpoint. The other 29 detections are Markdown syntax, tool names, flags, or read-only examples, and no prompt injection or malicious intent was found.

## Stats

- Views: 154
- Downloads: 9
- Favorites: 0
- Popularity score: 0
