Agent skill

az-cli

Use the Azure CLI (`az`) to manage Azure resources from the command line. Trigger this skill whenever the user asks to create, configure, manage, deploy, or interact with any Azure resource — even if they don't explicitly mention "az cli". Also trigger when the user asks about Azure CLI commands, syntax, or wants to know how to do something in Azure from the terminal.

Stars 459
Forks 55

Install this agent skill to your Project

npx add-skill https://github.com/Code-and-Sorts/awesome-copilot-agents/tree/main/skills/cloud/az-cli

Metadata

Additional technical details for this skill

author
Colby Timm
version
1.0

SKILL.md

Az CLI

Help users accomplish Azure tasks by identifying the right az commands, gathering required parameters, and executing them.

Workflow

When a user asks to do something with Azure:

  1. Identify the command — find the right az subcommand from the reference docs below. If the task spans multiple commands, plan the sequence.
  2. Check for required parameters — read the relevant reference file to understand what the command needs. If the user hasn't provided required values (resource group, name, SKU, location, etc.), ask them before running anything.
  3. Construct and execute — build the command with the user's parameters and run it. If a command has optional flags that would be useful for the user's scenario, mention them.
  4. Verify the result — after running a command, check the output for errors. If something fails, diagnose and suggest fixes (common issues: wrong resource group, missing provider registration, quota limits).

When a user asks about Azure CLI syntax or wants to know what commands are available for a service, read the relevant reference file and summarize what's available.

Command Groups

Compute

Command Description Status Reference
az aks Azure Kubernetes Service. GA ref
az aksarc Manage provisioned clusters. GA (ext) ref
az appservice Manage Appservice. GA ref
az batch Manage Azure Batch. GA ref
az capacity Manage capacity. GA ref
az cloud-service Manage cloud service. Experimental (ext) ref
az compute-fleet Manage for Azure Compute Fleet. Preview ref
az compute-recommender Manage sku/zone/region recommender info for compute resources. GA ref
az computeschedule Computeschedule batch virtual machine operations. GA (ext) ref
az container Manage Azure Container Instances. GA ref
az containerapp Manage Azure Container Apps. GA ref
az disk Manage Azure Managed Disks. GA ref
az disk-access Manage disk access resources. GA ref
az disk-encryption-set Disk Encryption Set resource. GA ref
az disk-pool Manage Azure disk pool. GA (ext) ref
az functionapp Manage function apps. To install the Azure Functions Core tools, see the project repository. GA ref
az image Manage custom virtual machine images. GA ref
az logicapp Manage logic apps. GA ref
az ppg Manage Proximity Placement Groups. GA ref
az restore-point Manage restore point with res. GA ref
az serial-console Connect to the Serial Console of a Linux/Windows Virtual Machine or VMSS Instance. GA (ext) ref
az sf Manage and administer Azure Service Fabric clusters. GA ref
az sig Manage shared image gallery. GA ref
az snapshot Manage point-in-time copies of managed disks, native blobs, or other snapshots. GA ref
az spring Commands to manage Azure Spring Apps. Deprecated ref
az ssh SSH into resources (Azure VMs, Arc servers, etc) using AAD issued openssh certificates. GA (ext) ref
az sshkey Manage ssh public key with vm. GA ref
az staticwebapp Manage static apps. GA ref
az vm Manage Linux or Windows virtual machines. GA ref
az vmss Manage groupings of virtual machines in an Azure Virtual Machine Scale Set (VMSS). GA ref
az webapp Manage web apps. GA ref

Networking

Command Description Status Reference
az afd Manage Azure Front Door Standard/Premium. GA ref
az cdn Manage Azure Content Delivery Networks (CDNs). GA ref
az dns-resolver Manage Dns Resolver. GA (ext) ref
az internet-analyzer Commands to manage internet analyzer. GA (ext) ref
az network Manage Azure Network resources. GA ref
az network-analytics Network Analytics command group Azure Operator Insights resource manipulation. GA (ext) ref
az network-function Manage network function. GA (ext) ref
az networkcloud Manage Network Cloud resources. GA (ext) ref
az networkfabric Manage Azure Network Fabric Management Service API. GA (ext) ref
az private-link Private-link association CLI command group. GA ref
az relay Manage Azure Relay Service namespaces, WCF relays, hybrid connections, and rules. GA ref
az signalr Manage Azure SignalR Service. GA ref
az webpubsub Commands to manage Webpubsub. GA (ext) ref

