cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AaronRobinson
Regular Visitor

Image attachments not displaying when uploaded to SharePoint.

 

Apologies if this has already been covered but I'm trying to set up a Flow that creates a SharePoint list item with the contents of an email and adds any attachments to the list item also.

 

I've got it to create the item with the email subject and body and attach any email attachments but the problem I'm having is that if the attachment is an image file (png, bmp etc), it fails to open.

 

I've read that it's to do with how the content data is saved but struggling to find a solution for SharePoint. Any help is greatly appreciated.

Failed to open.PNGFlow.PNG

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @AaronRobinson,

 

Please make sure that the email contains an attachment and set the trigger to include the attachment to trigger, like:

24.PNG

Or you could determine if the email contains an attachment, and if it does, execute Add attachment action.

25.PNG

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-bacao-msft
Community Support
Community Support

Hi @AaronRobinson,

 

You could replace Dynamic content populated in File Content with Attachments Content.

Current Item contains all the information contained in the item, and the padding here is invalid.

Image reference:

1.PNG

Please take a try again.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Barry,


Thank you for your reply - I then receieve an error when I run the flow. Please see below.

FlowError.PNG

FlowError2.PNG

 

 

Hi @AaronRobinson,

 

Please make sure that the email contains an attachment and set the trigger to include the attachment to trigger, like:

24.PNG

Or you could determine if the email contains an attachment, and if it does, execute Add attachment action.

25.PNG

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Thanks Barry - it was the 'include attachments' option I was missing!

 

Apologies and thank you again! 🙂

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,469)