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 / I need help with addin...
Power Automate
Answered

I need help with adding attachments from Emails to Sharepoint (Power Automate)

(0) ShareShare
ReportReport
Posted on by 17

Hello.

 

I want to make a flow that helps me to add attachments to a Sharepoint List or Folder. My issue is that the attachment added to Sharepoint is 4 bytes instead of the actual size. I made a 'compose' control before adding the attachments, and the size is correct, but the file added to Sharepoint is simply rubbish. Is there something I may be doing wrong?

fjpeced19_0-1684751344022.pngfjpeced19_1-1684751375246.png

 

 

Kind regards,

Fernando

Categories:
  • adinhudson1 Profile Picture
    24 on at

    Hi @fjpeced19 ,

     

    Try the below method to get the results. Please use when an email arrives action to get the attachment file content and name then create a file in SharePoint using those data.

    adinhudson1_0-1684756657553.png

     

  • fjpeced19 Profile Picture
    17 on at

    Hi @adinhudson1. Thank you. But, this is what I am doing. I just added the compose action to see if my files were corrupted, but they were okay. For some reason, Power Automate is not adding the attachment to SharePoint.

  • adinhudson1 Profile Picture
    24 on at

    Hi @fjpeced19 ,

     

    Could you please show me your flow by attaching a screenshot so, it gives a clear picture. And also please note the file type you are trying to copy. Thank you. File size might also be a reason your file is getting corrupted.

  • fjpeced19 Profile Picture
    17 on at

    Hi @adinhudson1 

     

    See, even the most straightforward example does not work: 

    fjpeced19_0-1684929518099.png

    Regards,

    Fernando

  • fjpeced19 Profile Picture
    17 on at

    fjpeced19_1-1684929669976.png

     

  • Verified answer
    fjpeced19 Profile Picture
    17 on at

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard