Skip to content

TooManyExtensionProviders #23796

@auwi987

Description

@auwi987

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"
image

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??

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamComputeaz vm/vmss/image/disk/snapshotOKR CandidateThis label is used to track how many GitHub issues we have resolved for OKR purpose.customer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe 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