Back to Browse

Library/Item Level permissions using SP Groups (Modify Current Power App)(Part 4)

19 views
Nov 8, 2023
13:50

This is the Last of the four videos in a series to walk you thru how to setup a Power App and two Power Automate Flows to set permissions for a Library Level Permissions and / or Item Level permission in a library or List. Here are the logics for the HTTP calls in the Power Automate: URIs for IDS from SP for Perms Level and SP Groups...... Get Role ID for Group: Method: Get URI: _api/web/roledefinitions/GetByName('~internal name (one inside the address group once you open group)~') Headers: ~none~ Body: ~none~ To Pull ID: body('~Step Name~')?['d']['id'] Get Principle ID for Permissions Levels: Method: Get URI: _api/web/siteGroups/getByName('~Name of display name of Group~') Headers: ~none~ Body: ~none~ To Pull ID: body('~Step Name~')?['d']['id'] Set SP Group Permissions (Applying SP Group to Folder/File perms): Method: POST URI: _api/lists/getByTitle('~Library Name~')/items(~ID #~')/roleAssignments/addRoleAssignment(PrincipalId=~Id of SP Group~, roleDefId=~Perms Level ID~) Headers: ~none~ Body: ~none~ Role Defination IDs for OOTB Permission Levels in SPO: Role Definition Name Role Definition Id Full Control 1073741829 Design 1073741828 Edit 1073741830 Contribute 1073741827 Read 1073741826 Limited Access 1073741825 View Only 1073741924 websource: https://www.c-sharpcorner.com/article/get-sharepoint-role-definition-ids/ Links to videos in this series: Demo of Final Product: https://youtu.be/Fc1f_ojFoJE Build of Library Level Permission Power Automate Flow: https://youtu.be/7Gx6m0-l1HU Build of Item Level Permission Power Automate Flow: https://youtu.be/7nuKH0Rhptc Modification of Existing Power App to facilitate the Flows: https://youtu.be/9ya20sn6UL0 (This Video)

Download

0 formats

No download links available.

Library/Item Level permissions using SP Groups (Modify Current Power App)(Part 4) | NatokHD