Home

Getting a bot ID for a locally created bot.

BradCairns
Occasional Visitor

How do I get a botID for a bot I created locally in Visual Studio? This is to be put into the manifest.json to upload the bot to Teams.

 

 

2 Replies
Hi!

See here. You get the BotID when you register the Bot with the Microsoft Bot Framework

https://www.oreilly.com/library/view/building-bots-with/9781786463104/bfd23497-8378-43df-8e85-929c4a...

https://www.c-sharpcorner.com/article/register-bot-with-microsoft-bot-framework/

Hope that answers your question!

Best, Chris

@BradCairns 

Even though the bot is created locally, the appId and appPassword should go through the App Registration process from the Azure Portal as shown below. I would also recommend going through the new App Registration (Preview) as it supports OAuth 2.0

 

BotRegistration.png

For the bot to be considered as a bot (not as an app) by Microsoft Teams, it must be hosted in Azure and must go through Bot Channels Registration via Bot Services in Azure Portal, where in you would get the option to create appId and appPassword.

Related Conversations