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

Notifications

Announcements

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,195 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard