Share via


Set-AdminPowerAppEnvironmentCopilotSettings

Enables or disables Copilot assistance for drafting input text with canvas apps in the environment.

Syntax

Default (Default)

Set-AdminPowerAppEnvironmentCopilotSettings
    -EnvironmentName <String>
    [-AppDraftingCopilotEnabled <Boolean>]
    [-ApiVersion <String>]
    [<CommonParameters>]

Description

The Set-AdminPowerAppEnvironmentCopilotSettings cmdlet enables or disables Copilot assistance for drafting input text with canvas apps in the specified environment.

Examples

EXAMPLE 1

Set-AdminPowerAppEnvironmentCopilotSettings -EnvironmentName 8d996ece-8558-4c4e-b459-a51b3beafdb46 -AppDraftingCopilotEnabled $false

Disables Copilot assistance for drafting text in canvas apps in the specified environment.

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

-AppDraftingCopilotEnabled

Enables or disables the drafting copilot using $True or $False.

Parameter properties

Type:Boolean
Default value:False
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

Specifies the ID of the environment you want to modify.

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

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.