web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error message in Share...
Power Automate
Answered

Error message in SharePoint check out file output

(0) ShareShare
ReportReport
Posted on by 1,934 Moderator

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

 

Categories:
I have the same question (0)
  • Verified answer
    CFernandes Profile Picture
    8,482 Most Valuable Professional on at

    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.

  • annetoal Profile Picture
    1,934 Moderator on at

    Worked perfectly. Thank you so much.

     

    Anne

  • CFernandes Profile Picture
    8,482 Most Valuable Professional on at

    Hey @annetoal I am that my inputs helped 😊

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard