enable-auto-update, Error: WindowsConfiguration
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62
**Describe the bug**
Enable-auto-update is incompatible with some Win Images
**To Reproduce**
```
myRG="wenl-rdsm-dev-rg-00"; \
myImage="MicrosoftWindowsServer:WindowsServer:2019-datacenter-smalldisk-g2:latest"; \
az vm create -n deleteme01 -g ${myRG} --image ${myImage} \
--admin-username superadminlocal \
--admin-password MyPA$$W00rd \
--enable-auto-update true
```
**The error:**

**Solution 1: Remove enable-auto-update**
If you remove the last line works fine:

(Note: put enable-auto-update false, won't solve the problem)
**Solution 2: Choose other window image (Windows desktop)**
Other images support this option: "MicrosoftWindowsDesktop:Windows-10:21h1-evd-g2:latest"
**Expected**
* In the [manual](https://docs.microsoft.com/en-us/cli/azure/vm?view=azure-cli-latest#az_vm_create) there is not reference about this incompatibility
* The Error msg is not too clear
**Environment summary**
```
azure-cli 2.27.2
Python (Linux) 3.6.10
```
**Additional context**
Contributor guide
Assessment
This issue has not been assessed yet.