Share via


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

Default (Default)

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

Parameter properties

Type:PolicyType
Default value:None
Accepted values:None, Open, Restricted
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments: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.

Parameter properties

Type:PolicyType
Default value:None
Accepted values:None, Open, Restricted
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

System.Void