cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
SCTdan
Level 8

Save email attachments from shared mailbox to SharePoint online

I'm having issues with uploading attachments to sharepoint from a shared mailbox.  All the solutions I've seen say to select 'Has Attachments: Yes', but my flow needs to be able to process emails both with and without attachments.  

 

As you can see below, I have no options for the 'File Content' field.  If I click 'show more' from 'When a new email arrives in a shared mailbox' and choose 'Attachment Content', it will take it, but it will error out when running (error in screenshot).

 

I can't actually save the file until I've gotten the ticket number via api response (directly before the 'has attachment' condition).

 

tWc91j0

 

SCVtic1BixoVPF

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Save email attachments from shared mailbox to SharePoint online

Hi @SCTdan,

 

Before the action Create file, please add an Outlook 365 action Get attachments. Then in the File content field of the action Create file, use dynamic content Body of Get attachments.

 

I have made the following test on my side and it works fine.

 

1.PNG2.PNG

Please take it for a reference and try it on your side.

 

 

Best regards,

Mabel Mao

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

Re: Save email attachments from shared mailbox to SharePoint online

Hi @SCTdan,

 

Before the action Create file, please add an Outlook 365 action Get attachments. Then in the File content field of the action Create file, use dynamic content Body of Get attachments.

 

I have made the following test on my side and it works fine.

 

1.PNG2.PNG

Please take it for a reference and try it on your side.

 

 

Best regards,

Mabel Mao

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

Re: Save email attachments from shared mailbox to SharePoint online

That did the trick, thank you

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 287 members 2,822 guests
Please welcome our newest community members: