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

Save attachment to sharepoint not working every time

Hi, 

I have a very simple flow : for each attachment (with a filter on object) , i save the file on a sharepoint folder.

 

The problem is when i get the mail , nothing happen. BUT , if i forward the mail to myself, with the same object , then the flow trigger and save the file to sharepoint ...

 

Why ? i can't figure why it's working when i forward it, but not when i get the first mail...

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User III
Dual Super User III

Not sure why this would work on Forwards but not on direct. Maybe the trigger fires because you are both sending and recieving. But it doesn't look like you've actually selected your Inbox as the incoming folder.  Without that I don't think the trigger will actually fire correctly when you receive the email.  Not entirely sure since my French is terrible. But it looks unconfigured.  Compare that to to the following screenshot.

screenshot.png



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

9 REPLIES 9
Dual Super User III
Dual Super User III

Have you checked the previous runs when the attachments aren't being processed to see what is happening?



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Yes, but there is no failed run ; that's why it's hard to investigate. It just not trigger.

Dual Super User III
Dual Super User III

But if you look at one of the successful runs for the directly emailed messages you should be able to see the loop that processes the attachments.  That would be the place to start to see what is going wrong.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

That's the point, i never had a successful run with directly emailed message. Only the forwarded ones .

Dual Super User III
Dual Super User III

If you've never had a successful run with the direct messages then its something about the trigger.  Can you post a screenshot of the trigger you are using?



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

flow.PNG

Dual Super User III
Dual Super User III

Not sure why this would work on Forwards but not on direct. Maybe the trigger fires because you are both sending and recieving. But it doesn't look like you've actually selected your Inbox as the incoming folder.  Without that I don't think the trigger will actually fire correctly when you receive the email.  Not entirely sure since my French is terrible. But it looks unconfigured.  Compare that to to the following screenshot.

screenshot.png



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Thank you, i just set the inbox folder ; I'll get back here tomorrow to say if it works

 

Sorry for this begginer mistake

 

It worked ! thank you for the help .

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Users online (12,147)