Using the MS Virtual Assistant Template I have deployed a Bot, with LUIS , QnA maker etc, but using the methods I have previously used, I'm unable to install a bot in teams to consume whats been deployed.... any guidance, references would be of great help surrounding bot deployment in teams with MS VA
1 Answers
You will have to explicitly add the graph permissions for your Virtual Assistant app registration. There is a guide on how permissions can be added here (Azure Active Directory > App Registrations > Your App > API Permissions
.
I don't believe a Bot registration is what you want, my understanding as per this answer is that a Bot Channels Registration resource is to connect your bot from outside Azure to channels supported by Azure, i.e. you have your own custom bot written in your own Framework but you want to expose it to people via the Azure Bot Service.
For both testing a bot in MS Teams and getting it into production your will need to register your bot for the MS Teams channel. You go to Your Bot > Channels > MS Teams > Click through the prompts
. The official guide is available here.
Once you have done the above you will be able to access your bot in MS Teams via it's ID Guid (Microsoft App ID
- which can be found under Your Bot > Settings
). You can search for the Microsoft App ID in the search bar of teams, then your bot should display under the People tab as per this documentation. At this stage you are talking to your bot hosted in Azure but it is still not published.
When you are happy with your bots functionality you can look into creating an app package for your bot - I would recommend using App Studio for this, if you need to publish it to only the catalog for your tenant then a guide is available here.
As an aside to run your bot locally but debug it in a channel of your choice (MS Teams, Web Chat etc) you can follow this guide to get remote debugging temporarily setup via ngrok.