Skip to main content

I am curious if anyone has seen this issue before. Working with a customer that is processing hundreds of Excel files for daily rate changes. The files are all in OneDrive, which is exposed to the bot account under C:\Users\BotAccount\CompanyName\etc.\etc. The bot is receiving an error pop-up about 30% of the time when closing and saving the excel file. The error states OneDrive was unable to merge the changes to the file, and gives you two options to resolve the file conflict: Open in Office and Merge Changes or Keep Both Files.

The bot is using Excel Advanced actions. I have added a pretty long delay between processing of different items, but that does not seem to affect it any; the percentage of failures is about the same. So I am curious before I start down a OneDrive rabbit hole if anyone has ever seen something similar.

It might help to disable the live sync (file cooperation or what it’s called in OneDrive nowadays) if you haven’t already tested it. That way it should only save the file when you close it. You might still get other sync errors, but they should be more manageable.


Hi, thanks for the response. I paused sync altogether as a test, but then the bot could not open the files. I am looking around this morning for a live sync only setting, to see if that behaves any differently.

 

Edit: Other than the option to pause sync altogether, I am not seeing any other live sync option in either the OneDrive app or the Excel file settings themselves


Just tested in OneDrive client from my end, and I have the setting available in “advanced settings”. Might be a different setup on your M365 tenant that results in not having the option.
I found some documentation from MS about the matter here: https://learn.microsoft.com/en-us/sharepoint/use-group-policy?redirectSourcePath=%252farticle%252f8a409b0c-ebe1-4bfa-a08e-998389a9d823#coauthor-and-share-in-office-desktop-apps


I am curious if anyone has seen this issue before. Working with a customer that is processing hundreds of Excel files for daily rate changes. The files are all in OneDrive, which is exposed to the bot account under C:\Users\BotAccount\CompanyName\etc.\etc. The bot is receiving an error pop-up about 30% of the time when closing and saving the excel file. The error states OneDrive was unable to merge the changes to the file, and gives you two options to resolve the file conflict: Open in Office and Merge Changes or Keep Both Files.

The bot is using Excel Advanced actions. I have added a pretty long delay between processing of different items, but that does not seem to affect it any; the percentage of failures is about the same. So I am curious before I start down a OneDrive rabbit hole if anyone has ever seen something similar.

Did you get to the bottom of this issue? I am facing exactly the same problem.


Unfortunately, I did not. We enacted a work around of storing files locally in a non-published folder and then uploading on a regular basis. 


Reply