Get-MsolCompanyAllowedDataLocation

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.

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
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Outputs

Microsoft.Online.Administration.AllowedDataLocation

This cmdlet returns 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, then the cmdlet will return an empty list.