Cloudofficial

azure-quotas

microsoft/GitHub-Copilot-for-Azure · updated Apr 8, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/microsoft/GitHub-Copilot-for-Azure --skill azure-quotas
0 commentsdiscussion
summary

Check and manage Azure quotas and usage across regions for deployment planning and capacity validation.

  • Azure CLI ( az quota ) is the only reliable method for checking quotas; REST API and Portal are unreliable and show misleading \"No Limit\" values that do not indicate unlimited capacity
  • Supports quota discovery, usage tracking, limit checking, and increase requests across compute, network, storage, and container services
  • Quota resource names do not map 1:1 to ARM resource types; u
skill.md

Azure Quotas - Service Limits & Capacity Management

AUTHORITATIVE GUIDANCE — Follow these instructions exactly for quota management and capacity validation.

Overview

What are Azure Quotas?

Azure quotas (also called service limits) are the maximum number of resources you can deploy in a subscription. Quotas:

  • Prevent accidental over-provisioning
  • Ensure fair resource distribution across Azure
  • Represent available capacity in each region
  • Can be increased (adjustable quotas) or are fixed (non-adjustable)

Key Concept: Quotas = Resource Availability

If you don't have quota, you cannot deploy resources. Always check quotas when planning deployments or selecting regions.

When to Use This Skill

Invoke this skill when:

  • Planning a new deployment - Validate capacity before deployment
  • Selecting an Azure region - Compare quota availability across regions
  • Troubleshooting quota exceeded errors - Check current usage vs limits
  • Requesting quota increases - Submit increase requests via CLI or Portal
  • Comparing regional capacity - Find regions with available quota
  • Validating provisioning limits - Ensure deployment won't exceed quotas

Quick Reference

Property Details
Primary Tool Azure CLI (az quota) - USE THIS FIRST, ALWAYS
Extension Required az extension add --name quota (MUST install first)
Key Commands az quota list, az quota show, az quota usage list, az quota usage show
Complete CLI Reference commands.md
Azure Portal My quotas - Use only as fallback
REST API Microsoft.Quota provider - Unreliable, do NOT use first
Required Permission Reader (view) or Quota Request Operator (manage)

⚠️ CRITICAL: ALWAYS USE CLI FIRST

Azure CLI (az quota) is the ONLY reliable method for checking quotas. Use CLI FIRST, always.

DO NOT use REST API or Portal as your first approach. They are unreliable and misleading.

Why you must use CLI first:

  • REST API is unreliable and shows misleading results
  • REST API "No Limit" or "Unlimited" values DO NOT mean unlimited capacity
  • "No Limit" typically means the resource doesn't support quota API (not unlimited!)
  • CLI provides clear BadRequest errors when providers aren't supported
  • CLI has consistent output format and better error messages
  • Portal may show incomplete or cached data

Mandatory workflow:

  1. FIRST: Try az quota list / az quota show / az quota usage show
  2. If CLI returns BadRequest: Then use Azure service limits docs
  3. Never start with REST API or Portal - only use as last resort

If you see "No Limit" in REST API/Portal: This is NOT unlimited capacity. It means:

  • The quota API doesn't support that resource type, OR
  • The quota isn't enforced via the API, OR
  • Service-specific limits still apply (check documentation)

For complete CLI command reference and examples, see commands.md.

Quota Types

Type Adjustability Approval Examples
Adjustable Can increase via Portal/CLI/API Usually auto-approved VM vCPUs, Public IPs, Storage accounts
Non-adjustable Fixed limits Cannot be changed Subscription-wide hard limits

Important: Requesting quota increases is free. You only pay for resources you actually use, not for quota allocation.

Understanding Resource Name Mapping

⚠️ CRITICAL: There is NO 1:1 mapping between ARM resource types and quota resource names.

Example Mappings

ARM Resource Type Quota Resource Name
Microsoft.App/managedEnvironments ManagedEnvironmentCount
Microsoft.Compute/virtualMachines standardDSv3Family, cores, virtualMachines
Microsoft.Network/publicIPAddresses PublicIPAddresses, IPv4StandardSkuPublicIpAddresses

Discovery Workflow

