Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Issue with grant group permission to Site Page

(1) ShareShare
ReportReport
Posted on by 76
Hello,
I have a Modern SharePoint site with a news page. Employees can post news themselves. I want to prevent employees from editing or deleting news posts from other users. To achieve this, I created a Power Automate Flow that grant uniques permissions for the page item. This works well. However, assigning a SharePoint group with read permissions is not working correctly. I receive this error message.
GroupID is correct.
 


_api/web/Lists(guid'@{variables('LibGUID')}')/items(@{triggerOutputs()?['ID']})/roleAssignments/addRoleassignment(principalid=14,roledefid=1073741826)
 
Is this the correct URI?
 
Check GroupID:
 
 
 
 
 
Any Clue
 
  • Verified answer
    webmagic2022 Profile Picture
    76 on at
    Issue with grant group permission to Site Page
    Issue has been fixed by re-creating the URI:
     
     
    _api/web/lists('@{variables('LibGUID')}')/items(@{triggerOutputs()?['body/ID']})/roleAssignments/addRoleassignment(principalid=14,roledefid=1073741826)
  • MiDer Profile Picture
    130 on at
    Issue with grant group permission to Site Page
    looks like you miss out the item to process upon : @{triggerOutputs()?['ID']}
    If I zoom-in your screenshot at the SetGroupPermission action it looks like below.
  • webmagic2022 Profile Picture
    76 on at
    Issue with grant group permission to Site Page
    Yes, I have tried to broken the inheritance, but same issue. 
  • Expiscornovus Profile Picture
    31,732 Most Valuable Professional on at
    Issue with grant group permission to Site Page
    Have you broken the inheritance on the item first?
    BreakRoleInheritance(CopyRoleAssignments=true, ClearSubscopes=true)
     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >