I am trying to build a automate to delete sharepoint excel but it show is locked for shared use by xxx(it is myself) [membership]
Did anyone know how to solve the problem without using retry
@Expiscornovus I found the solution
https://www.cleverworkarounds.com/2021/02/21/how-to-clear-annoying-excel-file-locks-in-power-automate/ Thank you for your help
Hi @abc3,
Unfortunately, that is the nature of a file lock. Either somebody has it open and is working in the file, which means you cannot delete it. Or some process still has a handle on it (like a Word client) and you have to wait until that lock is released.
Just to double check. Is it a file you have created within your PowerApps or is it just some random file within the SharePoint Online environment?
@Expiscornovus it just retry and retry until it success but in my use case the automate was called by powerapps i cant let the user wait unit it was success
stampcoin
55
Michael E. Gernaey
39
Super User 2025 Season 1
VictorIvanidze
26