BotFramework-Composer: Can't publish my bot to azure

image

Hi, I have a trouble with deploy bot.

  1. First I tried node provisionComposer --subscriptionId=free-trial-subscriptionid --name=test1 --appPassword=password also do like below way. node provisionComposer.js --subscriptionId=free-trial-subscription_id --name=resource_group_name --appPassword=over16characters

The Login page do appeared but error occured like above picture

image

  1. for debug this error, I just check some err message appeared in provisionComposer.js

image

I just change the code message: err.body.message to message: err

  1. Then I research for this error,

Error: {"odata.error":{"code":"Authentication_Unauthorized","message":{"lang":"en","value":"User was not found."},"requestId":"b527bd0d-dee0-4643-bfaf-b0902dacee99","date":"2020-06-04T05:47:06"}} ** Provision failed ** and I found this page . https://github.com/Azure/migAz/issues/201, and https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/add-change-subscription-administrator

I try to apply above context, So i add my email as owner in Access Control page

image

image

So please help me to fix this error.

Thank you!

By the way, is there any way to connect this bot-frame-work-composer maded chatbot with local sql or mongodb??

Any comments would be really appreciated. Thanks

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

I finally success deploy bot 😃

image

Thank you so much, we’ve worked it out!

Regards, sujeong

@sujeongHeo , Great, thank you very much for working with me resolve this issue patiently.

@zidaneymar , thanks to Sujeong, I found that we can improve our way of getting tenantid. We can use this API: https://docs.microsoft.com/en-us/rest/api/resources/subscriptions/get This is to get the tenantId of the subscription.