Deploy Bot from Bot framework composer to azure function app

1k views Asked by At

I want to Deploy my Bot from Bot framework Composer to azure function app (node.js, ~12) and azure channel registration for testing and deploying to other channels.

enter image description here

2

There are 2 answers

0
Stanley Gong On BEST ANSWER

If you want to deploy your bot via Bot framework Composer, you should config your Publish Configuration in your publish profile. Please follow this official guide to get the publish config and paste it into your publish profile.

I tested the whole process on my side, it works perfectly for me: enter image description here

Paste this to publish profile to deploy: enter image description here

enter image description here

Test my echo bot: enter image description here

Btw, while I test the whole process, I got a function runtime error after deployment :

Could not load file or assembly 'Microsoft.BotFramework.Composer.Functions

When I change Azure function platform from 32 to 64, this issue got solved: enter image description here

3
MIkey On

I am having similar trouble. I did follow Microsft standard deployment procedure by running the following script:

node provisionComposer.js --subscriptionId= --name= --appPassword= --environment=

But, no luck. the script failed and returned the following error:

using tenant id : creating app registration user was not found ** provision failed **

I did make sure that I put in the right "subscription id".
Can any she some light on this?

Thanks.