If you have already signed in with az login interactively or if you're using a user name and password, you're not required to provide a token because the az devops commands now support sign-in through az login.
Yes, I know, you are not supposed to use npm login, you have to follow these steps. But... why? Isn't the whole purpose of the npm login command to handle this kind of stuff? Why doesn't it work?
Awesome! Looking forward to this extension. However, Azure CLI does support an interactive mode which places you in an interactive shell with auto-completion, command descriptions, and examples.
Have a look at -us/cli/azure/interactive-azure-cli?view=azure-cli-latest
Hi John,
Sorry to hear that the client version is not being refreshed properly using the download and install method. It did work for me when I tried to move from 2.0.48 to 2.0.52. Are you still facing this issue?
You can run the azure devops extension on cloud shell ( ) as well.
Thanks,
George Verghese.
If the CLI can open your default browser, it will do so and load a sign-in page. Otherwise, you need to open abrowser page and follow the instructions on the command line to enter an authorization code after navigating to in your browser. For more information, see theAzure CLI login page.
For each deployment, your workflows must use cloud login actions (or custom scripts) that fetch the OIDC token and present it to your cloud provider. The cloud provider then validates the claims in the token; if successful, it provides a cloud access token that is available only to that job run. The provided access token can then be used by subsequent actions in the job to connect to the cloud and deploy to its resources.
If you want to check if you are logged in and have a connection, run the commands az account show -o jsonc and az devops project list -o jsonc. You should see a JSON response. Not working? See Connection problems.
df19127ead