Hi I am trying to copy files from Azure File Share in to Azure Blob Container using Standard Logic App. But I am unable to copy file more than 150 MB

Krishnan, Gurupranesh 0 Reputation points
2024-06-28T06:34:31.6+00:00

I am trying to copy files from Azure File Share in to Azure Blob Container using Standard Logic App. But I am unable to copy file more than 150 MB.

I then added "ServiceProviders.AzureFile.MaxFileSizeInBytes" and set the value to "2147483648(2 GB)" in the application settings and then I was able to copy upto 275 MB. If I choose a file over 275 MB the workflow neither copies the file nor completes or times out. I had to cancel it. I let it run for more than 20 hours. It just sits there.

Any inputs would be upreciated.

Guru

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,969 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Kamil Krawczyk 230 Reputation points
    2024-06-28T08:11:11.79+00:00

    Use chunking: Logic Apps supports chunking for large files. You can enable this feature in the file copy action settings by setting "Use chunking" to "true" and specifying the chunk size (e.g. 50 MB). This will allow copying files larger than the standard 100 MB limit. https://learn.microsoft.com/en-us/azure/logic-apps/edit-app-settings-host-settings?tabs=azure-portal#chunking

    Increase limits in application settings: You can try increasing other limits, such as:

    • Runtime.FlowRunRetryableActionJobCallback.MaximumContentLengthInBytesForPartialContent
    • Runtime.FlowRunRetryableActionJobCallback.MaxChunkSizeInBytes
    0 comments No comments