azure-cli: `az storage account list` is not listing all storage accounts

Command Name az storage account list

this is not generating list of all the storage account, I can see the complete list in console (all 35). But in CLI output it only shows 9 results. All the storage accounts are in 35 different regions.

Environment Summary

macOS-12.3.1-x86_64-i386-64bit, Darwin 21.4.0
Python 3.10.4
Installer: HOMEBREW

azure-cli 2.36.0

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 26 (13 by maintainers)

Most upvoted comments

@shreyasHpandya Thanks for getting back. As I mentioned before, I wasn’t able to replicate this issue. I did check a few of our backend issue knowledge bases but couldn’t find any such similar issues being faced. So determining the exact cause of this issue wouldn’t be possible. Nonetheless, I am glad that the issue is now fixed. If you need any further assistance in future please feel free to report the issue and we would be happy to help.

@shreyasHpandya You need to have a minimum of Support Request Contributor permissions on your subscription to create support ticket. (only the Subscription Owner can grant you this permissions if you don’t have it) Once you have the right permissions on the subscription, you can go to the Portal and create Support ticket as shown below:

image

Else you can check with your Subscription Administrator for that. He should be able to help you to create a ticket.

The command 2 and 1 both are listing same storage accounts, other extra resources listed by command 2 are not storage accounts (they are VPCS)

also all the storage account names are 3-24 characters (even the once not listed by these commands).

These storage accounts are created by terraform. Terraform internally uses this API.

I will open a support ticket for this