Get-​Msol​Company​Allowed​Data​Location

Get the current allowed data locations of a company from Azure Active Directory.

Syntax

Get-MsolCompanyAllowedDataLocation
   [-TenantId <Guid>]
   [<CommonParameters>]

Description

The Get-MsolCompanyAllowedDataLocation cmdlet gets all the current allowed data locations of a company from Azure Active Directory. If a company has not opted in the multinational feature or has no allowed data locations, the cmdlet returns an empty list.

Examples

Example 1: Get current allowed data locations

PS C:\> Get-MsolCompanyAllowedDataLocation

This command returns all the current allowed data locations of a company from Azure Active Directory.

Optional Parameters

-TenantId

Specifies the unique ID of the tenant on which to perform the operation. The default value is the tenant of the current user. This parameter applies only to partner users.

Type:Guid
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Outputs

Microsoft.Online.Administration.AllowedDataLocation