Skip to main content

Notifications

Power Automate - Building Flows
Unanswered

Power Automate "Add Attachment" to SP list action cannot handle large files

(0) ShareShare
ReportReport
Posted on by 4

Hello,

My scenario is I have a "buffer" SP List the comes from migration process and I need to transfer/copy the list items to another list (where I have lookup columns etc.)

I have created a flow that works great for all columns and data types implementing the lookups and all, but when I try to transfer the attachments I get an error incase there is a large file:

 

InvalidTemplate. Unable to process template language expressions in action 'Add_attachment' inputs at line '0' and column '0': '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.'.

 

It seems that unlike "Create Attachment" for SP Library, the "Add Attachment" for SP List is not having the "Allow chunking" option in the settings and it cannot handle large files.

 

Any suggestion how can I tackle this?

 

Thanks

  • YV-13011516-0 Profile Picture
    YV-13011516-0 4 on at
    Power Automate "Add Attachment" to SP list action cannot handle large files
    Thanks David,
    The link you refer to holds good info, alas it did not help me.
    Share Point HTTP connector does not have the "Allow Chuncking" properties, and I did not succeed with connecting to SP with the Premium HTTP connector - don't know how to authenticate...
    maybe you can write an answer with example code/flow?
    I don't find any actual solutions anywhere
    Thanks
     
  • David_MA Profile Picture
    David_MA 8,929 on at
    Power Automate "Add Attachment" to SP list action cannot handle large files
    I believe this has the information you are looking for to deal with large files: Handle large messages in workflows using chunking - Azure Logic Apps | Microsoft Learn

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,445

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,741

Leaderboard