How to publish Bot app to Azure using az botservice extension

Published Dec 18 2018 03:07 PM 1,286 Views

1. Install the latest version of the Azure cli tool.

2. Launch PowerShell window with administrator privileges

Run the following commands:
az extension add -n botservice
az login


For Azure CLI 2.0.53:

az bot publish -g JasonBotV4Test --resource-group ASPNetCoreJasonTestRG -n JasonBotV4Test --proj-file BasicBot.csproj --version v4


where JasonBotV4Test is the Bot Name, ASPNetCoreJasonTestRG is the ResourceGroup name, BasicBot.csproj is the project file name.



For Azure CLI 2.0.55:

az bot publish -g BOT_NAME--resource-group RESOURCE_GROUP -n BOT_NAME -v v4 --proj-name BOT_NAME




Version history
Last update:
‎Jan 25 2019 06:36 PM
Updated by: