az devops project

Manage team projects.

Commands

az devops project create Create a team project.
az devops project delete Delete team project.
az devops project list List team projects.
az devops project show Show team project.

az devops project create

Create a team project.

az devops project create --name
[--description]
[--detect {false, true}]
[--open]
[--org]
[--process]
[--source-control {git, tfvc}]
[--visibility {private, public}]

Required Parameters

--name

Name of the new project.

Optional Parameters

--description -d

Description for the new project.

--detect

Automatically detect organization.

accepted values: false, true
--open

Open the team project in the default web browser.

--org --organization

Azure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/.

--process -p

Process to use. Default if not specified.

--source-control -s

Source control type of the initial code repository created.

accepted values: git, tfvc
default value: git
--visibility

Project visibility.

accepted values: private, public
default value: private

az devops project delete

Delete team project.

az devops project delete --id
[--detect {false, true}]
[--org]
[--yes]

Required Parameters

--id

The id of the project to delete.

Optional Parameters

--detect

Automatically detect organization.

accepted values: false, true
--org --organization

Azure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/.

--yes -y

Do not prompt for confirmation.

az devops project list

List team projects.

az devops project list [--continuation-token]
[--detect {false, true}]
[--get-default-team-image-url {false, true}]
[--org]
[--skip]
[--state-filter {all, createPending, deleted, deleting, new, unchanged, wellFormed}]
[--top]

Optional Parameters

--continuation-token

Continuation token. This can be retrived from previous run of this command if more results are present.

--detect

Automatically detect organization.

accepted values: false, true
--get-default-team-image-url

Whether to get default team image url or not.

accepted values: false, true
--org --organization

Azure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/.

--skip

Number of results to skip.

--state-filter

State filter.

accepted values: all, createPending, deleted, deleting, new, unchanged, wellFormed
default value: all
--top

Maximum number of results to list.

az devops project show

Show team project.

az devops project show --project
[--detect {false, true}]
[--open]
[--org]

Required Parameters

--project -p

Name or ID of the project. You can configure the default project using az devops configure -d project=NAME_OR_ID. Required if not configured as default or picked up via git config.

Optional Parameters

--detect

Automatically detect organization.

accepted values: false, true
--open

Open the team project in the default web browser.

--org --organization

Azure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/.