Remove-CustomConnectorFromPolicy

Deletes a custom connector from the given DLP policy.

Syntax

Remove-CustomConnectorFromPolicy
      [-PolicyName] <String>
      [-ConnectorName] <String>
      [[-EnvironmentName] <String>]
      [[-ApiVersion] <String>]
      [<CommonParameters>]

Description

The Delete-CustomConnectorFromPolicy cmdlet deletes a custom connector from the specified DLP policy. Use Get-Help Delete-CustomConnectorFromPolicy -Examples for more detail.

Examples

EXAMPLE 1

Delete-CustomConnectorFromPolicy -PolicyName 7b914a18-ad8b-4f15-8da5-3155c77aa70a -ConnectorName shared_office365users

Deletes the custom connector 'shared_office365users' from the DLP policy of policy name 7b914a18-ad8b-4f15-8da5-3155c77aa70a.

EXAMPLE 2

Delete-CustomConnectorFromPolicy -EnvironmentName Default-02c201b0-db76-4a6a-b3e1-a69202b479e6 -PolicyName 7b914a18-ad8b-4f15-8da5-3155c77aa70a -ConnectorName shared_office365users

Deletes the custom connector 'shared_office365users' from the DLP policy of policy name 7b914a18-ad8b-4f15-8da5-3155c77aa70a in environment Default-02c201b0-db76-4a6a-b3e1-a69202b479e6.

Parameters

-ApiVersion

The api version to call with. Default 2018-01-01.

Type:String
Position:4
Default value:2018-01-01
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ConnectorName

The connector name identifier.

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

-EnvironmentName

The environment ID.

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

-PolicyName

The policy name identifier.

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