Joost
Joost

Reputation: 1913

Loop through all containers in a blob storage container with ADF

I want to loop through all containers in a blob storage account with Azure Data Factory. (Because all data supplying parties have their own container but with the same files). The number of containers will increase during time.

Any suggestions?

Upvotes: 4

Views: 1558

Answers (1)

Jay Gong
Jay Gong

Reputation: 23792

Your need could be implemented by Get Metadata Activity simply.

Create DataSet based on your Blob Storage Account Linked Service and don't set any container name.

enter image description here

Then use Get Metadata Activity to get all container names in your account.

enter image description here

Output:

enter image description here

Upvotes: 2

Related Questions