Skip to main content

pp copilot list

Lists Microsoft Power Platform copilots in the specified Power Platform environment

Usage

m365 pp copilot list [options]

Alias

m365 pp chatbot list [options]

Options

-e, --environmentName <environmentName>

The name of the environment.

--asAdmin

Run the command as admin for environments you do not have explicitly assigned permissions to.

-h, --help [help]

Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is options.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Examples

List copilots in a specific environment.

m365 pp copilot list --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5"

List copilots in a specific environment as admin.

m365 pp copilot list --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --asAdmin

Response

[
{
"language": 1033,
"botid": "23f5f586-97fd-43d5-95eb-451c9797a53d",
"authenticationTrigger": 0,
"stateCode": 0,
"createdOn": "2022-11-19T10:42:22Z",
"cdsBotId": "23f5f586-97fd-43d5-95eb-451c9797a53d",
"schemaName": "new_bot_23f5f58697fd43d595eb451c9797a53d",
"ownerId": "5fa787c1-1c4d-ed11-bba1-000d3a2caf7f",
"botModifiedOn": "2022-11-19T20:19:57Z",
"solutionId": "fd140aae-4df4-11dd-bd17-0019b9312238",
"isManaged": false,
"versionNumber": 1429641,
"timezoneRuleVersionNumber": 0,
"name": "CLI Copilot",
"statusCode": 1,
"owner": "Doe, John",
"overwriteTime": "1900-01-01T00:00:00Z",
"componentState": 0,
"componentIdUnique": "cdcd6496-e25d-4ad1-91cf-3f4d547fdd23",
"authenticationMode": 1,
"botModifiedBy": "Doe, John",
"accessControlPolicy": 0,
"publishedOn": "2022-11-19T19:19:53Z"
}
]
CTRL + M