The Bot Framework and the Microsoft Graph
Join the Revolution!
Sébastien Levert
Hi! I’m Seb!
@sebastienlevert | http://sebastienlevert.com | Product Owner & Evangelist at
Agenda
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
C#
Basic Bot Demo
How does work the Bot Framework?
Microsoft Graph
What is the Microsoft Graph?
Groups
People
Conversations
Insights
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
USER
BOT
LUIS
GRAPH
QUERY
QUERY
QUERY
ANALYSIS
INTERPRETED
INTENT
DATA
SET
RETURNED
DATA SET
Input
Language
Interpretation
Graph Data
Bot
Response
AAD
MESSAGE
RETURNED
AUTH?
YES NO
AUTH
CREDENTIALS
AUTH
AUTH
Authentication
CREDENTIALS
GRAPH
CALL
Graph Bot Demo
Next Steps
Resources
• https://channel9.msdn.com/Events/Ignite/Microsoft-Ignite-Orlando-
2017/BRK3200
• https://bit.ly/LEARN_TO_BOT
Share your experience
• Use hashtags to share your experience
• #BotFramework
• #LUIS
• #MicrosoftGraph
• #SPFx
• Log issues & questions to the GitHub Repositories
Thanks!
@sebastienlevert | http://sebastienlevert.com | Product Owner & Evangelist at

SharePoint Fest DC 2019 - Bot Framework and Microsoft Graph - Join The Revolution