Compartir a través de


Set-AdminPowerAppEnvironmentGovernanceConfiguration

Updates the governance configuration on an existing environment.

Syntax

Set-AdminPowerAppEnvironmentGovernanceConfiguration
   -EnvironmentName <String>
   -UpdatedGovernanceConfiguration <Object>
   [-ApiVersion <String>]
   [<CommonParameters>]

Description

The Set-AdminPowerAppEnvironmentGovernanceConfiguration cmdlet updates the governance configuration on the specified environment. Use Get-Help Set-AdminPowerAppEnvironmentGovernanceConfiguration -Examples for more details.

Examples

EXAMPLE 1

$UpdatedGovernanceConfiguration = [pscustomobject]@{

protectionLevel = "Basic" } Set-AdminPowerAppEnvironmentGovernanceConfiguration -EnvironmentName 8d996ece-8558-4c4e-b459-a51b3beafdb4 -UpdatedGovernanceConfiguration $UpdatedGovernanceConfiguration

Sets the protection level of the environment to 'Basic' in the governance configuration.

Parameters

-ApiVersion

Specifies the Api version that is called.

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

-EnvironmentName

The ID (GUID) of the environment to update.

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

-UpdatedGovernanceConfiguration

The updated governance configuration of the environment.

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