Azure / azure-cli

Azure Command-Line Interface
MIT License
3.91k stars 2.88k forks source link

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

Open CybercrawlerS opened 2 weeks ago

CybercrawlerS commented 2 weeks ago

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

yonzhan commented 2 weeks ago

Thank you for opening this issue, we will look into it.