BotBuilder-Samples icon indicating copy to clipboard operation
BotBuilder-Samples copied to clipboard

Java sample bot deploy meet subscription not match

Open woasishen opened this issue 3 years ago • 0 comments

Sample information

  1. Sample type: [samples]
  2. Sample language: [spring bot]
  3. Sample name: <02.echo-bot>

Describe the bug

After I excute mvn azure-webapp:deploy -Dgroupname="resource-group-name" -Dbotname="name-of-web-app"

image

Notice: az account set --subscription "" can't fix it. I think the subscriptionId should add to the pom.xml and use mvn azure-webapp:deploy -Dgroupname="resource-group-name" -Dbotname="name-of-web-app" -Dsubscription="subscriptionId-of-web-app"

To Reproduce

  1. create appservice
  2. follow doc to excute mvn azure-webapp:deploy -Dgroupname="<resource-group-name>" -Dbotname="<name-of-web-app>"

woasishen avatar Sep 01 '22 03:09 woasishen