Table of Contents

Get-PnPMultiGeoCompanyAllowedDataLocation

SYNOPSIS

Returns the multi-geo data locations allowed for the SharePoint Online tenant.

SYNTAX

Get-PnPMultiGeoCompanyAllowedDataLocation [-Connection <PnPConnection>]

DESCRIPTION

Returns the SharePoint Online multi-geo data locations configured for the tenant, including each location code, the associated domain, and whether the location is the default location.

EXAMPLES

EXAMPLE 1

Get-PnPMultiGeoCompanyAllowedDataLocation

Returns all allowed multi-geo data locations for the current tenant.

PARAMETERS

-Connection

Optional connection to be used by the cmdlet. Retrieve the value for this parameter by specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type: PnPConnection
Parameter Sets: (All)

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

OUTPUTS

PnP.PowerShell.Commands.Model.MultiGeoCompanyAllowedDataLocation

Returns objects with Location, Domain, and IsDefault properties.

Microsoft 365 Patterns and Practices