Moving pdf files from Sharepoint to Blob Storage Container using Logic Apps

I have created a flow where I am attempting to access the following path: “https://cactuscompany.sharepoint.com/sites/dataengineering”. Within this path, there is a library named “Documents.” Inside the “Documents” library, there are multiple folders like “Pfizer,” “Roche,” “AstraZeneca,” etc. Each company folder contains both files and subfolders, and each subfolder has its own set of files.

My objective is to copy the PDF files from these folders and subfolders to a blob container. The files should be placed in the blob container without retaining the folder structure, only the files themselves…

enter image description here

However, the current flow only retrieves the list of folder names without including the files. what am I missing?

enter image description here

Leave a Comment