Set-MsolCompanyAllowedDataLocation
Sets an allowed data location for a service type for a company in Azure Active Directory.
Syntax
Set-MsolCompanyAllowedDataLocation
-ServiceType <String>
-Location <String>
[-IsDefault <Boolean>]
[-InitialDomain <String>]
[-Overwrite <Boolean>]
[-TenantId <Guid>]
[<CommonParameters>]
Description
The Set-MsolCompanyAllowedDataLocation cmdlet attempts to set an allowed data location or update an existing allowed data location for a service type for a company in v1.
Examples
Example 1: Set an allowed data location
PS C:\> Set-MsolCompanyAllowedDataLocation -ServiceType "MicrosoftCommunicationsOnline" -Location "EUR"
This command attempts to set an allowed data location for the MicrosoftCommunicationsOnline service type for Europe for a company. The MicrosoftCommunicationsOnline service type is also known as Skype for Business.
Parameters
-InitialDomain
Specifies the initial MOERA domain to reserve for SharePoint service provisioning purpose. In v1, specify a valid DNS domain fully qualified domain name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-IsDefault
Specifies whether the location is the default allowed data location for the given service type. There is exactly one default allowed data location per service type.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Location
Specifies the allowed data location of a service type. This value must match one of the current supported data locations by the service type. Otherwise, this cmdlet returns an error.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Overwrite
Indicates whether to overwrite an existing allowed data location if one already exists for the same {ServiceType, Location} pair for the company.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ServiceType
Specifies the service type of the allowed data location to set.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-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 |