Restricting access by IP address
Some organizations choose to restrict employee access to SharePoint Online to only those employees who are accessing it from approved IP addresses specified in the SharePoint admin center. In this recipe, we'll specify which IP addresses can access our SharePoint Online environment.
You should be a Global or SharePoint admin to complete this recipe.
How to do it…
- Go to the SharePoint admin center at
https://YOURTENANT-admin.sharepoint.com, or go to the Microsoft Admin Center and click SharePoint from beneath Admin Centers on the left-hand navigation menu.
- Choose Policies > Access control from the left-hand navigation menu. Then, click Network location:
- Toggle the Allow access only from specific IP address ranges setting to the On