Hello,
I'm facing an issue in Power Automate when trying to delete a file. After using the "Delete file" action, I get an error stating that the file is locked.
Here's the process:
- I retrieve a file from SharePoint, which is used as a template.
- The file is moved to OneDrive.
- An Excel script runs on the file in OneDrive.
- The file is then moved back to a SharePoint folder.
- I try to delete the temporary file from OneDrive, but I get a file locked error.
A workaround would be to keep the template in OneDrive, but the users prefer not to have it stored there.