Showing results for 
Search instead for 
Did you mean: 
Advocate V
Advocate V

flow created document locked

I have a flow that creates a document in a library, however the document is unreadable and it it locked so it can't be deleted or renamed. Does anyone know how to release the lock. I am using Sharepoint online and all the posts I have reviewed about unlocking the file does not work. It's as if the flow hasn't released the document. Any help is greatly appreciated.

Community Support
Community Support

Hi @barlowse,


What’s your current situation? Is the file still locked in the library?


How is your flow created? Could you share a screenshot?


I made a test to create a file in SharePoint library using Flow, the file then can be opened without issues.


Per my research, it seems that the locked file might happen under the following conditions:

  1. The Microsoft Office product crashes while you were working on the document
  2. Computer freezes or crashes while document is open
  3. Lost of network connectivity while document is open

Please check whether you have any of the above conditions. I assume that the locked file will be unlocked sometime itself.


If you are still having the issue, please feel free post back.



Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Community Champion
Community Champion

Hello, @barlowse!


Thank you for posting on the Flow Community Forum! Have you had an opportunity to apply @v-yamao-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!

Thank you for being an active member of the Flow Community!


Flow Community Manager

- Gabriel
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (3,981)