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 / File locked for shared...
Power Automate
Answered

File locked for shared use won't unlock for several days

(0) ShareShare
ReportReport
Posted on by 9

Hi, 

 

I am pretty new to flow. I have built a few flows connecting to an Excel file stored in Sharepoint, and this particular flow which was scheduled to update the file once a day early in the morning to allow various Excel formulas to process (NOTE: all the other flows connected to the file are scheduled and run successfully). It worked fine but then started erroring because the file is 'locked for shared use' - by myself. No-one has been editing or even viewing the file. I tried opening and closing, checking out/in, deleting all browser caches, restarting my machine every day and it still didn't unlock. I did some more reading and built in a Do Until to keep the flow trying until the lock timed out - it just runs endlessly. Nothing has worked. The strangest thing is that the flow did succeed once 5 days ago but then failed again.

 

Here's the flow:

Flowdownhill_0-1628847795263.pngFlowdownhill_1-1628847833327.png

 

Any help would be greatly appreciated, I don't want to have to recreate the file if possible.

 

Categories:
I have the same question (0)
  • Verified answer
    Flowdownhill Profile Picture
    9 on at

    This is now fixed! I went back into the other flows that were connecting to the file and discovered that the recurrence was set to every 5 minutes for each of them, meaning that the file was constantly being accessed. I switched the recurrence to just once per day (at different times) and manually ran the flow which was failing, and it was successful. 

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 481

#2
11manish Profile Picture

11manish 278

#3
David_MA Profile Picture

David_MA 276 Super User 2026 Season 1

Last 30 days Overall leaderboard