HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

az devops — Manage Azure DevOps organizations. Part of `azure-cli` (also known as `az`). More information: <http

Submitted by: @import:tldr-pages··
0
Viewed 0 times
az devopsorganizationscommandazuremanageclidevopspart

Problem

How to use the az devops command: Manage Azure DevOps organizations. Part of azure-cli (also known as az). More information: <https://learn.microsoft.com/cli/azure/devops>.

Solution

az devops — Manage Azure DevOps organizations. Part of azure-cli (also known as az). More information: <https://learn.microsoft.com/cli/azure/devops>.

Set the Personal Access Token (PAT) to login to a particular organization:
az devops login {{[--org|--organization]}} {{organization_url}}


Open a project in the browser:
az devops project show {{[-p|--project]}} {{project_name}} --open


List members of a specific team working on a particular project:
az devops team list-member {{[-p|--project]}} {{project_name}} --team {{team_name}}


Check the Azure DevOps CLI current configuration:
az devops configure {{[-l|--list]}}


Configure the Azure DevOps CLI behavior by setting a default project and a default organization:
az devops configure {{[-d|--defaults]}} project={{project_name}} organization={{organization_url}}

Code Snippets

Set the Personal Access Token (PAT) to login to a particular organization

az devops login {{[--org|--organization]}} {{organization_url}}

Open a project in the browser

az devops project show {{[-p|--project]}} {{project_name}} --open

List members of a specific team working on a particular project

az devops team list-member {{[-p|--project]}} {{project_name}} --team {{team_name}}

Check the Azure DevOps CLI current configuration

az devops configure {{[-l|--list]}}

Configure the Azure DevOps CLI behavior by setting a default project and a default organization

az devops configure {{[-d|--defaults]}} project={{project_name}} organization={{organization_url}}

Context

tldr-pages: common/az devops

Revisions (0)

No revisions yet.