$ az storage blob list --container {}
This command has been deprecated and will be removed in future release. Use 'az storage fs file list' instead. For more information go to https://github.com/Azure/azure-cli/blob/dev/src/azure-cli/azure/cli/command_modules/storage/docs/ADLS%20Gen2.md
The behavior of this command has been altered by the following extension: storage-preview
[
...
]
Extension name (the extension in question)
storage-preview
Description of issue (in as much detail as possible)
When running az storage blob list a warning is generated indicating that the command is deprecated and that az storage fs file list should be used instead (as shown above).
This is incorrect as az storage fs is for Azure Data Lake Gen2 and az storage blob is for standard blob storage. I am currently interacting with a StorageV2 account without hierarchical namespaces enabled so I cannot use az storage fs file list.
Trying to use az storage fs file list generates the following error: This endpoint does not support BlobStorageEvents or SoftDelete. Please disable these account features if you would like to use this endpoint.
Note that the output JSON generated from az storage blob list has also changed (not sure if this is due to the extension or not). Between Azure CLI 2.41.0 and 2.42.0, az storage blob list no longer contains the container field (there may be other differences as well).
Version info
$ az version
{
"azure-cli": "2.43.0",
"azure-cli-core": "2.43.0",
"azure-cli-telemetry": "1.0.8",
"extensions": {
"storage-preview": "0.7.4"
}
}
Note: this issue first occurred in Azure CLI 2.42.0 (and I've confirmed that it does not exist in 2.41.0).
Environment
Ubuntu 20.04.5 LTS running in WSL2: 5.10.102.1-microsoft-standard-WSL2
Related command
Extension name (the extension in question)
storage-preview
Description of issue (in as much detail as possible)
When running
az storage blob list
a warning is generated indicating that the command is deprecated and thataz storage fs file list
should be used instead (as shown above).This is incorrect as
az storage fs
is for Azure Data Lake Gen2 andaz storage blob
is for standard blob storage. I am currently interacting with a StorageV2 account without hierarchical namespaces enabled so I cannot useaz storage fs file list
.Trying to use
az storage fs file list
generates the following error:This endpoint does not support BlobStorageEvents or SoftDelete. Please disable these account features if you would like to use this endpoint.
Note that the output JSON generated from
az storage blob list
has also changed (not sure if this is due to the extension or not). Between Azure CLI 2.41.0 and 2.42.0,az storage blob list
no longer contains thecontainer
field (there may be other differences as well).Version info
Note: this issue first occurred in Azure CLI 2.42.0 (and I've confirmed that it does not exist in 2.41.0).
Environment
Ubuntu 20.04.5 LTS running in WSL2: 5.10.102.1-microsoft-standard-WSL2