Showing results for 
Search instead for 
Did you mean: 
New Member

Delete This

1. Delete






Community Support
Community Support

Hi @MaxMan,


There is no created on property in the OneDrive file, but you could utilize the Last modified time to approach that.

1. List all files in a folder;

2. If the last modified time less than or equals to 14 days ago, delete it:


 Screenshot 2020-12-30 155236.jpg


Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.


Community Support
Community Support

Hi @MaxMan,


OK, thanks for sharing. You could go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

Best Regards,
Community Support Team _ Lin Tu

Helpful resources

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (22,898)