Document set in SharePoint : How to control documents adding

Copper Contributor

I have a document set in SharePoint (with attributes of : Name, Date of validation, Status) and I would like to prevent a user from adding documents inside of this document set when its status is equal to CLOSED and if the status is ACTIVE then I can add documents inside.

Is there any technical way of doing this directing via SharePoint or should I use an automation tool (Power automate)/Power Apps?

1 Reply
To do this, you will need to run a Power Automate Workflow.
The Flow can trigger when an item is modified and if the metadata status is Closed, change the permissions to make the Document Set read only.

I wrote a blog on setting permissions that may help you with this.
https://steveknutson.blog/2021/12/10/setting-sharepoint-permissions-with-power-automate/