Search code examples
sharepointazure-logic-appschunksblobstorage

How to send the Large data file from blob storage to Sharepoint in azure Logic App?


am getting Invalid Template Error, need to send the file from Blob storage to Sharepoint Createfile]

Where the file size is 109.29 MiB.

[[Error: InvalidTemplate. Unable to process template language expressions in action 'Create_file_2' inputs at line '1' and column '3144': 'The template language function 'body' cannot be used when the referenced action outputs body has large aggregated partial content. Actions with large aggregated partial content can only be referenced by actions that support chunked transfer mode.'. ]

How to send blob storage .xlsx huge file to Sharepoint when Create the file

Image of logic app: https://i.sstatic.net/lcQvH.jpg


Solution

  • Currently Sharepoint connector doesn't support transfer large files even though blob connector supports chunk files for transferring large file. You can raise your voice for feature request on this page.

    For a workaround, you can use microsoft graph api to upload the file from blob to sharepoint. Before request this api, you need to get a access token from app in azure ad and then use this access token as Authorization bear token. Here is a post which use another graph api in logic app for your reference.