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 / Problem with multiple ...
Power Automate
Unanswered

Problem with multiple updates in a single excel file

(0) ShareShare
ReportReport
Posted on by

Hi all,

 

I'm pretty new to PA, so I'm basically scrabbling at code until it works.

 

At the moment, I'm working on a sharepoint integration. The user hits a button, it copies a folder to a different library, deletes the old one, sends an email the people who need to know, and updates an excel sheet in the folder with details about the update.

 

All of it works except the excel sheet part.

 

The sheet has two tables. One stores basic data (order number, customer name, etc) called "Basic_Detail". The second is a list where every action adds a row and adds a username and timestamp called "Order_Updates".

 

At the moment, I have the process check the file out, run the two steps, then check it back in. I was hoping this would stop the "locked for shared use" errors I was previously getting, but all it seems to have done is changed it from the old error to this:

 

 

 

{
 "status": 409,
 "message": "Graph API is unable to acquire or refresh a lock on the file because it is already locked. Please close edit sessions and try again.\r\nclientRequestId: b1de24a7-b940-4ed6-b87f-9daadb9f5abb\r\nserviceRequestId: 8b1ee0a5-6316-4902-b6c1-3f8a2b85d061",
 "error": {
 "message": "Graph API is unable to acquire or refresh a lock on the file because it is already locked. Please close edit sessions and try again."
 },
 "source": "excelonline-ukw.logic-ase-ukwest.p.azurewebsites.net"
}

 

 

 

The problem being that the process that has it locked is the flow itself. I've been trying to find ways around it but gotten nowhere with my limited understanding.

 

The problematic part flow as it stands is below (the flow itself is much larger, but the rest all works). Previously, I had it more or less identical, without the checkout/checkin steps. Only thing I've blanked are the company name. 

 

Any help on this one would be appreciated, as I really need to be able to perform both updates as part of this process.

 

Flow Error.jpg

Categories:
I have the same question (0)

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard