Control access to SharePoint Site only based on network location

Sajith Gopalakrishnan Hema 1,056 Reputation points
2021-08-10T08:13:48.293+00:00

Using Access control under SharePoint Admin URL, we can restrict based on network location.

https://learn.microsoft.com/en-US/sharepoint/control-access-based-on-network-location

After we apply, it affects workloads like teams, one drive etc. We want to restrict only one SharePoint Site URL ? Is it achievable ?

We tried to apply access control policies on SharePoint admin center to Allow access only from specific IP address, but this is affecting the other applications like OneDrive and Teams recording etc.

Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 51,846 Reputation points Microsoft External Staff
    2021-08-11T03:06:02.93+00:00

    @Sajith Gopalakrishnan Hema

    Per my knowledge, only setting control access based on network location for one SharePoint site is not available. Since this is an overall setting, it has an effect on the entire SharePoint and related apps.

    According to this article,

    Access from first and third-party apps: Normally, a SharePoint document can be accessed from apps like Exchange, Yammer, Skype, Teams, Planner, Power Automate, PowerBI, Power Apps, OneNote, and so on. When a location-based policy is enabled, apps that do not support location-based policies are blocked. The only apps that currently support location-based policies are Teams, Yammer, and Exchange. This means that all other apps are blocked, even when these apps are hosted within the trusted network boundary. This is because SharePoint cannot determine whether a user of these apps is within the trusted boundary.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.