Skip to main content

Notifications

Power Automate - Building Flows
Answered

Outlook shared mailbox to SharePoint list with attachments - if no doc attachments skips inline attachments

(0) ShareShare
ReportReport
Posted on by

I am taking all messages sent to a shared mailbox and saving it to a SharePoint list with all attachments.

Using the 'Has Attachments' Outlook property, if there are both doc attachments and inline attachments (images in the message) they all get saved to the list item's attachments. YEAH!

But if there are only inline attachments, 'Has Attachments' returns False.

  • florianct Profile Picture
    florianct on at
    Re: Outlook shared mailbox to SharePoint list with attachments - if no doc attachments skips inline attachments

    GOT IT! 

    Don't use the "Has Attachments" condition!  Just do a for-each attachments and let it run...

    If there are no attachments: the for-each is zero.  If there are attachments it runs!

    Thanks!

  • Verified answer
    v-bacao-msft Profile Picture
    v-bacao-msft on at
    Re: Outlook shared mailbox to SharePoint list with attachments - if no doc attachments skips inline attachments

     

    Then you don't set the Has attachment field, don't do any settings to it, this will not affect the execution of Flow, and you can also get the image in the email body normally.

     

     

  • florianct Profile Picture
    florianct on at
    Re: Outlook shared mailbox to SharePoint list with attachments - if no doc attachments skips inline attachments

    Nope. I want the inline images. the problem is that Flow's "has attachment" parameter only sees the inline attachments if there is a document attachment as well. 
    This is the first step in an automated email processing and storage system.

     

  • v-bacao-msft Profile Picture
    v-bacao-msft on at
    Re: Outlook shared mailbox to SharePoint list with attachments - if no doc attachments skips inline attachments

     

    Hi @florianct ,

     

    You could consider using the following conditions to exclude images:

    116.PNG

     

    Best Regards,

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,475

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,767

Leaderboard