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.

View solution in original post

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.

View solution in original post

SCTdan
Level 8

Re: Save email attachments from shared mailbox to SharePoint online

That did the trick, thank you

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

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 Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 197 members 5,002 guests
Recent signins:
Please welcome our newest community members: