Update a Locked File property


Recently, there was an issue with updating a SharePoint Online file property via a Power Automate flow, resulting in a HTTP 423 Locked error message. To work around this, the sharedLockId property was used in a validateUpdateListItem HTTP request. This approach allows for updating the file property even when it is locked. The sharedLockId property can be retrieved dynamically using the vti_x005f_sourcecontrollockid property in the file properties. The flow setup involves sending HTTP requests to SharePoint to retrieve the lockedByUser and vti_x005f_sourcecontrollockid properties, and then using these properties in the validateUpdateListItem request to update the file property. This approach provides a solution for handling updates to locked files in SharePoint Online.


Article 4m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time