Logic App copy files from sharepoint to adls, creating additional container
Hi,
I have a requirement where, whenever a file is created in a specified SharePoint folder, the same file needs to be copied to a designated folder path in Azure Data Lake Storage (ADLS). To implement this, I’ve developed an Azure Logic App workflow with the following steps:
Trigger – When a file is created in SharePoint.
Action – Retrieve the file content using the "Get File Content" action.
Action – Create a blob in ADLS using the retrieved file content, setting the blob name as the original file name with its extension.
While the workflow executes successfully, I have noticed that an additional container is being created within the same storage account. The container name appears in the format similar to:
flow<GUID><timestamp>content (e.g., flowabc12cd456cdef12202520250625t000000zcontent).
To address this, I have added extra steps in the workflow to delete these unnecessary containers. However, I would like to understand if there is a way to prevent this unintended container creation altogether, as it introduces unnecessary overhead.
Any guidance on how to avoid the creation of these containers would be greatly appreciated.
Note: I am using Logic app, stateful workflow.