Restrict access to SPO based on IP

Happy new year!

If you need to restrict the access to SPO to a range of predefined IP’s/subnets, it is possible to do it by using the following PowerShell command:

Set-SPOTenant -IPAddressEnforcement $true -IPAddressAllowList 130.10.1.0/20

So, when the user of the designated range, try to access, will receive an error message

That’s all!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s