cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SCTdan
Continued Contributor
Continued Contributor

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
v-yamao-msft
Community Support
Community Support

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
v-yamao-msft
Community Support
Community Support

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
Continued Contributor
Continued Contributor

That did the trick, thank you

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,918)