Azure Logic App is not working when trying to transfer a file from OneDrive to Blob Storage more the 50MB

2022-03-02T12:38:39.95+00:00

The Azure Logic App is not working as expected when we are trying to transfer a file from OneDrive or SPO to BLOB Storage container if the file size is above 50 MB.

The run history section didn't show any detail of such failed flow.

We have tried to implement chunking by adding Range bytes=0-1023 (as prescribed by MS Azure helps https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-handle-large-messages) but still, it is not working.

How can this situation be handled in Logic App to transfer files of any size from SPO or One drive to the Azure BLOB Storage?

If it is not possible by using Logic App then how such a requirement can be catered to alternatively using Azure services.

Following are the files attached for reference of workflow :

179210-logicappworkflow.png

Following is the screenshot of the run history showing no failed transaction:

179312-runhistory.png

Following is the Blob Storage linked in the workflow containing files of size less than 50 MB:

179239-blobcontainerdetail.png

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

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,986 Reputation points Moderator
    2022-03-03T11:14:40.19+00:00

    @Sukanta Bhattacharyya - Personal Thanks for reaching out. Unfortunately, When a file is created action will be skipped file greater than 50 MB as documented here.
    Further, I don't see azure data factory having any one drive connector that can help you with your use case.

    This operation triggers a flow when a new file is created in a folder. Files larger than 50 MB will be skipped and not returned by this trigger. Files moved within OneDrive are not considered new files.

    I can see that Graph API does have the API to communicate with one drive and I don't see any limitation that is documented. You can explore the graph API if this can be used with your scenario to get the file greater than 50 MB. Looking into the One drive REST API document I can see this may help to retire the file where you need to write your own custom logic to get the data from one drive and uploaded it to the Azure storage account.

    Alternatively, you can leverage the HTTP Native connector in logic app workflow to create any HTTP request and you can follow the One drive REST API document on building the request as per their documentation.


Your answer

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