Skip to content

az vm creation fails whilst using "--patch-mode" #29206

@CybercrawlerS

Description

@CybercrawlerS

Describe the bug

Using the "--patch-mode" to "Manual" whilst creating a Azure Windows VM is producing 'windowsConfiguration' error.

Related command

az vm create --resource-group $resourceGroup --name $clusterPrefix --image $image$imageVersion --subnet $subnet --size Standard_D16ads_v5 --os-disk-name $clusterPrefix-OS-DISK --os-disk-size-gb 256 --storage-sku Premium_LRS --admin-username $username --admin-password $password --patch-mode Manual --private-ip-address $ip

Errors

'windowsConfiguration'

Issue script & Debug output

debug-logs.txt

Expected behavior

Create VM without any issues

Environment Summary

{
"azure-cli": "2.61.0",
"azure-cli-core": "2.61.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {
"azure-devops": "1.0.1"
}
}

Additional context

No response

Metadata

Metadata

Labels

Auto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamComputeaz vm/vmss/image/disk/snapshotcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.potential-pruningquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions