cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Save email attachments from shared mailbox to SharePoint online

Hi all,

 

I've been trying to create a flow to save email attachments from a shared mailbox to SharePoint online, but something is wrong. Here's a screenshot of my flow:

 

Flow.png

 

I thought this would be enough to make it work, but I'm getting this error message:

 

flow-error.png

 

Any idea of what am I doing wrong? It's worth to mention that the attachment file is a pdf.

1 ACCEPTED SOLUTION

Accepted Solutions

Hi again

THere is a similar description in this thread, it is suggested to mark the following fields in the trigger:

"Has Attachment" = Yes

"Include Attachment" = Yes

https://powerusers.microsoft.com/t5/I-Found-A-Bug/Error-at-Mail-attachment-file-to-create-a-file-in-...

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

6 REPLIES 6
Dual Super User III
Dual Super User III

Hi!
I usually recommend to add one or more Compose action block before the failed action block, and assign it the dynamic content of the susoicious inputs (in your case Name and Content). This way, after flow execution you can go to "Run history" and inspect the content of these elements; in order to make sure it matches your expectations
Hope this helps


Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Hi @efialttes, thanks for your reply!

 

Microsoft Flow is kind of a new thing for me. Would you mind explaining how can I accomplish that?

Sure! Compose action block was first documented in this post:

https://flow.microsoft.com/es-es/blog/build-advanced-flows/

 

You can add it inside the Apply To Each loop before the action that is failing (Create File), assigning as Inputs the suspicious outputs from email attachments you are using to build the Create File action block (Name / Content)

Compose.png

In order to inspect a specific Flow execution, you must click on "My Flows", select the Flow you want to inspect. THis will lead you to the flow details page (first documented in https://flow.microsoft.com/en-us/blog/error-handling/ ). 

 

GenericRunHistory.png

Once you select a specific Flow execution, you will be able to inspect the execution details; and also have the posibility to re-execute the Flow.

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Advocate I
Advocate I

Is there any fix to this problem yet I get the same error

Hi again

THere is a similar description in this thread, it is suggested to mark the following fields in the trigger:

"Has Attachment" = Yes

"Include Attachment" = Yes

https://powerusers.microsoft.com/t5/I-Found-A-Bug/Error-at-Mail-attachment-file-to-create-a-file-in-...

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

@efialttes YES! Now it's working! Thank you sooo much!

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (8,866)