az bot msteams

Manage the Microsoft Teams Channel on a bot.

Commands

az bot msteams create

Create the Microsoft Teams Channel on a bot.

az bot msteams delete

Delete the Microsoft Teams Channel on a bot.

az bot msteams show

Get details of the Microsoft Teams Channel on a bot.

az bot msteams create

Create the Microsoft Teams Channel on a bot.

az bot msteams create --name
                      --resource-group
                      [--add-disabled {false, true}]
                      [--calling-web-hook]
                      [--enable-calling {false, true}]
                      [--subscription]

Examples

Create the Microsoft Teams Channel for a bot with calling enabled

az bot msteams create -n botName -g MyResourceGroup --enable-calling
--calling-web-hook https://www.myapp.com/

Required Parameters

--name -n

The resource name of the bot. Bot name must be between 4 and 42 characters in length. Bot name can only have the following characters -, a - z, A - Z, 0 - 9, and _.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--add-disabled

Add the channel in a disabled state.

accepted values: false, true
--calling-web-hook

The calling web hook to use on Microsoft Teams.

--enable-calling

Enable calling on Microsoft Teams.

accepted values: false, true
--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az bot msteams delete

Delete the Microsoft Teams Channel on a bot.

az bot msteams delete --name
                      --resource-group
                      [--subscription]

Required Parameters

--name -n

The resource name of the bot. Bot name must be between 4 and 42 characters in length. Bot name can only have the following characters -, a - z, A - Z, 0 - 9, and _.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az bot msteams show

Get details of the Microsoft Teams Channel on a bot.

az bot msteams show --name
                    --resource-group
                    [--query-examples]
                    [--subscription]
                    [--with-secrets {false, true}]

Required Parameters

--name -n

The resource name of the bot. Bot name must be between 4 and 42 characters in length. Bot name can only have the following characters -, a - z, A - Z, 0 - 9, and _.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--with-secrets

Show secrets in response for the channel.

accepted values: false, true