cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jasond213
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
Paulie78
Super User
Super User

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
chsanche
Community Support
Community Support

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.

abm
Super User
Super User

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
Paulie78
Super User
Super User

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

documentLocked.png

Let me know how you get on.

 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,182)