Partilhar via


New-PowerAppDlpErrorSettings

Creates the error settings for the tenant if it's not already created.

Syntax

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

Description

The New-PowerAppDlpErrorSettings cmdlet creates error settings for the tenant. Use Get-Help New-PowerAppDlpErrorSettings -Examples for more detail.

Examples

EXAMPLE 1

New-PowerAppDlpErrorSettings -TenantId $TenantId -ErrorSettings $ErrorSettings

Creates the error settings for the tenant based on the $ErrorSettings object.

Parameters

-ApiVersion

Specifies the Api version that is called.

Type:String
Position:Named
Default value:2020-06-01
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ErrorSettings

The error settings object.

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

-TenantId

The tenant identifier.

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