I am using Nintex Office 365 workflows and using REST API to break role inheritance but it always throws Forbidden error message. I have achieved same in Nintex on Premise and it is working fine.
Any suggestions.
I am using Nintex Office 365 workflows and using REST API to break role inheritance but it always throws Forbidden error message. I have achieved same in Nintex on Premise and it is working fine.
Any suggestions.
Perhaps this helps >>> sharepoint enterprise - Break role inheritance and assign permissions to document with REST api? - SharePoint Stack Exch…
Hi Fernando,
Yes, I tried this one and getbytitle also. In both the cases I get Forbidden error message. I also tried to use the action 'Update Item Permissions' and that too doesn't seems to be working.
Hi Taurundeep,
Who is the initiator of the workflow, generally the API request made from the workflow will be executed as the initiator of the workflow. Do they have access to perform permission modifications on this item? Alternatively using the request inside of an Action Set with elevated permissions enabled may help?
Thanks,
Callum
Hi Tarundeep Singh, you need to elevate the permissions using App step.
Hi Tarun,
Hope it will help you.
1) Nintex App Permission
2) Add REST in Web Service Like below
SitrURL + "_api/web/lists/getByTitle('Documents')/breakroleinheritance(copyRoleAssignments=true, clearSubscopes=true)";
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.