共用方式為


Set-AdminPowerAppSharepointFormEnvironment

Remaps the environment that Power Platform uses to save Sharepoint form apps.

Syntax

Set-AdminPowerAppSharepointFormEnvironment
   [-EnvironmentName] <String>
   [[-ApiVersion] <String>]
   [<CommonParameters>]

Description

Modifies which environment Power Platform users save Sharepoint form apps. Only tenant admins can call this command.

Examples

EXAMPLE 1

Set-AdminPowerAppSharepointFormEnvironment -EnvironmentName "14b9cc99-5714-45d6-bfe0-8377f4de9231"

Parameters

-ApiVersion

The api version to call with. Default 2020-06-01

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

-EnvironmentName

The environment ID.

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