cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

Locked for Shared Use Error When Updating File Properties

I currently have a flow that is based on the trigger: When a new response is submitted (via Microsoft Forms). Within the Form, the respondent attaches an excel file, which is placed in a Sharepoint group. There is an approval step within the flow, and at the end of the approval, if it is approved, I would like to update the file properties' approval status column to reflect that the file has been approved. Therefore, I added this at the end of the flow, if approved:

 

jasond213_0-1605551634890.png

However, when running the flow I get the following error:

 

The file "xxxx.xlsx" is locked for shared use by xxxxxx@xxxxx.com.
clientRequestId: xxxxxxx
serviceRequestId: xxxxxxx

 

How can I update the file properties/how do I make sure the file is not locked?

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

This is the way https://ibb.co/3dR35xw :

documentLocked.png

Let me know how you get on.

 

View solution in original post

4 REPLIES 4
Microsoft
Microsoft

Hi @jasond213 

 

This is by design, if another user has the file locked then Power Automate will not be able to edit it, nor its properties, if the file is getting locked then you will need to wait for a but until the file gets unlocked and you will be able to edit it.

 

Best Regards,

If this post helps you give a :thumbs_up: and if it solved your issue consider Accept it as the solution

Thank you for the reply- however, there are no other users involved. I am the one creating the file, and testing it by myself and it is not working.

Super User III
Super User III

Hi @jasond213 

 

SharePoint Connector Action step Update File Properties authenticated by which user? Is that under your account?



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials
Super User III
Super User III

This is the way https://ibb.co/3dR35xw :

documentLocked.png

Let me know how you get on.

 

View solution in original post

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (57,074)