I am rather new to this place I would like to ask a question about CSOM. I'd like to set unique permissions for a particular folder in a particular document, then I found the following URL on the internet.
After referring to and executing the inside command, the following error occurred.
ERROR: Exception calling "ExecuteQuery" with "0" argument(s): "Cannot add a role assignment with empty role definition binding collection."
How can I resolve the above error?