Share via


Set-PowerAppDlpPolicyExemptResources

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

Syntax

Default (Default)

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 aaaabbbb-0000-cccc-1111-dddd2222eeee -UpdatedCExemptResources $UpdatedExemptResources

Updates the DLP policy exempt resources using the $UpdatedExemptResources object.

Parameters

-ApiVersion

Specifies the Api version that is called.

Parameter properties

Type:String
Default value:2016-11-01
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-PolicyName

The policy name ID of the policy to be updated.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-TenantId

The tenant ID.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-UpdatedExemptResources

Policy exempt resources object used to make the update.

Parameter properties

Type:Object
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.