< Back
New-AdminDlpPolicy
Post
NAME New-AdminDlpPolicy
SYNOPSIS
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
New-AdminDlpPolicy cmdlet creates a new DLP policy for the logged in admin's tenant.
Use Get-Help New-AdminDlpPolicy -Examples for more detail.
PARAMETERS
-DisplayName <String>
Creates the policy with the input display name.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-EnvironmentName <String>
The Environment's identifier.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-BlockNonBusinessDataGroup <Boolean>
Block non business data group.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-ApiVersion <String>
Specifies the Api version that is called.
Required? false
Position? named
Default value 2016-11-01
Accept pipeline input? false
Accept wildcard characters? false
-SchemaVersion <String>
Specifies the schema version to use, 2016-11-01 or 2018-11-01 (HTTP connectors included).
Required? false
Position? named
Default value 2016-10-01-preview
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>New-AdminDlpPolicy -DisplayName "MetroBank Policy"
Creates a new policy with the display name 'MetroBank Policy' in the tenant.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>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 --------------------------
PS C:\\>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 --------------------------
PS C:\\>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).
RELATED LINKS
SYNOPSIS
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
New-AdminDlpPolicy cmdlet creates a new DLP policy for the logged in admin's tenant.
Use Get-Help New-AdminDlpPolicy -Examples for more detail.
PARAMETERS
-DisplayName <String>
Creates the policy with the input display name.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-EnvironmentName <String>
The Environment's identifier.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-BlockNonBusinessDataGroup <Boolean>
Block non business data group.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-ApiVersion <String>
Specifies the Api version that is called.
Required? false
Position? named
Default value 2016-11-01
Accept pipeline input? false
Accept wildcard characters? false
-SchemaVersion <String>
Specifies the schema version to use, 2016-11-01 or 2018-11-01 (HTTP connectors included).
Required? false
Position? named
Default value 2016-10-01-preview
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>New-AdminDlpPolicy -DisplayName "MetroBank Policy"
Creates a new policy with the display name 'MetroBank Policy' in the tenant.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>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 --------------------------
PS C:\\>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 --------------------------
PS C:\\>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).
RELATED LINKS