Skip to main content
Nintex Community Menu Bar

 I want to give edit permission of Office365 group to the specified item of SharePoint list by Using "Update Item Permission" of Nintex Workflow Cloud.

The Offie365 group to grant permissions is stored in the SharePoint list item "User or Group" and I want to get this account in Nintex Workflow Cloud.

 

However, it cannot be realized due to the following reasons.

I got the item information of the SharePoint list specified in NintexWorkflowCloud.
But the information required for authorization cannot be obtained from "User or Group".

 

To grant permissions with "Update Item Permission" in Nintex Workflow Cloud
How do you get the "User or Group" information?

24125iF3580AD9FF24E601.png

24126i67D02D9F2960E70C.png

Hi @RN



 



Forget to use the Update Item permissions action from the SharePoint Online connector that should take an ID instead a Name.



 



Instead use the Call a SharePoint web service action from the SharePoint Online connector as shown below which works based on the SharePoint User or group ID :



 



 



Web Service URL = 



{SiteUrl}​/_api/Web/Lists/getByTitle('{List Name}​')/Items({ID})/roleassignments/addroleassignment(principalid={Approver Group (ID)}, roledefid=1073741827)



 



Role Definitions :



 









































































Role Definition Name Role Definition Id
Limited Access 1073741825
View Only 1073741924
Design 1073741828
Edit 1073741830
Contribute 1073741827
Read 1073741826
Full Control 1073741829


 



 



Hope that helps.



 



^^


Dear cecilia-penha San



 



Thank you for answering the response method.
I was able to achieve it with detailed procedures.
Thank you.


Reply