Power Automate and SharePoint Add Item Level Security with HTTP requests for Groups and Users

Опубликовано: 15 Июнь 2026
на канале: Richard Burdes
1,065
8

This tutorial shows how to apply item level security for SharePoint items using Power Automate - this is to ensure that the items you create are only visible to the people who need to see them.

Code snippets

Break Inheritance : POST
_api/lists/getByTitle('YourListName')/items(yourID)/breakroleinheritance(copyRoleAssignments=false, clearsubscopes=true)

Get Group : GET
_api/web/siteGroups/GetByName('Name of SharePoint Group')

Get User : Get
_api/web/SiteUsers/getByEmail('personcolumn-email')

Grant Access : POST
_api/web/lists/getByTitle('YourListName')/items(youritemID)/roleassignments/addroleassignment(principalid=thegrouporuserID,roleDefId=1073741827)