Skip to content

Azure cli is throwing error when I use it to list the vms/disks #27397

@jsquire

Description

@jsquire

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

Metadata

Metadata

Labels

Auto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamComputeaz vm/vmss/image/disk/snapshotpotential-pruningquestionThe 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