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 / Issue with grant group...
Power Automate
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
 
Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,851 Most Valuable Professional on at
    Have you broken the inheritance on the item first?
    BreakRoleInheritance(CopyRoleAssignments=true, ClearSubscopes=true)
     
  • webmagic2022 Profile Picture
    76 on at
    Yes, I have tried to broken the inheritance, but same issue. 
  • MiDer Profile Picture
    139 on at
    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.
  • Verified answer
    webmagic2022 Profile Picture
    76 on at
    Issue has been fixed by re-creating the URI:
     
     
    _api/web/lists('@{variables('LibGUID')}')/items(@{triggerOutputs()?['body/ID']})/roleAssignments/addRoleassignment(principalid=14,roledefid=1073741826)

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 921

#2
Valantis Profile Picture

Valantis 801

#3
Haque Profile Picture

Haque 588

Last 30 days Overall leaderboard