Thanks for reaching out. Yes, your understanding is correct. Azure Logic Apps does not natively support copying entire directories from SharePoint to ADLS2. Instead, you can use a recursive approach to loop through folders and copy files individually. Here's a more detailed breakdown of the steps you could try:
- Trigger: Use a Recurrence trigger or an HTTP trigger to start the workflow.
- Get Folder Contents: Use the "List Folder" action in SharePoint to retrieve files and subfolders from the specified directory.
- Loop through Items:
- If the item is a file and ends with
.xlsb
, use the "Get File Content" (SharePoint) action and upload it to ADLS2 using "Create Blob." - If the item is a folder, recursively call the same logic to process its contents.
- If the item is a file and ends with
For large and complex data movements, Azure Data Factory (ADF) is indeed a better choice. ADF supports:
- Copy Data Activity with the SharePoint connector for efficient file transfer.
- A recursive pipeline to traverse and copy files from deeply nested folder structures.Yes, your understanding is correct.
Hope this helps. Do let us know if you have any further queries.
If this answers your query, do click Accept Answer and Yes for "Was this answer helpful." And if you have any further questions, let us know.