Compartilhar via


Set-GovernanceErrorSettings

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

Syntax

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

Description

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

Examples

EXAMPLE 1

Set-GovernanceErrorSettings -TenantId $TenantId -ErrorSettings $ErrorSettings

Updates the error settings for the tenant.

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 ID.

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