az lab create vm
command fails with "The system cannot find the file specified." error
#24233
Labels
Auto-Assign
Auto assign by bot
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
CXP Attention
This issue is handled by CXP team.
Devtestlab
az lab
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
This is autogenerated. Please review and update as needed.
Describe the bug
The command works in Azure CLI 2.40 but fails in 2.41
Command Name
Errors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
We have a PowerShell script that executes this CLI command to create a DevTest lab VM from an existing custom image.
When run under Azure CLI 2.40, it succeeds but it fails when using CLI 2.41.
This script is part of an Azure DevOps pipeline and started failing when the hosted Azure Pipelines agents were updated to Azure CLI 2.41 recently.
I have no idea what file it is referring to in the error.
Expected Behavior
The specified VM is created in the DevTest Lab
Environment Summary
Additional Context
The text was updated successfully, but these errors were encountered: