web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Save Conflict on Email...
Power Automate
Answered

Save Conflict on Email Attachments to SharePoint library

(0) ShareShare
ReportReport
Posted on by 13

Hourly an email with 3 attachments is sent and by rule sorted into a specific inbox folder. The flow will copy the attachments to a SharePoint library, overwriting the existing file so that only the most recent version of the data is available.  The flow is succeeding and failing.  Rerunning failed flows instances = success.  Failed runs show a Save Conflict error.  Reviewing the version history of the document I expect to see one new version every hour on the hour (or close enough.)  Instead I see gaps where there is no version (probably when the flow failed) and 2-3 versions created in the same minute. 

 

Thanks for the assistance.

Run historyRun historyerror message on failed runerror message on failed runversion history of doc shows sporadic flow activityversion history of doc shows sporadic flow activity

 

 

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    on at

    Hi Tcamozzi,

     

    Staring the flow from the “Save my email attachments to a SharePoint document library” to test this issue, I am not able to reproduce it on my side.


    I send an email with the same attachments for several times, every time the flow runs succeed and all the attachments can be saved to the library successfully.


    When checking the Version history of the files, the old version has been replaced by the latest version.

    3.PNG

     

    Please try to resubmit the run on your side. More details about resubmitting a flow, please check it at here:
    https://flow.microsoft.com/en-us/blog/managing-runs/


    Best regards,
    Mabel Mao

  • Tcamozzi Profile Picture
    13 on at

    My test also ran fine for a bit.  Then failed runs started.  I can resubmit the failed run and the flow is successful.  

     

    Since these documents are updated hourly 24/7, a manual fix isn't sufficient.    The work group that references these documents is also staffed 24/7.   I then was wondering if someone is in the document when it is being refreshed by the flow.  However in my test copy of the flow pointing to a test library that most likely no one knows about, I still get failures.  

     

     

     

  • v-yamao-msft Profile Picture
    on at

    Hi Tcamozzi,

     

    Please provide your Flow Id, I will help confirm it on my side.


    To get your Flow Id, in Edit mode, copy and paste the URL at here.

     

    Best regards,
    Mabel Mao

     

  • Tcamozzi Profile Picture
    13 on at
  • Verified answer
    Tcamozzi Profile Picture
    13 on at

    We figured out that the end user was forwarding (not moving) the email from his inbox into a folder.  Consquently the flow was running on each instance of the email (so twice) and causing file writing conflicts in the library.   We updated the flow to look for and ignore any emails with FW: in the subject line.  Now it is running consistently without save conflicts.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 307 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 269 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 115 Super User 2026 Season 1

Last 30 days Overall leaderboard