{"id":"79b2fdd2-890e-4f80-9d00-af6be962580a","shortId":"wRRgdu","kind":"skill","title":"azure-resource-graph","tagline":"Expert knowledge for Azure Resource Graph development including troubleshooting, best practices, decision making, limits & quotas, configuration, and integrations & coding patterns. Use when querying via CLI/PowerShell/REST, using GET/LIST vs Query APIs, shared queries, alerts, o","description":"# Azure Resource Graph Skill\n\nThis skill provides expert guidance for Azure Resource Graph. Covers troubleshooting, best practices, decision making, limits & quotas, configuration, and integrations & coding patterns. It combines local quick-reference content with remote documentation fetching capabilities.\n\n## How to Use This Skill\n\n> **IMPORTANT for Agent**: Use the **Category Index** below to locate relevant sections. For categories with line ranges (e.g., `L35-L120`), use `read_file` with the specified lines. For categories with file links (e.g., `[security.md](security.md)`), use `read_file` on the linked reference file\n\n> **IMPORTANT for Agent**: If `metadata.generated_at` is more than 3 months old, suggest the user pull the latest version from the repository. If `mcp_microsoftdocs` tools are not available, suggest the user install it: [Installation Guide](https://github.com/MicrosoftDocs/mcp/blob/main/README.md)\n\nThis skill requires **network access** to fetch documentation content:\n- **Preferred**: Use `mcp_microsoftdocs:microsoft_docs_fetch` with query string `from=learn-agent-skill`. Returns Markdown.\n- **Fallback**: Use `fetch_webpage` with query string `from=learn-agent-skill&accept=text/markdown`. Returns Markdown.\n\n## Category Index\n\n| Category | Lines | Description |\n|----------|-------|-------------|\n| Troubleshooting | L34-L40 | Diagnosing and fixing Azure Resource Graph issues with alerts, query syntax/runtime errors, and Power BI connector connectivity, auth, and data refresh problems. |\n| Best Practices | L41-L45 | Guidance on designing Azure Resource Graph queries to avoid throttling, including efficient patterns, batching, pagination, and performance-friendly query structures. |\n| Decision Making | L46-L50 | Guidance on when to use Azure Resource Graph GET/LIST REST APIs vs the Query service, comparing capabilities, scenarios, and integration patterns. |\n| Limits & Quotas | L51-L58 | Understanding ARG request limits, pagination behavior, handling large result sets, and implementing efficient paging (including with PowerShell) to avoid quota issues. |\n| Configuration | L59-L66 | Configuring Resource Graph usage: keyboard shortcuts, supported resource types, and defining/deploying shared queries via Bicep and ARM templates. |\n| Integrations & Coding Patterns | L67-L78 | Running Resource Graph queries via CLI, PowerShell, REST, Logic Apps, Power BI; creating shared queries and alerts; and retrieving resource change history for automation and reporting. |\n\n### Troubleshooting\n| Topic | URL |\n|-------|-----|\n| Troubleshoot Azure Resource Graph alert integration issues | https://learn.microsoft.com/en-us/azure/governance/resource-graph/troubleshoot/alerts |\n| Resolve common Azure Resource Graph query errors | https://learn.microsoft.com/en-us/azure/governance/resource-graph/troubleshoot/general |\n| Troubleshoot Azure Resource Graph Power BI connector problems | https://learn.microsoft.com/en-us/azure/governance/resource-graph/troubleshoot/power-bi-connector |\n\n### Best Practices\n| Topic | URL |\n|-------|-----|\n| Avoid Azure Resource Graph throttling with query patterns | https://learn.microsoft.com/en-us/azure/governance/resource-graph/concepts/guidance-for-throttled-requests |\n\n### Decision Making\n| Topic | URL |\n|-------|-----|\n| Choose between ARG GET/LIST API and Query service | https://learn.microsoft.com/en-us/azure/governance/resource-graph/concepts/get-list-query-service-differences |\n\n### Limits & Quotas\n| Topic | URL |\n|-------|-----|\n| Use Azure Resource Graph GET/LIST API quotas effectively | https://learn.microsoft.com/en-us/azure/governance/resource-graph/concepts/azure-resource-graph-get-list-api |\n| Azure Resource Graph pagination behavior and limits | https://learn.microsoft.com/en-us/azure/governance/resource-graph/concepts/paging-results |\n| Handle large Azure Resource Graph datasets and limits | https://learn.microsoft.com/en-us/azure/governance/resource-graph/concepts/work-with-data |\n| Paginate Azure Resource Graph results with PowerShell | https://learn.microsoft.com/en-us/azure/governance/resource-graph/paginate-powershell |\n\n### Configuration\n| Topic | URL |\n|-------|-----|\n| Use keyboard shortcuts in Azure Resource Graph Explorer | https://learn.microsoft.com/en-us/azure/governance/resource-graph/reference/keyboard-shortcuts |\n| Reference of Azure Resource Graph supported resource types | https://learn.microsoft.com/en-us/azure/governance/resource-graph/reference/supported-tables-resources |\n| Define Azure Resource Graph shared queries using Bicep | https://learn.microsoft.com/en-us/azure/governance/resource-graph/shared-query-bicep |\n| Deploy Azure Resource Graph shared queries with ARM templates | https://learn.microsoft.com/en-us/azure/governance/resource-graph/shared-query-template |\n\n### Integrations & Coding Patterns\n| Topic | URL |\n|-------|-----|\n| Create Azure Resource Graph-based alerts with Log Analytics | https://learn.microsoft.com/en-us/azure/governance/resource-graph/alerts-query-quickstart |\n| Query Azure Resource Graph for resource change history | https://learn.microsoft.com/en-us/azure/governance/resource-graph/changes/get-resource-changes |\n| Run Azure Resource Graph queries with Azure CLI | https://learn.microsoft.com/en-us/azure/governance/resource-graph/first-query-azurecli |\n| Query Azure Resource Graph using PowerShell cmdlets | https://learn.microsoft.com/en-us/azure/governance/resource-graph/first-query-powershell |\n| Call Azure Resource Graph via REST API | https://learn.microsoft.com/en-us/azure/governance/resource-graph/first-query-rest-api |\n| Use Azure Resource Graph Power BI connector for queries | https://learn.microsoft.com/en-us/azure/governance/resource-graph/power-bi-connector-quickstart |\n| Create Azure Resource Graph shared queries with CLI | https://learn.microsoft.com/en-us/azure/governance/resource-graph/shared-query-azure-cli |\n| Create Azure Resource Graph shared queries with PowerShell | https://learn.microsoft.com/en-us/azure/governance/resource-graph/shared-query-azure-powershell |\n| Automate Azure Resource Graph queries with Logic Apps | https://learn.microsoft.com/en-us/azure/governance/resource-graph/tutorials/logic-app-calling-arg |","tags":["azure","resource","graph","agent","skills","microsoftdocs","agent-skills","agentic-skills","agentskill","ai-agents","ai-coding","azure-functions"],"capabilities":["skill","source-microsoftdocs","skill-azure-resource-graph","topic-agent","topic-agent-skills","topic-agentic-skills","topic-agentskill","topic-ai-agents","topic-ai-coding","topic-azure","topic-azure-functions","topic-azure-kubernetes-service","topic-azure-openai","topic-azure-sql-database","topic-azure-storage"],"categories":["Agent-Skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/MicrosoftDocs/Agent-Skills/azure-resource-graph","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add MicrosoftDocs/Agent-Skills","source_repo":"https://github.com/MicrosoftDocs/Agent-Skills","install_from":"skills.sh"}},"qualityScore":"0.698","qualityRationale":"deterministic score 0.70 from registry signals: · indexed on github topic:agent-skills · 497 github stars · SKILL.md body (6,241 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T00:53:36.700Z","embedding":null,"createdAt":"2026-04-18T21:59:59.013Z","updatedAt":"2026-04-22T00:53:36.700Z","lastSeenAt":"2026-04-22T00:53:36.700Z","tsv":"'/en-us/azure/governance/resource-graph/alerts-query-quickstart':545 '/en-us/azure/governance/resource-graph/changes/get-resource-changes':556 '/en-us/azure/governance/resource-graph/concepts/azure-resource-graph-get-list-api':448 '/en-us/azure/governance/resource-graph/concepts/get-list-query-service-differences':433 '/en-us/azure/governance/resource-graph/concepts/guidance-for-throttled-requests':418 '/en-us/azure/governance/resource-graph/concepts/paging-results':458 '/en-us/azure/governance/resource-graph/concepts/work-with-data':469 '/en-us/azure/governance/resource-graph/first-query-azurecli':567 '/en-us/azure/governance/resource-graph/first-query-powershell':577 '/en-us/azure/governance/resource-graph/first-query-rest-api':587 '/en-us/azure/governance/resource-graph/paginate-powershell':479 '/en-us/azure/governance/resource-graph/power-bi-connector-quickstart':599 '/en-us/azure/governance/resource-graph/reference/keyboard-shortcuts':493 '/en-us/azure/governance/resource-graph/reference/supported-tables-resources':504 '/en-us/azure/governance/resource-graph/shared-query-azure-cli':610 '/en-us/azure/governance/resource-graph/shared-query-azure-powershell':621 '/en-us/azure/governance/resource-graph/shared-query-bicep':515 '/en-us/azure/governance/resource-graph/shared-query-template':527 '/en-us/azure/governance/resource-graph/troubleshoot/alerts':382 '/en-us/azure/governance/resource-graph/troubleshoot/general':392 '/en-us/azure/governance/resource-graph/troubleshoot/power-bi-connector':403 '/en-us/azure/governance/resource-graph/tutorials/logic-app-calling-arg':632 '/microsoftdocs/mcp/blob/main/readme.md)':164 '3':135 'accept':203 'access':169 'agent':84,128,187,201 'alert':37,224,360,377,539 'analyt':542 'api':34,279,427,443,584 'app':353,629 'arg':296,425 'arm':336,523 'auth':233 'autom':367,622 'avail':154 'avoid':251,313,408 'azur':2,8,39,49,219,246,274,374,385,394,409,439,449,461,471,487,496,506,517,534,547,558,563,569,579,589,601,612,623 'azure-resource-graph':1 'base':538 'batch':256 'behavior':300,453 'best':14,54,238,404 'bi':230,355,398,593 'bicep':334,512 'call':578 'capabl':76,285 'categori':87,95,111,207,209 'chang':364,552 'choos':423 'cli':349,564,607 'cli/powershell/rest':29 'cmdlet':574 'code':23,63,339,529 'combin':66 'common':384 'compar':284 'configur':20,60,316,320,480 'connect':232 'connector':231,399,594 'content':71,173 'cover':52 'creat':356,533,600,611 'data':235 'dataset':464 'decis':16,56,264,419 'defin':505 'defining/deploying':330 'deploy':516 'descript':211 'design':245 'develop':11 'diagnos':216 'doc':179 'document':74,172 'e.g':99,115 'effect':445 'effici':254,307 'error':227,389 'expert':5,46 'explor':490 'fallback':191 'fetch':75,171,180,193 'file':105,113,120,125 'fix':218 'friend':261 'get/list':31,277,426,442 'github.com':163 'github.com/microsoftdocs/mcp/blob/main/readme.md)':162 'graph':4,10,41,51,221,248,276,322,346,376,387,396,411,441,451,463,473,489,498,508,519,537,549,560,571,581,591,603,614,625 'graph-bas':536 'guid':161 'guidanc':47,243,269 'handl':301,459 'histori':365,553 'implement':306 'import':82,126 'includ':12,253,309 'index':88,208 'instal':158,160 'integr':22,62,288,338,378,528 'issu':222,315,379 'keyboard':324,484 'knowledg':6 'l120':102 'l34':214 'l34-l40':213 'l35':101 'l35-l120':100 'l40':215 'l41':241 'l41-l45':240 'l45':242 'l46':267 'l46-l50':266 'l50':268 'l51':293 'l51-l58':292 'l58':294 'l59':318 'l59-l66':317 'l66':319 'l67':342 'l67-l78':341 'l78':343 'larg':302,460 'latest':143 'learn':186,200 'learn-agent-skil':185,199 'learn.microsoft.com':381,391,402,417,432,447,457,468,478,492,503,514,526,544,555,566,576,586,598,609,620,631 'learn.microsoft.com/en-us/azure/governance/resource-graph/alerts-query-quickstart':543 'learn.microsoft.com/en-us/azure/governance/resource-graph/changes/get-resource-changes':554 'learn.microsoft.com/en-us/azure/governance/resource-graph/concepts/azure-resource-graph-get-list-api':446 'learn.microsoft.com/en-us/azure/governance/resource-graph/concepts/get-list-query-service-differences':431 'learn.microsoft.com/en-us/azure/governance/resource-graph/concepts/guidance-for-throttled-requests':416 'learn.microsoft.com/en-us/azure/governance/resource-graph/concepts/paging-results':456 'learn.microsoft.com/en-us/azure/governance/resource-graph/concepts/work-with-data':467 'learn.microsoft.com/en-us/azure/governance/resource-graph/first-query-azurecli':565 'learn.microsoft.com/en-us/azure/governance/resource-graph/first-query-powershell':575 'learn.microsoft.com/en-us/azure/governance/resource-graph/first-query-rest-api':585 'learn.microsoft.com/en-us/azure/governance/resource-graph/paginate-powershell':477 'learn.microsoft.com/en-us/azure/governance/resource-graph/power-bi-connector-quickstart':597 'learn.microsoft.com/en-us/azure/governance/resource-graph/reference/keyboard-shortcuts':491 'learn.microsoft.com/en-us/azure/governance/resource-graph/reference/supported-tables-resources':502 'learn.microsoft.com/en-us/azure/governance/resource-graph/shared-query-azure-cli':608 'learn.microsoft.com/en-us/azure/governance/resource-graph/shared-query-azure-powershell':619 'learn.microsoft.com/en-us/azure/governance/resource-graph/shared-query-bicep':513 'learn.microsoft.com/en-us/azure/governance/resource-graph/shared-query-template':525 'learn.microsoft.com/en-us/azure/governance/resource-graph/troubleshoot/alerts':380 'learn.microsoft.com/en-us/azure/governance/resource-graph/troubleshoot/general':390 'learn.microsoft.com/en-us/azure/governance/resource-graph/troubleshoot/power-bi-connector':401 'learn.microsoft.com/en-us/azure/governance/resource-graph/tutorials/logic-app-calling-arg':630 'limit':18,58,290,298,434,455,466 'line':97,109,210 'link':114,123 'local':67 'locat':91 'log':541 'logic':352,628 'make':17,57,265,420 'markdown':190,206 'mcp':149,176 'metadata.generated':130 'microsoft':178 'microsoftdoc':150,177 'month':136 'network':168 'o':38 'old':137 'page':308 'pagin':257,299,452,470 'pattern':24,64,255,289,340,415,530 'perform':260 'performance-friend':259 'power':229,354,397,592 'powershel':311,350,476,573,618 'practic':15,55,239,405 'prefer':174 'problem':237,400 'provid':45 'pull':141 'queri':27,33,36,182,196,225,249,262,282,332,347,358,388,414,429,510,521,546,561,568,596,605,616,626 'quick':69 'quick-refer':68 'quota':19,59,291,314,435,444 'rang':98 'read':104,119 'refer':70,124,494 'refresh':236 'relev':92 'remot':73 'report':369 'repositori':147 'request':297 'requir':167 'resolv':383 'resourc':3,9,40,50,220,247,275,321,327,345,363,375,386,395,410,440,450,462,472,488,497,500,507,518,535,548,551,559,570,580,590,602,613,624 'rest':278,351,583 'result':303,474 'retriev':362 'return':189,205 'run':344,557 'scenario':286 'section':93 'security.md':116,117 'servic':283,430 'set':304 'share':35,331,357,509,520,604,615 'shortcut':325,485 'skill':42,44,81,166,188,202 'skill-azure-resource-graph' 'source-microsoftdocs' 'specifi':108 'string':183,197 'structur':263 'suggest':138,155 'support':326,499 'syntax/runtime':226 'templat':337,524 'text/markdown':204 'throttl':252,412 'tool':151 'topic':371,406,421,436,481,531 'topic-agent' 'topic-agent-skills' 'topic-agentic-skills' 'topic-agentskill' 'topic-ai-agents' 'topic-ai-coding' 'topic-azure' 'topic-azure-functions' 'topic-azure-kubernetes-service' 'topic-azure-openai' 'topic-azure-sql-database' 'topic-azure-storage' 'troubleshoot':13,53,212,370,373,393 'type':328,501 'understand':295 'url':372,407,422,437,482,532 'usag':323 'use':25,30,79,85,103,118,175,192,273,438,483,511,572,588 'user':140,157 'version':144 'via':28,333,348,582 'vs':32,280 'webpag':194","prices":[{"id":"71f7e095-2ebe-49f3-9284-2f9c9ba0532e","listingId":"79b2fdd2-890e-4f80-9d00-af6be962580a","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"MicrosoftDocs","category":"Agent-Skills","install_from":"skills.sh"},"createdAt":"2026-04-18T21:59:59.013Z"}],"sources":[{"listingId":"79b2fdd2-890e-4f80-9d00-af6be962580a","source":"github","sourceId":"MicrosoftDocs/Agent-Skills/azure-resource-graph","sourceUrl":"https://github.com/MicrosoftDocs/Agent-Skills/tree/main/skills/azure-resource-graph","isPrimary":false,"firstSeenAt":"2026-04-18T21:59:59.013Z","lastSeenAt":"2026-04-22T00:53:36.700Z"}],"details":{"listingId":"79b2fdd2-890e-4f80-9d00-af6be962580a","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"MicrosoftDocs","slug":"azure-resource-graph","github":{"repo":"MicrosoftDocs/Agent-Skills","stars":497,"topics":["agent","agent-skills","agentic-skills","agentskill","ai","ai-agents","ai-coding","azure","azure-functions","azure-kubernetes-service","azure-openai","azure-sql-database","azure-storage","azure-virtual-machine","claude-code","github-copilot","microsoft-learn","openai-codex","skills"],"license":"cc-by-4.0","html_url":"https://github.com/MicrosoftDocs/Agent-Skills","pushed_at":"2026-04-19T02:43:40Z","description":"Curated Agent Skills for Microsoft & Azure – giving AI coding assistants structured, real-time expertise from Microsoft Learn docs.","skill_md_sha":"6d8657bca73b13ee56edcf4a5c376498d7e59010","skill_md_path":"skills/azure-resource-graph/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/MicrosoftDocs/Agent-Skills/tree/main/skills/azure-resource-graph"},"layout":"multi","source":"github","category":"Agent-Skills","frontmatter":{"name":"azure-resource-graph","description":"Expert knowledge for Azure Resource Graph development including troubleshooting, best practices, decision making, limits & quotas, configuration, and integrations & coding patterns. Use when querying via CLI/PowerShell/REST, using GET/LIST vs Query APIs, shared queries, alerts, or Power BI, and other Azure Resource Graph related development tasks. Not for Azure Monitor (use azure-monitor), Azure Policy (use azure-policy), Azure Resource Manager (use azure-resource-manager), Azure Portal (use azure-portal).","compatibility":"Requires network access. Uses mcp_microsoftdocs:microsoft_docs_fetch or fetch_webpage to retrieve documentation."},"skills_sh_url":"https://skills.sh/MicrosoftDocs/Agent-Skills/azure-resource-graph"},"updatedAt":"2026-04-22T00:53:36.700Z"}}