Compartir a través de


New-GovernanceErrorSettings

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

Syntax

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

Description

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

Examples

EXAMPLE 1

New-GovernanceErrorSettings -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