Storage

Command Description Status Reference
az amlfs Manage Azure Managed Lustre Filesystem. GA (ext) ref
az dls Manage Data Lake Store accounts and filesystems. Preview ref
az elastic-san Manage Elastic SAN. GA (ext) ref
az hpc-cache Commands to manage hpc cache. GA (ext) ref
az import-export Manage Import Export. Experimental (ext) ref
az netappfiles Manage Azure NetApp Files (ANF) Resources. GA ref
az storage Manage Azure Cloud Storage resources. GA ref
az storage-actions Manage StorageActions. GA (ext) ref
az storage-discovery Manage Storage Discovery. GA (ext) ref
az storage-mover Manage top-level Storage Mover resource. GA (ext) ref
az storagesync Manage Azure File Sync. GA (ext) ref

Databases

Command Description Status Reference
az cosmosdb Manage Azure Cosmos DB database accounts. GA ref
az kusto Manage Kusto. Experimental (ext) ref
az managed-cassandra Azure Managed Cassandra. GA ref
az mariadb Manage Azure Database for MariaDB servers. GA ref
az mongo-db Manage MongoDB. GA (ext) ref
az mysql Manage Azure Database for MySQL servers. GA ref
az postgres Manage Azure Database for PostgreSQL. GA ref
az redis Manage dedicated Redis caches for your Azure applications. GA ref
az redisenterprise Manage the redisenterprise cache. GA (ext) ref
az sql Manage Azure SQL Databases and Data Warehouses. GA ref

Containers & Registries

Command Description Status Reference
az acr Manage private registries with Azure Container Registries. GA ref
az connectedk8s Commands to manage connected kubernetes clusters. GA (ext) ref
az k8s-configuration Commands to manage resources from Microsoft.KubernetesConfiguration. GA (ext) ref
az k8s-extension Commands to manage Kubernetes Extensions. GA (ext) ref
az k8s-runtime Manage Arc Kubernetes Runtime resources. GA (ext) ref

Identity & Security

Command Description Status Reference
az ad Manage Microsoft Entra ID (formerly known as Azure Active Directory, Azure AD, AAD) entities needed for Azure role-based access control (Azure RBAC) through Microsoft Graph API. GA ref
az attestation Manage Microsoft Azure Attestation (MAA). Experimental (ext) ref
az cloudhsm Manage Cloud Hsm Cluster. GA (ext) ref
az confcom Commands to generate security policies for confidential containers in Azure. GA (ext) ref
az confidentialledger Manage Confidential Ledger. GA (ext) ref
az dedicated-hsm Manage dedicated hsm with hardware security modules. GA (ext) ref
az identity Manage Managed Identity. GA ref
az keyvault Manage KeyVault keys, secrets, and certificates. GA ref
az policy Manage resources defined and used by the Azure Policy service. GA ref
az role Manage Azure role-based access control (Azure RBAC). GA ref
az security Manage your security posture with Microsoft Defender for Cloud. GA ref
az sentinel Manage Microsoft Sentinel. GA (ext) ref
az trustedsigning Manage trusted signing account. Preview (ext) ref

Management & Governance

Command Description Status Reference
az account Manage Azure subscription information. GA ref
az advisor Manage Azure Advisor. GA ref
az bicep Bicep CLI command group. GA ref
az billing Manage Azure Billing. GA ref
az billing-benefits Azure billing benefits commands. GA (ext) ref
az blueprint Commands to manage blueprint. Deprecated (ext) ref
az consumption Manage consumption of Azure resources. Preview ref
az costmanagement Costmanagement. GA (ext) ref
az data-boundary Data boundary operations. GA ref
az deployment Manage Azure Resource Manager template deployment at subscription scope. GA ref
az deployment-scripts Manage deployment scripts at subscription or resource group scope. GA ref
az feature Manage resource provider features. GA ref
az group Manage resource groups and template deployments. GA ref
az lock Manage Azure locks. GA ref
az managedapp Manage template solutions provided and maintained by Independent Software Vendors (ISVs). GA ref
az managedservices Manage the registration assignments and definitions in Azure. GA ref
az managementpartner Allows the partners to associate a Microsoft Partner Network(MPN) ID to a user or service principal in the customer's Azure directory. GA (ext) ref
az provider Manage resource providers. GA ref
az providerhub Manage resources with ProviderHub. GA (ext) ref
az quota Manag quota for Azure resource providers. GA (ext) ref
az reservations Azure Reservations. Preview (ext) ref
az resource Manage Azure resources. GA ref
az resourcemanagement Resourcemanagement CLI command group. GA ref
az self-help Azure SelfHelp will help you troubleshoot issues with Azure resources. Preview (ext) ref
az stack A deployment stack is a native Azure resource type that enables you to perform operations on a resource collection as an atomic unit. GA ref
az support Manage Azure support resource. GA (ext) ref
az tag Tag Management on a resource. GA ref
az ts Manage template specs at subscription or resource group scope. GA ref

