This document discusses building apps using Microsoft Graph. It provides an overview of Microsoft Graph, the opportunity it presents with many users and large amounts of data stored in Microsoft systems. It then covers the supported programming languages, the different API categories available in Microsoft Graph including users, files, mail, calendar and more. It demonstrates common queries and authentication approaches. Finally, it references additional resources and invites questions.
2. Who am I?
ā¢ Udaiappa Ramachandran ( Udai )
ā¢ CTO, Akumina, Inc.,
ā¢ Consultant
ā¢ New Hampshire Cloud User Group (http://www.meetup.com/nashuaug )
ā¢ Focus on Cloud Computing
ā¢ Microsoft Azure, Amazon Web Services and Google
ā¢ http://cloudycode.wordpress.com
ā¢ @nhcloud
3. Agenda
ā¢ Overview of Microsoft Graph
ā¢ Opportunity
ā¢ Supported Languages
ā¢ API Category
ā¢ Auth
ā¢ Demo
ā¢ References
ā¢ Q & A
4. Opportunity
ā¢ 85% of all Fortune 500 companies have data in Microsoft Graph
ā¢ 100M monthly active users on Office 365 commercial
ā¢ 400M outlook.com active users
ā¢ 8T resources (emails, events, users, files, groups and more) in Microsoft Graph
Source: https://developer.microsoft.com/en-us/graph
7. What you can build
ā¢ Dashboard
ā¢ Bots
ā¢ Smart Calendar
ā¢ Connecting People and Devices
ā¢ Intranet portals/Digital workplace
ā¢ ā¦.and More that can use Graph Data
8. Microsoft Graph-API Category
ā¢ Users
ā¢ Groups
ā¢ Outlook Mail
ā¢ Outlook Calendar
ā¢ Personal Contacts
ā¢ OneDrive
ā¢ Excel
ā¢ Planner
ā¢ Insights
ā¢ People
ā¢ Extensions
ā¢ OneNote
ā¢ SharePoint Sites
ā¢ SharePoint Lists
ā¢ Batching (beta)
ā¢ Microsoft Teams (beta)
9. Common queries
Operation URL
GET my profile https://graph.microsoft.com/v1.0/me
GET my files https://graph.microsoft.com/v1.0/me/drive/root/children
GET my photo https://graph.microsoft.com/v1.0/me/photo/$value
GET my mail https://graph.microsoft.com/v1.0/me/messages
GET my high importance email https://graph.microsoft.com/v1.0/me/messages?$filter=importance%20eq%20'high'
GET my calendar events https://graph.microsoft.com/v1.0/me/events
GET my manager https://graph.microsoft.com/v1.0/me/manager
GET last user to modify file foo.txt https://graph.microsoft.com/v1.0/me/drive/root/children/foo.txt/lastModifiedByUser
GET Office365 groups Iām member of https://graph.microsoft.com/v1.0/me/memberOf/$/microsoft.graph.group?$filter=groupTypes/any(a:a%20eq%20'unified')
GET users in my organization https://graph.microsoft.com/v1.0/users
GET groups in my organization https://graph.microsoft.com/v1.0/groups
GET people related to me https://graph.microsoft.com/v1.0/me/people
GET items trending around me https://graph.microsoft.com/beta/me/insights/trending
GET my notes https://graph.microsoft.com/beta/me/onenote/notebooks