Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 1.95 KB

restrict-content-to-geo-location.md

File metadata and controls

42 lines (34 loc) · 1.95 KB
title ms.reviewer ms.date ms.author author manager audience ms.topic ms.service ms.subservice f1.keywords ms.custom ms.collection ms.localizationpriority description
Restrict SharePoint site content to a geo location
anfra
09/26/2024
kvice
kelleyvice-msft
scotv
ITPro
article
microsoft-365-enterprise
administration
NOCSH
seo-marvel-apr2020
Strat_SP_gtc
medium
In this article, learn how to restrict SharePoint sites to a specified geo location in a multi-geo environment.

Restrict SharePoint site content to a geo location

Under certain circumstances you may choose to enforce a site and its file content to remain in the Geography location where the site was created, either by preventing the site from being moved or by preventing the caching of the site's file content in another Geography location.

You can do this task by using the Set-SPOSite cmdlet with the RestrictedToGeo parameter. This parameter has a default value of NULL, but you can change it to one of the following restrictions:

Restriction Description
NoRestriction The site can be moved to another Geography location.
BlockMoveOnly Site can't be moved to another Geography location, but site content can be cached in other Geography locations.
BlockFull Site can't be moved to another Geography location, and full file content isn't cached in other Geography locations. Files' title (harvested from the content), file name, and other properties of the file can still be cached in other Geography locations.
Content stored in the site before it was configured to BlockFull, may continue to be cached in other Geography locations.

Use the following syntax:

Set-SPOSite -Identity <siteURL> -RestrictedToGeo <restriction>

For example:

Set-SPOSite -Identity https://contoso.sharepoint.com/sites/RegionRestrictedTeamSite -RestrictedToGeo BlockFull