Bot Framework without Azure possible?

Yes, it should be possible to run your bot on IIS or in any other hosting service (including cloud hostings besides Azure) as explained here. You will have to make sure that your bot has an internet-accessible endpoint and a valid HTTPS cert.

Regarding the requirements for the HTTPS cert, I'm copying the info for this thread for your reference:

The Bot Framework requires that the x.509v3 certificate exposed by your endpoint be current and valid. Most of the checks for "current and valid" are standard checks for server certs: the CN must match the hostname, it must not be expired, it must not be listed in a CRL, it must have the correct set of EKUs, etc.

Most importantly, your cert must chain to a root certificate authority trusted by Microsoft. The latest list of these CAs is available here.

Also, you can register your bot and even enable the channels without deploying to Azure or any other hosting. You can temporarily use ngrok to create a secure tunnel to your localhost environment and test the bot in your email channel before exposing it to other users. BTW, you don't need to Publish your bot in the BotFramework portal, just register it. Publishing is just for those bots that would like to appear in the Bot Directory.


You need an account at Azure, but you don't need to host your bot directly at Azure. There are three options when you login to Azure dashboard: Web App Bot, Functions Bot and the Bot Channels Registration. Choose the Bot Channels Registration and type your bot's https URL (where you deployed it) there in settings.

Or if you want to debug your bot directly from the messenger (not emulator) you can download ngrok, then type in command line

ngrok.exe http <your port> -host-header="localhost:<your port>

then enter the ngrok proxy URL (without port) to Bot Channels Registration settings. Within several hours that temporary address will forward to your localhost.


Yes your bot is like an API that is consumed by a chat frontend like Facebook Messenger, Skype etc. Check out this medium blog explaining how to host on Heroku https://medium.com/@chinnatiptaemkaeo/create-fb-bot-with-heroku-nodejs-microsoft-bot-framework-687bd2893238


Yes the developing a bot is totally possible without using Azure Cloud portal.

  • You just need bot builder SDK for node.js or C#.
  • A code editor like VSCode
  • Testing on the bot emulator provided by Microsoft

    But for publishing the bot on channels or web apps you will have to register the Bot with Azure bot service. Check more here: https://thewebspark.com/2018/04/15/is-microsoft-bot-framework-without-azure-possible/