
Announcements
Hello,
A) I want to delete all under the test folder.
B) Delete "test / test.txt" as a test. I get an error in "Delete File".
"status": 400,
"message": "The provided drive id appears to be malformed, or does not represent a valid drive.",
"source": "api.connectorp.svc.ms"
Hi @Anonymous,
Could you please share a screenshot of your flow's configuration?
The error message told that you have provided a invalid drive (drive id or file) within "Delete File" action of OneDrive for Business connector. I have made a test on my side (Delete "Test/text.txt" as a test) and don't have the issue that you mentioned. My flow'c configuration as below:
The flow works successfully as below:
Please check if you have specified a proper file within File field of "Delete file" action. In other words, please check if the file that you specify within File field of "Delete file" action is existed in your OneDrive for Business folder.
In addition, please check if the connection to the "Delete file" action is invalid, if yes, please update the connection to the "Delete file" action or re-create a new connection to this action, then try your flow again to check if the issue is solved.
If you want to delete all files under a OneDrive for Business folder, please take a try with the following workaround:
Image reference:
The flow works successfully as below:
Best regards,
Kris