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 / BadRequest - Action fa...
Power Automate
Suggested Answer

BadRequest - Action failed do to locked file by user

(0) ShareShare
ReportReport
Posted on by
Hi all, 

Attempting to have Automate pull data from a table to populate corresponding columns in a document library affiliated with the file. All actions are successful until updating file properties. It says I have the file open and it's locked for shared use. This is a 'when a file is created (properties only)' trigger, so no files should be 'open'. It's a drag/drop action from the end user.

I event put a delay in the workflow to allow time for any SharePoint upload activities to close out. Thoughts?
 
Thanks!
Categories:
I have the same question (0)
  • Suggested answer
    Amardeep Raj Profile Picture
    74 on at
     
    Use the Microsoft SharePoint SharePoint connector actions Check out file before reading/updating the file and Check in file after updating properties in Microsoft Power Automate. This helps prevent the “file is locked for shared use” error during metadata updates.
     
    Please let me know if you want the detailed steps as well.
    If this resolves the issue, please mark it as a solution.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard