web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Appending Sharepoint L...
Power Automate
Unanswered

Appending Sharepoint List Attachments to an array

(0) ShareShare
ReportReport
Posted on by

I'm trying to append multiple Sharepoint List attachments to an array so I can send them all in one email. I followed this tutorial. For some reason, the "ContentBytes" part of the array is null for both attachments so the send email action fails. Any suggestions? Thanks

snip1.PNG

snip2.PNG

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @Anonymous 

    Can you expand your Get Attachment Content action and post a screen shot?

     

     

  • Community Power Platform Member Profile Picture
    on at

    @ScottShearer Here you go. Thanks for your help.

    snip3.PNG

  • Verified answer
    v-bacao-msft Profile Picture
    on at

     

    Hi @Anonymous ,

     

    The file identifier displayed in the body of the Get attachment content action seems a bit strange.

    In general, the end should be the same as the file name, can you share the specific configuration of each action?

     

    I did a test on my side, flow can run normally, please check my configuration:

    64.PNG

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    on at

    Thanks @v-bacao-msft the file identifier in the Get Attachment Contents was wrong. I switched it to the identifier generated from the Get Attachments action and used 

    body('Get_attachment_contents').$content

     for the expression value for ContentBytes in the Append Array action and it worked.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard