Hi All,
I've created a flow that moves a file from my OneDrive to a SharePoint Document Library. In the flow, I have it deleting the file after it has been moved. For some reason, it wouldn't delete the file. When I run the flow I get an error message that states "The resource you are attempting to access is locked". What may I be doing wrong?
Hi @dreaves1,
The delay should get you around this issue as @Jcook points out. The following discusses delaying a Flow:
https://docs.microsoft.com/en-us/power-automate/run-scheduled-tasks
Thanks for letting us know if this helps resolve the issue for you.
Cheers,
Allan
Hello @dreaves1
This is from the file still being in use by Flow.
Try adding a delay action right before you delete the file.
WarrenBelz
146,658
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional