Forum Discussion
StefanFried
Oct 27, 2017Iron Contributor
Empty Recycle Bin automatically
Is there a way to empty automatically the recycle bin of a certain user ? for instance empty the bin every 24 hours ? unfortunately i found only this "request" from 2015 :( https://onedrive.use...
StefanFried
Oct 27, 2017Iron Contributor
thanks thomas
in my case this doesn't help at all. :)
i'm performing a user simulation against my cloud tenant.
one of the simulation is for instance targeting onedrive (uploading file - deleting, etc..)
whenever i'm done with the simulation, i would like to empty the bin automatically so that i don't end up with hundreds of of files in the trash. (the 90days period is too long)
i was just thinking if there is a way via user policies (e.g empty trash after 24h for this particular user account).....but even this does not exist for onedrive :((
i'm wondering why MS does not provide such simple function to their customer base
i hope that i just simply miss something here :)
Oct 28, 2017
Short answer, as you might wornder, is No...so you can cook yourself the automatism to empty user's recycle bin using SPO APIs (CSOM / REST)