Forum Discussion

Tustle's avatar
Tustle
Copper Contributor
Mar 20, 2023

Prevent deletion of folder larger than certain volume

Hello Sharepoint community,

 

we faced the issue that a user by mistake deleted an important folder with > 10TB of data.

Now we think about how we can prevent this in the future.
We know there's the possibility to remove the delete privilege from user groups. But that's not ideal since we want users to be able to delete single files (i.e. if they upload a wrong file by mistake).
We wonder wether there's an option to add something like a trigger (maybe via native Sharepoint development, maybe via Power Autotmate) upon deletion that first checks the amount of data that will be deleted. And based on that either performs or forbids the deletion.
Does anyone have any idea for this issue?

Regards,

Thorsten

1 Reply

Resources