cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
FlorentP
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
Pstork1
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
Pstork1
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.
FlorentP
Frequent Visitor

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

Pstork1
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.
FlorentP
Frequent Visitor

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

Pstork1
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.
FlorentP
Frequent Visitor

flow.PNG

Pstork1
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

FlorentP
Frequent Visitor

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
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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,181)