cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dreaves1
Frequent Visitor

How to delete a file from OneDrive

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?

 

Delete File Error.PNG

1 REPLY 1
Jcook
Super User III
Super User III

Hello @dreaves1 

 

Please try and add a delay action before your delete action


Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (47,292)