Skip to content

New command: m365 pp chatbot get #4107

Description

@appieschot

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 :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions