web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How do I add a SP grou...
Power Automate
Answered

How do I add a SP group with existing permissions to an item.

(0) ShareShare
ReportReport
Posted on by 330
I have a SharePoint group that already has it's permissions levels defined. I want to add this group (with it's existing permissions) to a SharePoint list item. In my flow, I am using a Send an HTTP request to SharePoint action to try to accomplish this using the api...
_api/web/lists/getbytitle('My SharePoint List')/items(@{triggerOutputs()?['body/ID']})/roleassignments/addroleassignmentwithroledefinitionbinding(principalid=@{variables('GroupId'))
 
This is currently giving the error.... "Cannot find resource for the request addroleassignmentwithroledefinitionbinding."
Has anyone else tried this? How do I go about resolving this error?
Categories:
I have the same question (0)
  • David_MA Profile Picture
    14,614 Super User 2026 Season 1 on at
    Maybe I am misreading your post, but if the SharePoint group already has existing permissions to the item, why do you need to grant the group permission to the item? Do you want to add another SharePoint group? If so, you can use these actions to change permissions on an item:
     
    The grant access action allows you to choose a group in the recipients' field. This works with only M365 groups. If you created a legacy SharePoint permissions group, that cannot be done with these actions.
  • Verified answer
    Kalathiya Profile Picture
    2,135 Super User 2026 Season 1 on at
    Hello @Spawn10

    This error usually occurs because the REST endpoint being called isn’t valid.

    To assign permissions to a list item, you first need to break the item’s permission inheritance (if it hasn’t been done already):

    _api/web/lists/getByTitle('[LIST_TITLE]')/breakroleinheritance(copyRoleAssignments=true, clearSubscopes=true)
    Add the role assignment using below end point:
     
    _api/web/lists/getbytitle('My SharePoint List')/items(@{triggerOutputs()?['body/ID']})/roleassignments/addroleassignment(principalid=@{variables('GroupId')}, roledefid=1073741830)
    
    //1073741830 - Edit permission role definition id.

    principalid is the ID of the SharePoint group.

    roledefid is the ID of the permission level you want to assign (e.g., Contribute, Read, etc.).

    For more details, you can follow this blog:

    https://www.c-sharpcorner.com/article/power-automate-break-inheritance-and-set-list-item-level-permissions-in-sharep/

     

    If this response resolves your issue, please mark it as the Verified Answer so it can help other community members as well.
    ---------------------------------------------------------------------------------
     
    📩 Need more help? Mention @Kalathiya anytime!
    ✔️ Don’t forget to Accept as Solution if this guidance worked for you.
    💛 Your Like motivates me to keep helping!

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 816

#2
Valantis Profile Picture

Valantis 603

#3
Haque Profile Picture

Haque 566

Last 30 days Overall leaderboard