Contents
Add all the users except the specific user you want to restrict access. This way you can keep a track of all the users who have access to sharepoint. Further, if you got additional request, you can just remove the user from the security Group 🙂
@Prasannaraju this will work on paper but since we have lot of sites and sub-sites and each of them have the “Everyone Except external users” ,, so i was looking for a simpler approach to prevent a user from accessing the sites even if the user has permission.
How to block a specific user from accessing SharePoint?
1 Open the SharePoint Admin Center. 2 Expand Policies > Access Policies. 3 In the Unmanaged Devices section, select Block Access and select Save. 4 Open the Azure Active Directory portal and navigate to Conditional Access Policies. 5 Update the policy to target only specific users or a group.
How to get access to SharePoint site collection?
As a SharePoint Online administrator, sign in to the site collection that was shared with the external user. Select the gear icon for the Settings menu, and then select Site settings. In the Users and Permissions section, select People and groups.
In the Name list, select the checkbox next to the name of the user or group that you want to remove permissions from. Select Remove User Permissions. The permissions page updates to show that the group or user no longer has permissions to the list. Restore inheritance to delete all unique permissions in SharePoint
Open the list or library that contains the folder, document, or list item, on which you want to edit permission levels. Click the drop-down menu to the right of the folder, document, or list item on which you want to edit permission levels, and then click Manage Permissions.