Azure / Azure/azure-cli

Azure CLI lab command doesn't work in latest release(2.0.72)

Open
#10,494 1 comment 0 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad Devtestlab Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

I updated the Azure CLI recently to version 2.0.72 and now my scripts that creates DevTestLab VMs and apply artifacts don't work. I get the following error:

az : Command group 'lab' is in preview. It may be changed/removed in a future release.

An example command that worked previously but fails now is the following:

az lab vm apply-artifacts --lab-name 'OPX-Dev-Test-Lab' --name opx-azure-01 --resource-group 'OPX-VHDs' --artifacts '@\\officefile\public\cowen\AzureDeplomentScripts\removeAgent.json'

On another machine where I have an earlier version of the CLI (v. 2.0.64), the exact same command above works. Seems like something has been broken or changed for the 'lab' command in the latest version of the CLI

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.