Jaa


New-AdminDlpPolicy

Creates and inserts a new api policy into the tenant. By default the environment filter is off, and all API connections are in the no business data group (lbi).

Syntax

New-AdminDlpPolicy
   -DisplayName <String>
   [-EnvironmentName <String>]
   [-BlockNonBusinessDataGroup <Boolean>]
   [-ApiVersion <String>]
   [-SchemaVersion <String>]
   [<CommonParameters>]

Description

The New-AdminDlpPolicy cmdlet creates a new DLP policy for the logged in admin's tenant. Use Get-Help New-AdminDlpPolicy -Examples for more detail.

Examples

EXAMPLE 1

New-AdminDlpPolicy -DisplayName "MetroBank Policy"

Creates a new policy with the display name 'MetroBank Policy' in the tenant.

EXAMPLE 2

New-AdminDlpPolicy -DisplayName "MetroBank Policy" -EnvironmentName Default-02c201b0-db76-4a6a-b3e1-a69202b479e6

Creates a new policy with the display name 'MetroBank Policy' in the environment Default-02c201b0-db76-4a6a-b3e1-a69202b479e6.

EXAMPLE 3

New-AdminDlpPolicy -DisplayName "MetroBank Policy" -BlockNonBusinessDataGroup $true

Creates a new policy with the display name 'MetroBank Policy' in the tenant and blocks lbi data group.

EXAMPLE 4

New-AdminDlpPolicy -DisplayName "MRA Digital" -SchemaVersion 2018-11-01

Creates a new policy with the display name 'MRA Digital' and schema version '2018-11-01' (includes HTTP connectors).

Parameters

-ApiVersion

Specifies the Api version that is called.

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

-BlockNonBusinessDataGroup

Block non-business data group.

Type:Boolean
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DisplayName

Creates the policy with the input display name.

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

-EnvironmentName

The environment's identifier.

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

-SchemaVersion

Specifies the schema version to use, 2016-11-01 or 2018-11-01 (HTTP connectors included).

Type:String
Position:Named
Default value:2016-10-01-preview
Required:False
Accept pipeline input:False
Accept wildcard characters:False