Monitoring & Analytics

Command Description Status Reference
az alerts-management Manage Azure Alerts Management Service Resource. GA (ext) ref
az carbon Manage Carbon. GA (ext) ref
az change-analysis List changes for resources. GA (ext) ref
az databricks Manage databricks workspaces. GA (ext) ref
az datafactory Manage Data Factory. GA (ext) ref
az datashare Manage Data Share. Experimental (ext) ref
az grafana Commands to manage Azure Managed Grafana resources. GA (ext) ref
az hdinsight Manage HDInsight resources. GA ref
az monitor Manage the Azure Monitor Service. GA ref
az powerbi Manage PowerBI resources. GA (ext) ref
az purview Manage Purview. Preview (ext) ref
az stream-analytics Manage Stream Analytics. GA (ext) ref
az synapse Manage and operate Synapse Workspace, Spark Pool, SQL Pool. GA ref
az tsi Manage Azure Time Series Insights. GA (ext) ref

DevOps & Integration

Command Description Status Reference
az apic Manage Azure API Center services. GA (ext) ref
az apim Manage Azure API Management services. GA ref
az artifacts Manage Azure Artifacts. GA (ext) ref
az boards Manage Azure Boards. GA (ext) ref
az communication Manage communication service with communication. GA (ext) ref
az connection Commands to manage Service Connector local connections which allow local environment to connect Azure Resource. If you want to manage connection for compute service, please run 'az webapp/containerapp/spring connection'. GA ref
az devops Manage Azure DevOps organization level operations. GA (ext) ref
az eventgrid Manage Azure Event Grid topics, domains, domain topics, system topics partner topics, event subscriptions, system topic event subscriptions and partner topic event subscriptions. GA ref
az eventhubs Eventhubs. GA ref
az logic Manage logic. GA (ext) ref
az notification-hub Manage notification hubs. GA (ext) ref
az pipelines Manage Azure Pipelines. GA (ext) ref
az repos Manage Azure Repos. GA (ext) ref
az servicebus Servicebus. GA ref

AI & ML

Command Description Status Reference
az bot Manage Microsoft Azure Bot Service. GA ref
az cognitiveservices Manage Azure Cognitive Services accounts. GA ref
az maps Manage Azure Maps. GA ref
az ml Manage Azure Machine Learning resources with the Azure CLI ML extension v2. GA (ext) ref
az ml Manage Azure Machine Learning resources with the Azure CLI ML extension v1. GA (ext) ref
az search Manage Search. GA ref

IoT & Edge

Command Description Status Reference
az dt Manage Azure Digital Twins solutions & infrastructure. GA (ext) ref
az edge-action Manage Edge Action. GA (ext) ref
az edge-zones Manage Edge Zone resources. Preview (ext) ref
az edgeorder Manage Edge Order. GA (ext) ref
az iot Manage Internet of Things (IoT) assets. GA ref
az sphere Manage Azure Sphere resources. GA (ext) ref

Migration & Hybrid

