Get Filename from Azure Files with a Wildcard on Foldername

Waleed Saleem 61 Reputation points


i need the metadata from some files. These files are in a special folder at my Azure Files Storage.
How to get the folder with a wildcard and get all the containing Filenames ?

I tried the metadata activity in Azure Data Factory but its not supporting the Wildcard function.

I want copy the names into my SQL Database.

thx for the help

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,217 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,085 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 35,241 Reputation points Microsoft Employee

    @Waleed Saleem
    To list all the files in a directory you can use the Rest API List Directories and Files. You could also open the folder in Storage Explorer and Select All and Copy the information. Here is solution on Stack Overflow using PowerShell. Here is a C# sample that lists all the files and directories which also might be helpful.

    Hope this helps. Let us know if you have further questions or issues.


    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments