Partager via


Set-PowerAppDlpConnectorBlockingPolicy

Updates the connector blocking policy for the tenant.

Syntax

Set-PowerAppDlpConnectorBlockingPolicy
   -TenantId <String>
   -PolicyId <String>
   -ConnectorBlockingDefinition <Object>
   [-ApiVersion <String>]
   [<CommonParameters>]

Description

The Set-PowerAppDlpConnectorBlockingPolicy cmdlet updates connector blocking policy for the tenant. Use Get-Help Set-PowerAppDlpConnectorBlockingPolicy -Examples for more detail.

Examples

EXAMPLE 1

Set-PowerAppDlpConnectorBlockingPolicy -TenantId $TenantId -PolicyId $PolicyId -ConnectorBlockingDefinition $ConnectorBlockingDefinition

Updates the connector blocking policy for the tenant based on the $ConnectorBlockingDefinition object.

Parameters

-ApiVersion

Specifies the Api version that is called.

Type:String
Position:Named
Default value:2020-06-01
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ConnectorBlockingDefinition

The connector blocking policy definition.

Type:Object
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-PolicyId

The identifier for the policy.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-TenantId

The tenant ID.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False