The Bot Framework and the Microsoft Graph Join the Revolution! Sébastien Levert
Hi! I’m Seb! @sebastienlevert | http://sebastienlevert.com | Product Evangelist & Partner Manager at
Agenda Bot Framework Microsoft Graph SharePoint Framework Next Steps
Bot Framework
What is a Bot? An Internet bot, also known as web robot, WWW robot or simply bot, is a software application that runs automated tasks (scripts) over the Internet. Typically, bots perform tasks that are both simple and structurally repetitive, at a much higher rate than would be possible for a human alone.
Why building a Bot? Because you want to use bleeding-edge technology Because you have a scenario where you want to use natural language processing Because the best UI, is no UI Because we live within conversations all day long
What is the Bot Framework? Build and debug bot business logic Manage conversations with dialogs Have richer interactions with cards Connect to lots of channels Emulator for dev and test Customer’s business logic and data Bot connector C# BOT BUILDER Third-party Bot Controls Skype Bing LUIS Query over database via Azure Search Form Filling QnA WebChat Skype for Business Cortana Direct Line
How does work the Bot Framework?
Basic Bot Demo
Microsoft Graph
What is the Microsoft Graph? Conversations Insights People Groups
Why building a Bot using the Microsoft Graph? Understand the user context and act upon it Retrieve data from all the different data stores that exist around the user Notify the user of changes happening in real-time on its data Perform an action on the Microsoft Graph
Authentication Flow with BotAuth Language Interpretation Bot Response Input Authentication Graph Data QUERY AUTH MESSAGE RETURNED USER CREDENTIALS QUERY INTERPRETED INTENT AUTH? AUTH GRAPH CALL RETURNED DATA SET BOT YES NO CREDENTIALS AUTH AAD QUERY ANALYSIS LUIS DATA SET GRAPH
Graph Bot Demo
ShrePoint Framework
Integrating the Bot Framework in the SharePoint Framework Known technology Simplified authentication through the Back Channel In-Context bot through an Application Customizer or a WebPart Accessing the Microsoft Graph through ADAL
SPFx Bot Demo
Next Steps
Resources Build smarter bots and devices by connecting to the Microsoft Graph Microsoft Graph Bot Quickstart w/ LUIS SharePoint Framework Bot with Bi-directional Context via Back Channel
Share your experience Use hashtags to share your experience #BotFramework #LUIS #MicrosoftGraph #SPFx Log issues & questions to the GitHub Repositories
Thank you! @sebastienlevert | http://sebastienlevert.com | Product Evangelist & Partner Manager at