New-PowerAppDlpPolicyExemptResources

Creates new exempt resources for a DLP policy by using the NewDlpPolicyExemptResources DlpPolicyExemptResourcesDefinition object.

Syntax

New-PowerAppDlpPolicyExemptResources
   -TenantId <String>
   -PolicyName <String>
   -NewDlpPolicyExemptResources <Object>
   [-ApiVersion <String>]
   [<CommonParameters>]

Description

The New-PowerAppDlpPolicyExemptResources cmdlet creates new exempt resources for the signed in admin's DLP policy. Use Get-Help New-PowerAppDlpPolicyExemptResources -Examples for more detail.

Examples

EXAMPLE 1

New-PowerAppDlpPolicyExemptResources -TenantId $TenantId -PolicyName $PolicyName -NewDlpPolicyExemptResources $NewDlpPolicyExemptResources

Creates a new policy with $TenantId, $PolicyName and $NewDlpPolicyExemptResources object.

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

-NewDlpPolicyExemptResources

Creates a DLP policy with the NewDlpPolicyExemptResources object.

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

-PolicyName

Create new exempt resources by using policy name.

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

-TenantId

Create new exempt resources by using tenant id.

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