Never assume the quota resource name from the ARM type. Always use this workflow:

  1. List all quotas for the resource provider:

    az quota list --scope /subscriptions/<id>/providers/<ProviderNamespace>/locations/<region>
    
  2. Match by localizedValue (human-readable description) to find the relevant quota

  3. Use the name field (not ARM resource type) in subsequent commands:

    az quota show --resource-name ManagedEnvironmentCount --scope ...
    az quota usage show --resource-name ManagedEnvironmentCount --scope ...
    

📖 Detailed mapping examples and workflow: See commands.md - Understanding Resource Name Mapping

Core Workflows

Workflow 1: Check Quota for a Specific Resource

Scenario: Verify quota limit and current usage before deployment

# 1. Install quota extension (if not already installed)
az extension add --name quota

# 2. List all quotas for the provider to find the quota resource name
az quota list \
  --scope /subscriptions/<subscription-id>/providers/Microsoft.Compute/locations/eastus

# 3. Show quota limit for a specific resource
az quota show \
  --resource-name standardDSv3Family \
  --scope /subscriptions/<subscription-id>/providers/Microsoft.Compute/locations/eastus

# 4. Show current usage
az quota usage show \
  --resource-name standardDSv3Family \
  --scope /subscriptions/<subscription-id>/providers/Microsoft.Compute/locations/eastus

Example Output Analysis:

  • Quota limit: 350 vCPUs
  • Current usage: 50 vCPUs
  • Available capacity: 300 vCPUs (350 - 50)

📖 See also: az quota show, az quota usage show

Workflow 2: Compare Quotas Across Regions

Scenario: Find the best region for deployment based on available capacity

# Define candidate regions
REGIONS=("eastus" "eastus2" "westus2" "centralus")
VM_FAMILY="standardDSv3Family"
SUBSCRIPTION_ID="<subscription-id>"

# Check quota availability across regions
for region in "${REGIONS[@]}"; do
  echo "=== Checking $region ==="
  
  # Get limit
  LIMIT=$(az quota show \
    --resource-name $VM_FAMILY \
    --scope "/subscriptions/$SUBSCRIPTION_ID/providers/Microsoft.Compute/locations/$region" \
    --query "properties.limit.value" -o tsv)
  
  # Get current usage
  USAGE=$(az quota usage show \
    --resource-name $VM_FAMILY \
    --scope "/subscriptions/$SUBSCRIPTION_ID/providers/Microsoft.Compute/locations/$region" \
    --query "properties.usages.value" -o tsv)
  
  # Calculate available
  AVAILABLE=$((LIMIT - USAGE))
  
  echo "Region: $region | Limit: $LIMIT | Usage: $USAGE | Available: $AVAILABLE"
done

📖 See also: Multi-region comparison scripts (Bash & PowerShell)

Workflow 3: Request Quota Increase

Scenario: Current quota is insufficient for deployment

# Request increase for VM quota
az quota update \
  --resource-name standardDSv3Family \
  --scope /subscriptions/<subscription-id>/providers/Microsoft.Compute/locations/eastus \
  --limit-object value=500 \
  --resource-type dedicated

# Check request status
az quota request status list \
  --scope /subscriptions/<subscription-id>/providers/Microsoft.Compute/locations/eastus

Approval Process:

  • Most adjustable quotas are auto-approved within minutes
  • Some requests require manual review (hours to days)
  • Non-adjustable quotas require Azure Support ticket

📖 See also: az quota update, az quota request status

Workflow 4: List All Quotas for Planning

Scenario: Understand all quotas for a resource provider in a region

# List all compute quotas in East US (table format)
az quota list \
  --scope /subscriptions/<subscription-id>/providers/Microsoft.Compute/locations/eastus \
  --output table

# List all network quotas
az quota list \
  --scope /subscriptions/<subscription-id>/providers/Microsoft.Network/locations/eastus \
  --output table

# List all Container Apps quotas
az quota list \
  --scope /subscriptions/<subscription-id>/providers/Microsoft.App/locations/eastus \
  --output table

📖 See also: az quota list

Troubleshooting

Common Errors

