Hello Saurabh Suman,
There are some places to pay attention to in the Azure CLI command of Windows 10 VM. First of all, there are some syntax errors in your command. For example, VNET-Subnet should be VNet-Name <Virtual Network Name>-SUBNET <subnet name>. In addition, -Image 'Windows' requires a specific Windows 10 image name. Please refer to the following commands:
az vm create \
--resource-group myResourceGroup \
--name myVM \
--image MicrosoftWindowsDesktop:Windows-10-Enterprise:version:20h2-pro:2021.04.12 \
--admin-username myAdminUser \
--admin-password mySecurePassword \
--vnet-name myVNet \
--subnet mySubnet \
--nsg myNetworkSecurityGroup \
--public-ip-address "" \
--security-type Standard
Please note that the above URN is a fictional example, not the real Windows 10 image URN. The actual URN shall be obtained through the AZ VM Image List command.
You can use the following command:
az vm image list --offer Windows-10-enterprise --all --output table.
Best Regards,
Yanhong Liu
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.