Skip to main content Explore View all products (200+) Microsoft Foundry Azure Copilot GitHub Copilot Azure Kubernetes Service (AKS) Azure Cosmos DB Azure Database for PostgreSQL Azure Arc Microsoft Fabric Linux virtual machines in Azure Foundry Models Foundry Agent Service Foundry IQ Foundry Tools Foundry Control Plane Observability in Foundry Control Plane Azure OpenAI in Foundry Models Azure Speech in Foundry Tools Azure Machine Learning View all databases Azure Cosmos DB Azure DocumentDB Azure SQL Azure Database for PostgreSQL Azure Managed Redis Microsoft Fabric Azure Databricks Linux virtual machines in Azure Windows Server on Azure Azure Functions Azure Virtual Machine Scale Sets Azure API Management Azure Container Apps Azure Kubernetes Service (AKS) Azure Kubernetes Fleet Manager Azure Container Registry Azure Red Hat OpenShift Azure Container Instances Azure Container Storage Azure Arc Azure Local Microsoft Defender for Cloud Azure Monitor Microsoft Sentinel Azure Migrate View all solutions (40+) Cloud solutions for small and medium businesses Cloud migration and modernization center Data analytics for AI Azure Databases AI apps and agents Microsoft Marketplace Microsoft Sovereign Cloud AI apps and agents Responsible AI with Azure AI Infrastructure Data analytics for AI Machine learning operations (MLOps) Low-code application development on Azure Integration Services Serverless computing DevOps Migration and modernization center .NET apps migration Databases on Azure Linux on Azure Oracle on Azure SAP on the Microsoft Cloud Adaptive cloud High-performance computing (HPC) Infrastructure as a service (IaaS) Resiliency Azure Essentials Frontier Accelerate for Azure FinOps on Azure Microsoft Marketplace Azure pricing overview Create an Azure account Free Azure services Flexible purchase options Pricing calculator FinOps on Azure Maximize ROI from AI Azure savings plans Azure reservations Azure Hybrid Benefit Virtual Machines Azure SQL Microsoft Foundry Microsoft Fabric Azure Kubernetes Service (AKS) Microsoft Defender for Cloud View more Software Development Companies Microsoft Marketplace Find a partner Resources for Azure partners Get started with Azure Customer stories Analyst reports, white papers, and e-books Videos Learn more about cloud computing Documentation Explore Azure portal Developer resources Quickstart templates Resources for startups Developer community Students Azure for partners Blog Events and Webinars Learn Support Contact Sales Get started with Azure Sign in

Last week at //Build, Microsoft announced some exciting new technology called the Bot Framework. It allows developers to create intelligent bots to interact with users in a natural way. The possibilities of these new types of technologies get tremendously larger when coupled with Azure Services.

In just one weekend I was able to make a bot that leveraged workflows (Logic Apps), APIs (Web Apps), security (Azure AD), on-premise systems (Hybrid Connections), and Machine Learning (luis.ai) to create a bot that improved my work productivity. The power and variety of Azure offerings was the only reason I was able to build such a system in such a short amount of time.

The amount of cutting-edge technology that Azure puts at your fingertips is incredible. Tasks like building a web server or integration workflow that used to take weeks can now be accomplished in seconds. Bundling Azure services allows developers to create solutions that, even a few months ago, would have seemed out of reach given years. Here was the scenario I built a bot for over a weekend thanks to the power of Bot Framework and Azure:

I spend much of my day in Visual Studio Team Services. I’m often checking the status of bugs, managing the product backlog, or creating new items. I built a bot powered by Azure that allows me to do all of this through natural speech – like “Can you search bugs for serialization issues?” Whenever an action or query needs to be executed, I trigger a Logic App workflow to handle the logic and integrate through a custom API App to the Team Foundation Server. I wanted to make sure the solution was secure, so added Azure Active Directory authentication to the bot and apps. Azure Machine Learning powers the speech intelligence.

Bot Diagram

Not only does Azure make this scenario possible, I can now decouple this complex problem into individual pieces that are best at performing each action. If I notice my language detection is failing to detect certain intents, I can log into luis.ai to re-train the model without having to touch or redeploy any production code. If I decide later to increase the number of items returned by a workflow, or if my Team Foundation Server moves, I can simply open the Logic App and modify the parameters in my workflow. Not to mention, I can use the pieces I built in other scenarios (for example I have another Logic App that will file a bug when I place mail in a certain folder that can easily leverage pieces I built for this scenario).

Check out these instructions if you’re interested in building your own bot, creating a node.js or C# web app. Machine learning integration is built into the SDK. Once built, you can easily “one-click publish” the bot app into Azure so it can be connected to through a number of different clients (find details on getting started here). Finally, I prefer to use Logic Apps as a callable endpoint to decouple the workflow from the bot, and return any results I need from a number of different services and integrations like SQL, Blob, Twitter, and more. Finally, to secure your bot, you can require users first authenticate against Azure Active Directory. I’ve posted my completed solution to my GitHub.

After a weekend of hacking, I was able to create my own secure, scalable, intelligent bot.

Telegram

This is just a small example of how Azure brings new capabilities, rapid development, and empowerment into solving complex problems. Feel free to reach out in the comments section below if you have any questions.

WE ARE MICROSOFT

Explore Microsoft Foundry

The future of AI starts here. Envision your next great AI app with the latest technologies. Get started with Azure.