Compartir a través de


Set-PowerAppDlpPolicyExemptResources

Updates exempt resources for a DLP policy by using the UpdatedExemptResources DlpPolicyExemptResourcesDefinition object.

Syntax

Set-PowerAppDlpPolicyExemptResources
   -TenantId <String>
   -PolicyName <String>
   -UpdatedExemptResources <Object>
   [-ApiVersion <String>]
   [<CommonParameters>]

Description

The Set-PowerAppDlpPolicyExemptResources cmdlet updates details on the policy exempt resources. Use Get-Help Set-PowerAppDlpPolicyExemptResources -Examples for more detail.

Examples

EXAMPLE 1

Set-PowerAppDlpPolicyExemptResources -TenantId $TenantId -PolicyName e25a94b2-3111-468e-9125-3d3db3938f13 -UpdatedCExemptResources $UpdatedExemptResources

Updates the DLP policy exempt resources using the $UpdatedExemptResources 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

-PolicyName

The policy name ID of the policy to be updated.

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

-TenantId

The tenant ID.

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

-UpdatedExemptResources

Policy exempt resources object used to make the update.

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