-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Azure cli is throwing error when I use it to list the vms/disks #27397
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamComputeaz vm/vmss/image/disk/snapshotaz vm/vmss/image/disk/snapshotact-observability-squadpotential-pruningquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamComputeaz vm/vmss/image/disk/snapshotaz vm/vmss/image/disk/snapshotact-observability-squadpotential-pruningquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Issue Transfer
This issue has been transferred from the Azure SDK for .NET repository, #38665.
Please be aware that @enuguris is the author of the original issue and include them for any questions or replies.
Details
Library name and version
az cli version 2.38.0
Query/Question
When I try to list vms or disks using the azure cli command it is throwing me the below error. These commands worked fine until yesterday and today we started observing these errors. Your help to resolve this issue is greatly appreciated.
az vm list -o table
(ProviderError) Resource provider 'Microsoft.Compute' failed to return collection response for type 'virtualMachines'.
Code: ProviderError
Message: Resource provider 'Microsoft.Compute' failed to return collection response for type 'virtualMachines'.
az disk list -o table
(ProviderError) Resource provider 'Microsoft.Compute' failed to return collection response for type 'disks'.
Code: ProviderError
Message: Resource provider 'Microsoft.Compute' failed to return collection response for type 'disks'.
Environment
We are using the az cli on a RHEL 7 server