Set-AdminPowerAppEnvironmentGovernanceConfiguration
Updates the governance configuration on an existing environment.
Syntax
Default (Default)
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.
Parameter properties
Type: | String |
Default value: | 2021-04-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 |
-EnvironmentName
The ID (GUID) of the environment to update.
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 |
-UpdatedGovernanceConfiguration
The updated governance configuration of the environment.
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 |
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.