Skip to main content

Notifications

Power Automate - Building Flows
Answered

Image attachments not displaying when uploaded to SharePoint.

(0) ShareShare
ReportReport
Posted on by

 

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

  • Re: Image attachments not displaying when uploaded to SharePoint.

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

     

    Apologies and thank you again! 🙂

  • Verified answer
    v-bacao-msft Profile Picture
    v-bacao-msft on at
    Re: Image attachments not displaying when uploaded to SharePoint.

    Hi @Anonymous,

     

    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

  • Re: Image attachments not displaying when uploaded to SharePoint.

    Hi Barry,


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

    FlowError.PNG

    FlowError2.PNG

     

     

  • v-bacao-msft Profile Picture
    v-bacao-msft on at
    Re: Image attachments not displaying when uploaded to SharePoint.

    Hi @Anonymous,

     

    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

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

Kickstarter Events…

Register for Microsoft Kickstarter Events…

Tuesday Tip #12 Start your Super User…

Welcome to a brand new series, Tuesday Tips…

Tuesday Tip #13 Writing Effective Answers…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,940

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,523

Leaderboard