Azure CLI reference commands for Azure DevOps

The Azure Command-Line Interface (CLI) is a set of commands used to create and manage Azure resources. It's available across many Azure services and gives you the ability to manage Azure DevOps from a command-line.

The Azure CLI commands for Azure DevOps allow you to streamline tasks bypassing user interface workflows. They are associated with the following Azure CLI reference groups. Except for Azure Functions, use of each of these reference groups requires the azure-devops extension:

Note

You're prompted to install an extension reference on first use. Or, you can use the az extension add command to manually install an extension by name.

Azure Artifact references

Azure Artifacts has the following references:

Reference Description More information
az artifacts universal Manage Universal Packages of Azure Artifacts. Publish and download Universal Packages

Azure Board references

Azure Boards has the following references:

Reference Description More information
az boards Manage Azure Boards. What is Azure Boards?
az boards area project Manage areas for a project. Define area paths and assign to a team
az boards area team Manage areas for a team. Define area paths and assign to a team
az boards iteration project Manage iterations for a project. Define iteration paths (sprints) and configure team iterations
az boards iteration team Manage iterations for a team. Define iteration paths (sprints) and configure team iterations
az boards work-item Manage work items. View and add work items
az boards work-item relation Manage work item relations. Linking, traceability, and managing dependencies

Azure DevOps Organization references

Azure DevOps has the following references:

Security references

Reference Description More information
az devops security group Manage security groups. Get started with permissions, access, and security groups
az devops security group membership Manage membership for security groups. Add users and manage access in Azure DevOps
az devops security permission Manage security permissions. Get started with permissions, access, and security groups
az devops security permission namespace Manage security namespaces. Security namespace and permission reference

Service endpoint references

Reference Description More information
az devops service-endpoint Manage service endpoints and connections. Create a service endpoint
az devops service-endpoint azurerm Manage Azure Resource Manager service endpoints and connections. Service connections
az devops service-endpoint github Manage GitHub service endpoints and connections. Service connections

Additional DevOps organization references

Reference Description More information
az devops Manage Azure DevOps. What is Azure DevOps?
az devops admin banner Manage administration banner operations. Add and manage information banners
az devops extension Manage extensions. Uninstall or disable extensions
az devops project Manage team projects. Create a project in Azure DevOps
az devops team Manage teams. Add a team
az devops user Manage users. Add users and manage access in Azure DevOps
az devops wiki Manage wikis. Manage wikis with the CLI
az devops wiki page Manage wiki pages. Add and edit wiki pages

Azure Function (DevOps integration) references

Azure Functions (DevOps integration) has the following references:

Reference Description More information
az functionapp devops-pipeline Manage Azure Function integration with Azure DevOps. Continuous delivery by using Azure DevOps

Azure Pipeline references

Azure Pipelines has the following references:

Reference Description More information
az pipelines Manage Azure Pipelines. Create your first pipeline
az pipelines agent Manage agents. Azure Pipelines agents
az pipelines build Manage builds. Create your first pipeline
az pipelines build definition Manage build definitions. Create your first pipeline
az pipelines build tag Manage build tags. Use predefined variables
az pipelines folder Manage folders for organizing pipelines. Customize your pipeline
az pipelines pool Manage agent pools. Agent pools
az pipelines queue Manage agent queues. Agent pools
az pipelines release Manage releases. Releases in Azure Pipelines
az pipelines release definition Manage release definitions. Releases in Azure Pipelines
az pipelines runs Manage pipeline runs. Pipeline run sequence
az pipelines runs artifact Manage pipeline run artifacts. Publish and download artifacts in Azure Pipelines
az pipelines runs tag Manage pipeline run tags. Add tag to pipeline run
az pipelines variable Manage variables. Define variables
az pipelines variable-group Manage variable groups. Add and use variable groups
az pipelines variable-group variable Manage variables in a variable group. Manage variables in a variable group

Azure Repo references

Azure Repos has the following references:

Reference Description More information
az repos Manage Azure Repos. Get started with Git from the command line
az repos import Manage Git repositories import. Import a Git repo
az repos policy Manage branch policies. Git repository settings and policies
az repos policy approver-count Manage approver count policy. Branch policies
az repos policy build Manage build policies. Build validation
az repos policy case-enforcement Manage case-enforcement policy. Git repository settings and policies
az repos policy comment-required Manage comment-required policy. Create, view, and manage pull requests
az repos policy file-size Manage file size policies. Git repository settings and policies
az repos policy merge-strategy Manage merge strategy policy. Improve code quality with branch policies
az repos policy required-reviewer Manage required reviewer policies. Improve code quality with branch policies
az repos policy work-item-linking Manage work item linking policy. Improve code quality with branch policies
az repos pr Manage pull requests. Create, view, and manage pull requests
az repos pr policy Manage pull request policies. Improve code quality with branch policies
az repos pr reviewer Manage pull request reviewers. Improve code quality with branch policies
az repos pr work-item Manage work items associated with a pull request. Create, view, and manage pull requests
az repos ref Manage Git references. Manage branches

See also