cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Custom value for Role in 'Grant access to an item or a folder' action

I'm using the 'Grant access to an item or a folder' for SharePoint list item level permission and I want to add custom value in Role as 'Contribute' or custom permission. 
I tried adding 'Contribute' permission in custom value but flow failed. We can choose only 'Edit' or 'View' permission.

If anyone knows What is the custom value allowed to add in Role, please help me.
I appreciate your help.
Custom Value Issue.png
Thanks
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Regular Visitor

Re: Custom value for Role in 'Grant access to an item or a folder' action

If you select "peek code" you can see the format it wants is 

role:[roleIDnumber]

 

Follow these instructions to find the role ID http://www.benprins.net/2017/01/23/sharepoint-get-the-role-id/  

View solution in original post

4 REPLIES 4
Highlighted
Dual Super User III
Dual Super User III

Re: Custom value for Role in 'Grant access to an item or a folder' action

Good question....

I tried to Enter Custom Value 'Can contribute' but it does not work. Let's hope somebody else can point us to the right direction.

In the meawhile, did you consider exploring HTTP REST calls from Flow to modify permissions? Step by step explanation here

https://collab365.community/manage-permissions-sharepoint-list-item-using-microsoft-flow-add-contrib...

https://collab365.community/sharepoint-item-permissions-using-flow-part-1/

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Highlighted
Frequent Visitor

Re: Custom value for Role in 'Grant access to an item or a folder' action

Hi @efialttes

 

Highlighted
Regular Visitor

Re: Custom value for Role in 'Grant access to an item or a folder' action

If you select "peek code" you can see the format it wants is 

role:[roleIDnumber]

 

Follow these instructions to find the role ID http://www.benprins.net/2017/01/23/sharepoint-get-the-role-id/  

View solution in original post

Highlighted
Frequent Visitor

Re: Custom value for Role in 'Grant access to an item or a folder' action

Hi @buckles ,
Thanks a lot and it works now.

Helpful resources

Announcements
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (7,480)