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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / File Attachments from ...
Power Automate
Suggested Answer

File Attachments from Sharepoint List sent on Outlook Email failing to open.

(0) ShareShare
ReportReport
Posted on by 2
Hi everyone, 
 
I'm having some issues on the file attachments sent via the email output of my flow.
 
The Goal:
- When a response with file attachment from MS Forms is received. A new sharepoint item in a list is created storing the responses details and files.
- When the new sharepoint item is created, an email will be sent containing the Item information with the file Attachments.
 
Situation:
- The sharepoint list is able to store the response data and can open the file attachments. 
- I added a variable array so that multiple file attachments can be accommodated.
- The output emails are sent along with the response information, but the File Attachments can't be opened and shows corrupted file errors.
 
below are screenshots of the flow.
 
 
Can someone help me please.
I have the same question (0)
  • Suggested answer
    Kalathiya Profile Picture
    2,463 Super User 2026 Season 1 on at
    Hello @JN-05010345-0
     
    I have just reviewed your issue. You don’t need to use concat, you can pass it directly like this.: 
     
     
    {
      "Name": @{items('Apply_to_each')?['DisplayName']},
      "ContentBytes": @{body('Get_attachment_content')}
    }
    then just pass attachment array variable in email action: 
     

    Please try this and let me know if you face any issues. If it solves your problem, please mark it as the verified answer.

     
    📩 Need more help? Mention @Kalathiya anytime!
    ✔️ Don’t forget to Accept as Solution if this guidance worked for you.
    💛 Your Like motivates me to keep helping.
  • JN-05010345-0 Profile Picture
    2 on at
     
    When I entered the suggested code, Power Automate states that the expression has a problem.
     
     
    I tried fixing it with Copilot. This is the new expression it created.
     
    It still didn't work and now has an error message.
     
    Any other suggestions?
  • Kalathiya Profile Picture
    2,463 Super User 2026 Season 1 on at
    @JN-05010345-0, Please let me know if this solution worked for you. If yes, kindly mark it as the verified answer so other community members can use it as well. If not, feel free to tag me for further assistance.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 248 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 204

#3
Haque Profile Picture

Haque 179

Last 30 days Overall leaderboard