The sharePoint check out file connector fails if the file is locked. I've been trying to use the Send an HTTP request to SharePoint connector to get SharePoint to tell me the name of the user who has locked the file.
https://xxxxx.sharepoint.com/sites/xxx/xx/libraryName/items(@{triggerBody()?['entity']?['ID']})/File/LockedByUser
This is failing with a Page not found error. I know I have something wrong in the line above. Please help.
Thanks,
Anne
Worked perfectly. Thank you so much.
Anne
Hey @annetoal
Please try following the blog -https://www.thetindog.com/dynamics-as-we-go/identifying-sharepoint-file-locks-with-power-automate
_api/web/GetFolderByServerRelativeURL('SharepointPath')/files/getbyurl('SharepointPath/SharepointFilename')/LockedByUser
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2