Working with Azure DevOps Server 2019 with Azure CLI

Asked 2 years ago, Updated 2 years ago, 54 views

I would like to access Azure DevOps Server 2019 using Azure CLI.
However, for Microsoft Docs:Azure CLI,

The Azure DevOps Command Line Interface (CLI) is available for Azure DevOps Server 2020 and Azure DevOps Services.

It says .
So how do people using DevOps 2019 operate from the command line?

azure

2022-09-29 20:25

1 Answers

Someone was thinking something similar.
[Bug] vsts-cli tool does not work with (onprem) Azure DevOps Server 2019 SP1.1;self-signedcertificate#323

So I followed Microsoft Docs:Azure CLI and it worked.

To start using the Azure DevOps extension for Azure CLI, perform the following steps:

I tried signing in below and it worked.
Tokens can be created as they are in MS Docs.

$az devops login --organization http://FooBar:8080/tfs/FooBarCollection
Token: xxxxxxxx

After that, I ran the appropriate command az pipelins list-p FooBarProject to see the results, so
We have determined that Azure CLI is also available on-premise Azure DevOps Server 2019.


2022-09-29 20:25

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.