Drive User Engagement Across All
Your Devices with Microsoft Graph
Moaid Hathot
Software Consultant
What is it and why is it important for you?
Getting started and tools
API highlights
Cross-device and Timeline
What is it and why is it important for you?
1. Intentional, static 3. “Ambient” data2. Conversations, feeds
Constellations of data
Opportunity
90%
Fortune 500
companies have data
in Microsoft Graph
135M
Monthly active users in
Office 365
450B
Users authenticated
each month
65M+
Enterprise Mobility
seat install base (+55%
YoY)
181
Countries with
knowledge workers
using Office 365
1B+
Meetings scheduled
each month with
Office 365
Microsoft Graph is all
about you
If you or your customers are part of the millions
of users that are using Microsoft cloud services,
then Microsoft Graph is the fabric of all your
data
It all starts with /me
Gateway to your data in the Microsoft cloud
Your app
Gateway
Your or your
customer’s
data
Office 365 Windows 10 Enterprise Mobility + Security
1Microsoft Graph
Microsoft Graph
graph.microsoft.com
ALL
your data across
Microsoft 365
Office 365
Windows 10
EMS
ALL
Types of users
Corporate (@contoso.com)
Consumer (@outlook.com)
ONE
way to access it all
One endpoint
One auth key
One set of docs
One SDK
Microsoft 365 Platform
web, device,
and service apps
Extend Microsoft 365 experiences
1
iOS/Android/Windows/Web
Build your experience
Microsoft Graph
Getting started and tools
Developing with Microsoft Graph
graph.microsoft.com
TRY
Graph Explorer and
quick starts
LEARN
With docs and API
reference
DEVELOP
With SDKs, samples,
and tooling
TIP: Graph Explorer is your best friend
Quickly try requests
from your browser
Supported accounts:
Demo (commercial)
Consumer (@outlook.com)
Commercial (@fabrikam.com)
And it’s open source
Demo
Graph Explorer
API highlights
Yina!
Yina Arenas
Principal PM
/me
/me/photo/$value
/me/people
New login from this device
/security/alerts
Approval workflows | document approval
SELECT DOCUMENT
GET /drives/{id}/root/children
GET /drives/{id}/items/{id}
/thumbnail
GET /drives/{id}/items/{id}
BUILD MESSAGE SEND MESSAGE
POST /me/photo/$value
GET /drives/{id}/items/{id}
/thumbnail
POST /me/sendMail
POST
/me/drive/items/{itemId}/createLink
New UWP controls for Microsoft Graph
https://aka.ms/windowsToolkit
Adaptive cards
JSON based schema
Easy to author
Render in:
Bot Framework
Cortana
Outlook
Microsoft Teams
Skype
Windows timeline
Windows notifications
Demo
Adaptive cards
Cross-device and Timeline
Project Rome APIs in Microsoft Graph
Activities and crossdevice experiences
Activities
•
•
•
•
Devices
•
•
•
•
Project Rome: Activities
Request
PUT https://graph.microsoft.com/v1.0/me/activities/uniqueAppIdInContext HTTP/1.1
{ "appActivityId": "uniqueIdInAppContext",
"activitySourceHost": "https://myappsuniquedomain.com",
"appDisplayName": "Graph Demo",
"activationUrl": "https://developer.microsoft.com/en-us/graph/graph-explorer",
"visualElements": {"displayText": "Microsoft Graph Sample User Activity"},
"historyItems": [
{
"userTimezone": "America/Los Angeles",
"startedDateTime": "2018-04-22T20:40:04.345Z",
"lastActiveDateTime": "2018-04-23T21:00:24.345Z"
}
]
}
Demo
Activities in the Windows timeline
graph.microsoft.com
Get started today!
Twitter
#MicrosoftGraph
GitHub
/MicrosoftGraph
StackOverflow
[MicrosoftGraph]
You’ll learn:
Learn more!
Check out the lab for this session!
• Build a graph app from starter kits
• Manage files and content with Graph API
• Write user activities with adaptive cards
aka.ms/insiderdevtour-graph
Next up…
Thanks!
Please don’t forget to complete the survey!
Get Started with Machine Learning
Moaid Hathot
Insider Dev Tour

Microsoft graph (Insider Dev Tour)