1. Delete
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:
addDays(utcNow(),-14,'yyyy-MM-dd')
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.
1
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
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
85 | |
57 | |
42 | |
37 | |
33 |
User | Count |
---|---|
91 | |
73 | |
72 | |
60 | |
40 |