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.
Login now to access my digest by 365.Training