microsoft / BotBuilder-Samples

Welcome to the Bot Framework samples repository. Here you will find task-focused samples in C#, JavaScript/TypeScript, and Python to help you get started with the Bot Framework SDK!
https://github.com/Microsoft/botframework
MIT License
4.38k stars 4.88k forks source link

Node.js dice roller bot [50] instructions incorrect to Deploy this bot to Azure #683

Closed JonathanFingold closed 5 years ago

JonathanFingold commented 6 years ago

Sample information

  1. Sample type: [samples]
  2. Sample language: [nodejs]
  3. Sample name: 50.diceroller-skill

Describe the bug

After getting the bot working locally, instructions to Deploy this bot to Azure generate an error.

To Reproduce

Steps to reproduce the behavior:

  1. If you haven't done so already, sign in on the Azure portal and create a bot channels registration resource for the bot.
    • Note the resource name and corresponding Subscription ID.
  2. Try to clone the bot, using the bot channels registration name and subscription ID, and using westus as the location:
    msbot clone services -f deploymentScripts/msbotClone -n <BOT-NAME> -l <Azure-location> --subscriptionId <Azure-subscription-id>
  3. See error:
    Command failed: az account show--subscription <subscriptionId>ERROR: az account: 'show--subscription' is not in the 'az account' command group. See 'az account --help'.

Expected behavior

Following the instructions should produce the advertised results.

[bug]

benbrown commented 5 years ago

This sample will soon be deprecated.