Command Description Status Reference
az arc-multicloud Commands for arc-multicloud. GA (ext) ref
az arcappliance Commands to manage Arc resource bridge. GA (ext) ref
az arcgateway Manage gateway connection on Arc machine. GA (ext) ref
az backup Manage Azure Backups. GA ref
az connectedmachine Manage Azure Arc-Enabled Server. GA (ext) ref
az connectedvmware Commands to manage Connected VMware. GA (ext) ref
az data-transfer Commands for cross domain Service that enables customers to transfer data across security domains. Preview (ext) ref
az datamigration Manage Datamigration. GA (ext) ref
az dataprotection Manage dataprotection. GA (ext) ref
az dms Manage Azure Data Migration Service (classic) instances. GA ref
az migrate Manage Azure Migrate resources and operations. Preview (ext) ref
az offazure Manage on-premise resources for migrate. Experimental (ext) ref
az resource-mover Manage Resource Mover Service API. GA (ext) ref
az scvmm Commands for managing Arc for SCVMM resources. GA (ext) ref
az site-recovery Manage Site Recovery Service. GA (ext) ref

Compliance & Automation

Command Description Status Reference
az acat Manage App Compliance Automation Tool reports. GA (ext) ref
az automanage Manage Automanage. GA (ext) ref
az automation Manage Automation Account. GA (ext) ref
az guestconfig Manage Guest Configuration. GA (ext) ref
az maintenance Manage Maintenance. GA (ext) ref

Partner & Marketplace

Command Description Status Reference
az arize-ai Manage Arize Ai. GA (ext) ref
az astronomer Manage Azure Astronomer resources. GA (ext) ref
az confluent Manage confluent organization. GA (ext) ref
az datadog Manage Datadog. GA (ext) ref
az dell Manage Dell storage resources in Azure. GA (ext) ref
az dynatrace Manage dynatrace. GA (ext) ref
az elastic Manage Microsoft Elastic. GA (ext) ref
az informatica Manage all resources related to Informatica within the Azure CLI. GA (ext) ref
az lambda-test Manage Lambda Test. GA (ext) ref
az new-relic Manage Azure New Relic resources. GA (ext) ref
az nginx Manage NGINX deployment resources. GA (ext) ref
az palo-alto Manage Palo Alto Networks resources within the Azure CLI. GA (ext) ref
az qumulo Manage Qumulo file system storage resources with the Azure CLI. GA (ext) ref

CLI Tools

Command Description Status Reference
az ai-examples Add AI powered examples to help content. Preview (ext) ref
az alias Manage Azure CLI Aliases. GA (ext) ref
az cli-translator Translate ARM template or REST API to CLI scripts. Experimental (ext) ref
az cloud Manage registered Azure clouds. GA ref
az command-change Commands for CLI modules metadata management. GA (ext) ref
az config Manage Azure CLI configuration. Experimental ref
az configure Manage Azure CLI configuration. This command is interactive. GA ref
az extension Manage and update CLI extensions. GA ref
az feedback Send feedback to the Azure CLI Team. GA ref
az find I'm an AI robot, my advice is based on our Azure documentation as well as the usage patterns of Azure CLI and Azure ARM users. Using me improves Azure products and documentation. GA ref
az fzf Commands to select active or default objects via fzf. GA (ext) ref
az hack Commands to manage resources commonly used for student hacks. GA (ext) ref
az init It's an effortless setting up tool for configs. Experimental (ext) ref
az interactive Start interactive mode. Installs the Interactive extension if not installed already. Preview ref
az login Log in to Azure. GA ref
az logout Log out to remove access to Azure subscriptions. GA ref
az next Recommend the possible next set of commands to take. Experimental (ext) ref
az prototype Rapidly create Azure prototypes using AI-driven agent teams. Preview (ext) ref
az rest Invoke a custom request. GA ref
az scenario E2E Scenario Usage Guidance. GA (ext) ref
az survey Take Azure CLI survey. GA ref
az term Manage marketplace agreement with marketplaceordering. Experimental ref
az upgrade Upgrade Azure CLI and extensions. Preview ref
az version Show the versions of Azure CLI modules and extensions in JSON format by default or format configured by --output. GA ref

Other

