Botframework-composer: Tenant Id publishing script must be non optional.

Created on 21 Jun 2020  路  5Comments  路  Source: microsoft/BotFramework-Composer

Describe the bug

Prerequisite: The used Azure Account is member of several organizations.

When following the Create Azure resources, at step 3 you will get an error about "User not found".

Version

v 1.0.1

Browser

  • [X] Electron distribution
  • [ ] Chrome
  • [ ] Safari
  • [ ] Firefox
  • [ ] Edge

OS

  • [ ] macOS
  • [X] Windows
  • [ ] Ubuntu

To Reproduce

Steps to reproduce the behavior:

Follow the Publish a bot tutorial and at section Create Azure resources where you run the command in step 3 an error about "User not found" will happen.

Expected behavior

The azure resource should be created without error.

Possible solution

There are several possible solutions:

A. Mention in the bot publishing tutorial to the user to provide a tenant id in case if it is member of several organizations.

B. The Azure Tenant Id is a required parameter for the build script.

C. The build script checks for the "User not found" error and prompts to specify a tenant id.

Bug publish

All 5 comments

@zxyanliu to be aware of the tenant id updates.

@rubit0 , we had a fix for this here #3359, which will be available soon in the next patch release. In this PR, we switched to another API to get the tenant id which is bound to this subscription.

@luhan2017 @hibrenda Let's sync offline for any updates I should make in the doc.

@luhan2017 Do I need to do any updates in the docs? I think this issue was addressed through #3359, which was merged.

@zxyanliu , we don't need to update the doc, the PR is just fixing a bug and there is no change on user scenario.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sujeongHeo picture sujeongHeo  路  15Comments

cxbuilders picture cxbuilders  路  16Comments

KoradaRajesh picture KoradaRajesh  路  25Comments

hraz-msft picture hraz-msft  路  21Comments

philip-mc picture philip-mc  路  14Comments