Azure / Azure/azure-cli

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

Open
#27,397 1 comment 0 reactions 2 assignees Claimed by @zhoxing-ms View on GitHub
act-observability-squad Auto-Assign Azure CLI Team Compute potential-pruning question
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

# Issue Transfer

This issue has been transferred from the Azure SDK for .NET repository, [#38665](https://github.com/Azure/azure-sdk-for-net/issues/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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.