Keep it simple
Keep it simple

Azure Data Factory (ADF): Nested ForEach Activity

In some cases i need to loop folders and files in Azure Data Lake Storage in order to import data in the destination.

The file structure can look like:

ADLS - Folder/File Structure

That means that i need to loop this stricture with two nested ForEach Activities in ADF pipeline – one for the folders and one for the files.

The first loop:

Inside ForEach Folder i have Execute Pipeline activity:

And here is the second loop ForEach File:

Keep it simple :-)

Leave a comment

Your email address will not be published. Required fields are marked *

Time limit exceeded. Please complete the captcha once again.