cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Responsive Resident
Responsive Resident

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
Highlighted
Community Support
Community Support

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.

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

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.

View solution in original post

Highlighted
Responsive Resident
Responsive Resident

Re: Save email attachments from shared mailbox to SharePoint online

That did the trick, thank you

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (10,021)