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

Community site session details

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

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,402 Most Valuable Professional on at
    Re: Error message in SharePoint check out file output

    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
    Re: Error message in SharePoint check out file output

    Worked perfectly. Thank you so much.

     

    Anne

  • CFernandes Profile Picture
    8,402 Most Valuable Professional on at
    Re: Error message in SharePoint check out file output

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 532 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 461 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 256

Last 30 days Overall leaderboard