Set-DataGatewayTenantPolicy

Set the gateway installation and registration policy for the tenant. You need to login as a Tenant Admin to run this command.

Syntax

Set-DataGatewayTenantPolicy
   [-ResourceGatewayInstallPolicy <PolicyType>]
   [-PersonalGatewayInstallPolicy <PolicyType>]
   [<CommonParameters>]

Description

Set the gateway installation and registration policy for the tenant.

Examples

Example 1

PS C:\> Set-DataGatewayTenantPolicy -ResourceGatewayInstallPolicy Open

Allow users to install and register on-premises data gateways on the user's tenant.

Parameters

-PersonalGatewayInstallPolicy

Tenant policy for Personal gateway installation and registration

Type:PolicyType
Accepted values:None, Open, Restricted
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGatewayInstallPolicy

The on-premises data gateway in a standard mode installation and registration tenant policy. Setting it to Open would enable all users to install and register gateways while setting it to Restricted would restrict users.

Type:PolicyType
Accepted values:None, Open, Restricted
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Void