Skip to main content

How Microsoft's Bot Framework works with Dynamics CRM

by Andre Margono
Solution Architect, Barhead Solutions,
Microsoft Bots

At its Build Conference 2016, Microsoft announced the Microsoft Bot Framework, stating that it "provides "everything you need to build and connect your bots to your users wherever they converse - from SMS to Office 365 mail to Slack and more."

I've spent a few months reading about and researching the new Microsoft Bot Framework and I have written a four-part blog post series to introduce how the Microsoft Bot Framework works with Microsoft Dynamics CRM, which I will summarize here.

We will explore how to configure the development environment and run the Bot Framework template to get the "Hello World" kind of reply from the bot.

Getting Started with Microsoft Bot Framework

Microsoft Bot Framework supports Node.js, .NET and REST Bot Builder SDK. In my posts, I will use .NET-based bot because it is the most common platform that CRM developers use to get up to speed with the Bot Framework.

The first thing you have to do to start building the bot is set the development environment. Here is my development environment setup:

  • Visual Studio 2015 Update 3 (latest update)
  • Bot Builder SDK (download links are here)
  • Visual Studio C# template (download here)
    • To install, extract the downloaded template and copy it to Visual Studio Project Template. Typically it is located on: "Documents\Visual Studio 2015\Templates\ProjectTemplates\Visual C#"
  • Bot Framework ...

    FREE Membership Required to View Full Content:

    Joining MSDynamicsWorld.com gives you free, unlimited access to news, analysis, white papers, case studies, product brochures, and more. You can also receive periodic email newsletters with the latest relevant articles and content updates.
    Learn more about us here

About Andre Margono

Andre Margono is a solution architect with Barhead Solutions in Australia, and maintains the blog Work and Study book – Dynamics CRM Blog. Margono is a three-time Dynamics CRM MVP award winner, for 2014, 2015 and 2016. Margono has extensive experience of successfully delivering and building CRM solutions, with a sound understanding of numerous CRM platforms, backed up with experience throughout the whole process of SDLC.

More about Andre Margono