Skip to content

Depracated blob features not supported #25298

@ElectricLlama

Description

@ElectricLlama

I need to search for a file using wildcards. All documentation indicates this is not supported by ADLS Gen 2, and to use the blob API instead.

When I use az storage blob directory list to search for a file, I get this message:

This command is implicitly deprecated and because command group 'storage blob directory' is deprecated and will be removed in a future release. Use 'az storage fs directory' instead

Going by the docs, az storage fs directory list does not support two items of functionality:

  • It only lists directories, not files
  • It doesn't support "prefix search" on files, in fact no fs functions do.

Can you explain why this command is being deprecated when there is no other command to replace it.

ADLS Gen2 wildcard search is a glaring gap in functionality (it's not even supported in Storage Explorer)

My use case is that I have millions of files in a single folder and I need to find and download one of them, but I don't have container level access, only folder level access. Therefore I can't use az storage fs file list since it will return an enormous JSON file


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamService AttentionThis issue is responsible by Azure service team.Storageaz storageact-codegen-extensibility-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe 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