Error Cause Solution
REST API "No Limit" REST API showing misleading "unlimited" values CRITICAL: "No Limit" ≠ unlimited! Use CLI instead. See warning above. Check service limits docs
REST API failures REST API unreliable and misleading Always use Azure CLI - See commands.md for complete CLI reference
ExtensionNotFound Quota extension not installed az extension add --name quota
BadRequest Resource provider not supported by quota API Use CLI (preferred) or service limits docs
MissingRegistration Microsoft.Quota provider not registered az provider register --namespace Microsoft.Quota
QuotaExceeded Deployment would exceed quota Request increase or choose different region
InvalidScope Incorrect scope format Use pattern: /subscriptions/<id>/providers/<namespace>/locations/<region>

Unsupported Resource Providers

Known unsupported providers:

Confirmed working providers:

  • ✅ Microsoft.Compute (VMs, disks, cores)
  • ✅ Microsoft.Network (VNets, IPs, load balancers)
  • ✅ Microsoft.App (Container Apps)
  • ✅ Microsoft.Storage (storage accounts)
  • ✅ Microsoft.MachineLearningServices (ML compute)

📖 See also: Troubleshooting Guide

Additional Resources

how to use azure-quotas

How to use azure-quotas on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add azure-quotas
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/microsoft/GitHub-Copilot-for-Azure --skill azure-quotas

The skills CLI fetches azure-quotas from GitHub repository microsoft/GitHub-Copilot-for-Azure and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/azure-quotas

Reload or restart Cursor to activate azure-quotas. Access the skill through slash commands (e.g., /azure-quotas) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

Task Automation & Efficiency

Automate repetitive workflows and reduce manual effort

Example

Generate reports, summarize documents, draft communications

Save 3-5 hours per week on routine tasks

Knowledge Enhancement

Learn new skills, understand complex topics, get expert guidance

Example

Explain concepts, provide examples, suggest learning resources

Accelerate learning and skill development by 2x

Quality Improvement

Enhance output quality through reviews, suggestions, and refinements

Example

Review drafts, suggest improvements, catch errors

Improve work quality by 30-40% with less effort

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client with skill support
  • Clear understanding of task or problem to solve
  • Willingness to iterate and refine outputs

Time Estimate

15-45 minutes depending on use case complexity

Installation Steps

  1. 1.Install skill using provided installation command
  2. 2.Test with simple use case relevant to your work
  3. 3.Evaluate output quality and relevance
  4. 4.Iterate on prompts to improve results
  5. 5.Integrate into regular workflow if valuable

Common Pitfalls

  • Expecting perfect results without iteration
  • Not providing enough context in prompts
  • Using skill for tasks outside its intended scope
  • Accepting outputs without review and validation

Best Practices

✓ Do

  • +Start with clear, specific prompts
  • +Provide relevant context and constraints
  • +Review and refine all outputs before using
  • +Iterate to improve output quality
  • +Document successful prompt patterns

✗ Don't

  • Don't use without understanding skill limitations
  • Don't skip validation of outputs
  • Don't share sensitive information in prompts
  • Don't expect skill to replace human judgment

💡 Pro Tips

  • Be specific about desired format and style
  • Ask for multiple options to choose from
  • Request explanations to understand reasoning
  • Combine AI efficiency with human expertise

When to Use This

✓ Use When

Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.

✗ Avoid When

Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.

Learning Path

  1. 1Familiarize yourself with skill capabilities and limitations
  2. 2Start with low-risk, non-critical tasks
  3. 3Progress to more complex and valuable use cases
  4. 4Build expertise through regular use and experimentation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.628 reviews
  • Jin Rahman· Dec 20, 2024

    Registry listing for azure-quotas matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Isabella Chawla· Dec 16, 2024

    Solid pick for teams standardizing on skills: azure-quotas is focused, and the summary matches what you get after install.

  • Lucas Kapoor· Nov 11, 2024

    Useful defaults in azure-quotas — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Jin Mehta· Nov 7, 2024

    We added azure-quotas from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Rahul Santra· Nov 3, 2024

    azure-quotas is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Min Gonzalez· Nov 3, 2024

    Keeps context tight: azure-quotas is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Jin Singh· Oct 26, 2024

    azure-quotas fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Pratham Ware· Oct 22, 2024

    Keeps context tight: azure-quotas is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Min Khan· Oct 22, 2024

    azure-quotas is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Sofia Jain· Oct 2, 2024

    I recommend azure-quotas for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

showing 1-10 of 28

1 / 3
Resource Link