Partager via


New-PowerAppDlpConnectorBlockingPolicy

Creates the connector blocking policy for the tenant if it's not already created.

Syntax

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

Description

The New-PowerAppDlpConnectorBlockingPolicy cmdlet creates a connector blocking policy for the tenant. Use Get-Help New-PowerAppDlpConnectorBlockingPolicy -Examples for more detail.

Examples

EXAMPLE 1

New-PowerAppDlpConnectorBlockingPolicy -TenantId $TenantId -ConnectorBlockingDefinition $ConnectorBlockingDefinition

Creates 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

-TenantId

The tenant identifier.

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