-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Related command
az vm create -g <Resource_Group_Name> -n <VM_Name> --attach-os-disk <Os_Disk_ID> --os-type "windows" -- --patch-mode "Manual"
Describe the bug
{
"status": "Failed",
"error": {
"code": "TooManyExtensionProviders",
"message": "The number of extension providers in the request URI exceeds limit. ARM supports up to 3 extension providers."
}
}
To Reproduce
I'm trying to spin up a VM from an existing managed OsDisk via Az CLI. the original VM where OsDisk previously tied up has 12 VM extensions. now the error is giving me the impression that once you spin this, any extension from the previous VM via Az CLI script will automatically be included in the VM creation. but on portal, this is not a problem because it will automatically set to "none"

Expected behavior
create a vm image using existing OsDisk
azure cli link https://docs.microsoft.com/en-us/cli/azure/vm?view=azure-cli-latest#az-vm-create
also there is no flag to set vm extension to "none"
was there any solution to this??