Restrict SharePoint Access with Custom Permissions

Typically, restricting SharePoint list permissions on the backend prevents users of Power Apps applications from accessing the data and making edits. This custom permissions tutorial will demonstrate two methods for securing a SharePoint backend without impacting Power Apps functionality.

Required: SharePoint site owner permissions


The first custom permission level allows end users to make edits through the Power Apps application but will restrict users from accessing the SharePoint list by displaying an error message.

Click the drop-downs for step-by-step instructions.

Custom Permission Level #1
StepAction
1Within SharePoint, click the gear icon.
2Select Site Permissions.
3Click Advanced Permissions Settings.
4Select Permission Levels from the permissions ribbon.
5Click Add a Permissions Level.
6Name the custom permission level.
7Select the following options:
List Permissions
·         Add Items
·         Edit Items
·         Delete Items
·         View Items
·         Open Items
·         View Versions
·         Delete Versions
·         Create Alerts

Site Permissions
·         Browse Directories
·         Use Self Service Site Creation
·         View Pages
·         Browse User Information
·         Use Remote Interfaces
·         User Client Integration Features
·         Open
·         Edit Personal User Information
 
Personal Permissions
·         Manage Personal Views
·         Add/Remove Personal Web Parts
·         Update Personal Web Parts
8Click Create.
9Click the gear icon.
10Select Site Contents.
11Open a SharePoint list.
12Click the gear icon.
13Select List Settings.
14Click Permissions for the List.
15Click Stop Inheriting Permissions from the Permissions ribbon.
16If there is a popup, click OK.
17Click the checkbox next to the SharePoint group that requires the custom permissions.
18Select Edit User Permissions from the Permissions ribbon.
19Unselect existing permissions and then select the custom permissions.
20Click OK.

The second custom permission level allows end users to change item-level permissions without being able to change any library settings.

Custom Permission Level #2
StepAction
1Within SharePoint, click the gear icon.
2Select Site Permissions.
3Click Advanced Permissions Settings.
4Select Permission Levels from the permissions ribbon.
5Click Add a Permissions Level.
6Name the custom permission level.
7Select the following options:
List Permissions
·         Add Items
·         Edit Items
·         Delete Items
·         View Items
·         Open Items
·         View Versions
·         Delete Versions
·         Create Alerts
 
Site Permissions
·         Manage Permissions
·         Browse Directories
·         Use Self Service Site Creation
·         View Pages
·         Enumerate Permissions
·         Browse User Information
·         Use Remote Interfaces
·         User Client Integration Features
·         Open
·         Edit Personal User Information
 
Personal Permissions
·         Manage Personal Views
·         Add/Remove Personal Web Parts
·         Update Personal Web Parts
8Click Create.
9Click the gear icon.
10Select Site Contents.
11Open a SharePoint list.
12Click the gear icon.
13Select List Settings.
14Click Permissions for the List.
15Click Stop Inheriting Permissions from the Permissions ribbon.
16If there is a popup, click OK.
17Click the checkbox next to the SharePoint group that requires the custom permissions.
18Select Edit User Permissions from the Permissions ribbon.
19Unselect existing permissions and then select the custom permissions.
20Click OK.

Additional Resources