Blog Post

IIS Support Blog
1 MIN READ

How to publish Bot app to Azure using az botservice extension

JasonXu's avatar
JasonXu
Icon for Microsoft rankMicrosoft
Dec 18, 2018

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

 

 

 

Updated Jan 26, 2019
Version 2.0
No CommentsBe the first to comment