question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't publish my bot to azure

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
sujeongHeocommented, Jun 5, 2020

I finally success deploy bot 😃

image

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

Regards, sujeong

1reaction
luhan2017commented, Jun 5, 2020

@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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to publish my bot on Azure from bot framework ...
Unable to publish my bot on Azure from bot framework composer. Once the bot has been created, I am unable to publish it...
Read more >
Unable to Publish My bot with Bot framework composer
1 Answer · Went to Publish · Had to create a Publishing profile · Have got a choice to choose from · Choosen...
Read more >
Publish a bot to Azure from Composer - Microsoft Learn
In the Publish your bots pane, select the Publish tab. ... In the Publishing target box, select Publish bot to Azure. Then select...
Read more >
Unable to Publish Composer Bot App - Microsoft Learn
Hello Everyone,. I am trying to publish my composer bot app in Azure. I am referred below links of Microsoft for the same,....
Read more >
Provision and publish a bot in Azure - Microsoft Learn
Learn how to create Azure resources and publish your bot to Azure.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found