Usage
m365 pp chatbot get
Description
Get information about the specified chatbot
Options
| Option |
Description |
-i, --id [id] |
The ID of the chatbot. Specify either id or name but not both. |
-n, --name [name] |
The Name of the chatbot. Specify either id or name but not both. |
-e, --environment <environment> |
The name of the environment for which to retrieve available chatbots |
--asAdmin |
Set, to remove the solution as admin for environments you are not a member of |
Examples
Gets chatbot with given id in the default environment
m365 pp chatbot get --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --id 9be05428-a279-4aa3-ae54-8449c2cc2722
Removes chatbot with given id in the default environment as administrator
m365 pp chatbot get --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --id 9be05428-a279-4aa3-ae54-8449c2cc2722 --asAdmin
Additional Info
Most likely use dynamicsApiUrl/api/data/v9.0/bots/[botid] with a GET and fetchXML as in #3650 (and as @nicodecleyre points out we can use dynamicsApiUrl/api/data/v9.0/bots?$filter=name eq '[Botname]' for the name version :)
Usage
m365 pp chatbot get
Description
Get information about the specified chatbot
Options
-i, --id [id]idornamebut not both.-n, --name [name]idornamebut not both.-e, --environment <environment>--asAdminExamples
Gets chatbot with given id in the default environment
m365 pp chatbot get --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --id 9be05428-a279-4aa3-ae54-8449c2cc2722Removes chatbot with given id in the default environment as administrator
m365 pp chatbot get --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --id 9be05428-a279-4aa3-ae54-8449c2cc2722 --asAdminAdditional Info
Most likely use
dynamicsApiUrl/api/data/v9.0/bots/[botid]with aGETandfetchXMLas in #3650 (and as @nicodecleyre points out we can usedynamicsApiUrl/api/data/v9.0/bots?$filter=name eq '[Botname]'for the name version :)