Command Description Status Reference
az ams Manage Azure Media Services resources. GA ref
az aosm Manage Azure Operator Service Manager resources. Preview (ext) ref
az appconfig Manage App Configurations. GA ref
az appnet Azure Kubernetes Application Network. Preview (ext) ref
az aro Manage Azure Red Hat OpenShift clusters. GA ref
az artifact-signing Manage artifact signing account. Preview (ext) ref
az baremetalinstance Handle Operations for Compute Azure Bare Instances. GA (ext) ref
az baremetalstorageinstance Handle Operations for Storage Azure Bare Metal Instances. GA (ext) ref
az cache Commands to manage CLI objects cached using the --defer argument. GA ref
az custom-providers Commands to manage custom providers. GA (ext) ref
az customlocation Commands to Create, Get, List and Delete CustomLocations. GA (ext) ref
az databox Manage data box. GA (ext) ref
az databoxedge Manage device with databoxedge. GA ref
az dependency-map Manage Dependency Map. GA (ext) ref
az desktopvirtualization Manage desktop virtualization. GA (ext) ref
az devcenter Manage resources with devcenter. GA (ext) ref
az dnc Manage Delegated Network. Preview (ext) ref
az durabletask Commands to manage Durabletask schedulers and taskhubs. GA (ext) ref
az fabric Manage Microsoft Fabric resources. GA (ext) ref
az firmwareanalysis Commands to manage firmware analysis. GA (ext) ref
az fleet Commands to manage fleet. GA (ext) ref
az fluid-relay Manage Fluid Relay. GA (ext) ref
az footprint Manage Footprint. GA (ext) ref
az gallery Azure Compute Gallery. GA (ext) ref
az graph Query the resources managed by Azure Resource Manager. GA (ext) ref
az graph-services Make operations on Microsoft.GraphServices resource types. GA (ext) ref
az healthbot Manage bot with healthbot. Experimental (ext) ref
az healthcareapis Azure Healthcare APIs is a secure cloud platform for managing health data, supporting analytics, machine learning, and scalable solutions. GA (ext) ref
az lab Manage azure devtest labs. Preview ref
az large-instance Handle Operations for Compute Azure Large Instances. GA (ext) ref
az large-storage-instance Handle Operations for Storage Azure Large Instances. GA (ext) ref
az load Manage Azure Load Testing resources. GA (ext) ref
az managedcleanroom Manage Azure Confidential Clean Room. GA (ext) ref
az mcc Microsoft Connected Cache CLI Commands. GA (ext) ref
az mdp Manage resources of Managed DevOps pools. GA (ext) ref
az mesh (PREVIEW) Manage Azure Service Fabric Mesh Resources. Preview (ext) ref
az nexusidentity Command to manage Nexusidentity keys. GA (ext) ref
az oracle-database Command Modules for RP Oracle.Database. GA (ext) ref
az orbital Azure Orbital Ground Station as-a-Service (GSaaS). GA (ext) ref
az partnercenter Partner Center management. GA (ext) ref
az peering Manage peering. GA (ext) ref
az portal Manage Portal. GA (ext) ref
az pscloud Manage Pure Storage Block resources. GA (ext) ref
az quantum Manage Azure Quantum Workspaces and submit jobs to Azure Quantum Providers. Preview (ext) ref
az remote-rendering-account Manage remote rendering account with mixed reality. GA (ext) ref
az sftp Generate SSH certificates and access Azure Storage blob data via SFTP. GA (ext) ref
az site Manage Site. GA (ext) ref
az stack-hci Manage Azure Stack HCI. GA (ext) ref
az stack-hci-vm Manage virtualmachine with stack-hci-vm. GA (ext) ref
az standby-container-group-pool Manage Standby Container Group Pool. GA (ext) ref
az standby-vm-pool Manage Standby Virtual Machine Pool. GA (ext) ref
az terraform Azure Terraform experience. Preview (ext) ref
az vi Commands to manage Video Indexer for Cloud and Edge. GA (ext) ref
az vme Commands to manage version managed extensions on connected kubernetes clusters. GA (ext) ref
az vmware Commands to manage Azure VMware Solution. GA (ext) ref
az workload-orchestration Manage workload orchestration resources. GA (ext) ref
az workloads Manage workloads. GA (ext) ref
az zones Commands to validate Availability Zone Configuration. Use one of the options below. Preview (ext) ref

When a command isn't covered

If the user asks about an az subcommand that doesn't have a reference file here, use the Azure Docs MCP tools (microsoft_docs_search, microsoft_code_sample_search) to look up the command syntax and required parameters. The reference files above cover the most common command groups, but the Azure CLI has hundreds more — don't let a missing reference file stop you from helping.

Didn't find tool you were looking for?

Be as detailed as possible for better results