Announcements
I have many subfolders but this is my current flow. Any tips? It is failing to work.
Hi @Beauandarrow99 ,
Please try:
Best Regards,
Bof
Tried it, failed. any other tips?
The folders look like this.
Names were randomly generated.
If you want to delete folder in OneDrive, I am afraid that it is not possible currently. Flow doesn’t have an delete folder action, besides, we cannot use “Delete file” action to delete folders.
But It can be done by graph API:
https://graph.microsoft.com/v1.0/me/drive/items/@{last(split(items('Apply_to_each')?['Id'],'.'))}
I think this link will help you a lot:
https://learn.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_delete?view=odsp-graph-online
Best Regards,Bof
You have to use GRAPH requests to do what you want.
Still failing.
Nvm, It works. Thanks
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Mohsin Ali 355
11manish 336 Super User 2026 Season 2
M Bilal Khan 308