Reputation: 11
When I create a Logic App, I'm listing the file content in one drive for business. Then, I'm creating a ForEach
to loop through the files in a folder and delete them. The system is not deleting the files and giving a 404 error.
I do the same example for copy, it works fine. The same example works fine if I replace the oneDrive for business adaptor with SFTP for example.
I've attached files for the design I've done and the error I get:
Upvotes: 1
Views: 913
Reputation: 3111
Delete file API by OneDrive takes an ID rather than the file path. So in your case, specify "Id" token and it should work.
Upvotes: 1