Logic App copy files from sharepoint to adls, creating additional container

Pavan Kumar Gudivada 0 Reputation points
2025-06-25T15:50:24.05+00:00

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.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,542 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.