Share via


Set-PowerAppDlpErrorSettings

Updates the error settings for the tenant if error settings are created for the tenant.

Syntax

Default (Default)

Set-PowerAppDlpErrorSettings
    -TenantId <String>
    -ErrorSettings <Object>
    [-ApiVersion <String>]
    [<CommonParameters>]

Description

The Set-PowerAppDlpErrorSettings cmdlet updates the error settings for the tenant admin if error settings exist for the tenant. Use Get-Help Set-PowerAppDlpErrorSettings -Examples for more detail.

Examples

EXAMPLE 1

Set-PowerAppDlpErrorSettings -TenantId $TenantId -ErrorSettings $ErrorSettings

Updates the error settings for the tenant.

Parameters

-ApiVersion

Specifies the Api version that is called.

Parameter properties

Type:String
Default value:2020-06-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

-ErrorSettings

The error settings object.

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

-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

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.