Wondering how to update permissions in SharePoint using Power Automate (Flow) without using Designer workflows? We've got you covered! This video is all about updating SharePoint item/file permissions using Power Automate (Flow). You'll learn what Out of the Box features Power Automate already has as well as how do do even more using HTTP requests. This video should help you to move from SharePoint Designer workflows to Power Automate "Flows".
PLEASE feel free to email me at [email protected] or comment below with any QUESTIONS. :)
Check out our Power Apps and Power Automate Services as well as training and blogs here:
https://www.sovereignsp.com/shop
Links and Formulas:
Stop sharing an item or file (Learn More)
https://docs.microsoft.com/en-us/conn...
Grant access to an item or file (Learn More)
https://docs.microsoft.com/en-us/conn...
HTTP Requests (Learn More)
https://www.w3schools.com/tags/ref_ht...
Break Inheritance
_api/lists/getByTitle('Your List Name')/items(Item ID)/breakroleinheritance(copyRoleAssignments=false,clearSubscopes=true)
Get Principal ID
Group: _api/web/SiteGroups/getbyname('Group Name')
User: _api/web/SiteUsers/getByEmail('User Email')
Set Variable EXPRESSION (Change as needed, then put this in the expression and click "OK")
body('Send_an_HTTP_request_to_SharePoint_2')?['d']['id']
Set Permissions
_api/lists/getByTitle('Avengers')/items(Item ID)/roleassignments/addroleassignment(principalid=Principal ID,roledefid=Permission Number)
Permission Types and Numbers
Full Control 1073741829
Design 1073741828
Edit 1073741830
Contribute 1073741827
Read 1073741826
View Only 1073741924