Microsoft Graph
Community Call
January 2nd, 2018
8:00AM PST
• https://aka.ms/microsoftgraphcall
• Monthly cadence
• Next call: February 6th, 2018
• What’s new & how you can use it
• Meet the product teams behind Microsoft Graph
• Technical deep dives
• Q&A
Call agenda
Dmitry Pimenov Michael Mainer
@dpim @MichaelMainer
Microsoft Graph
Overview
Users Groups Outlook OneNote more…SharePoint IntuneTeams Azure ADPlanner Excel
https://graph.microsoft.com
Your app
Access user, group and organizational data
Operation Service endpoint
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 calendar https://graph.microsoft.com/v1.0/me/calendar
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 users in my organization https://graph.microsoft.com/v1.0/users
GET group conversations https://graph.microsoft.com/v1.0/groups/<id>/conversations
GET people related to me https://graph.microsoft.com/v1.0/me/people
GET my tasks https://graph.microsoft.com/beta/me/tasks
GET my notes https://graph.microsoft.com/beta/me/notes/notebooks
GET files trending around me https://graph.microsoft.com/beta/me/insights/trending
… more
https://graph.microsoft.com
/v1.0 /beta
/users /groups /sites /drives /devices more…
/users/dmitry
/users/dmitry/department
/users/dmitry/events
/users/dmitry/events?$top=5
$select $orderby
$filter $expand
$top $skip $skiptoken
/{version} ?{query-parameters}/{resource}/{id}/{property}
What’s new in
Microsoft Graph
• ~/v1.0/reports/getMailboxUsageDetail(period='D7’)
• ~/beta/reports/getMailboxUsageDetail(period='D7')?$fo
rmat=application/json
Your recommendations
• Java SDK for Microsoft Graph is under active development
• Preview will be available in January-February 2018
• Intune has APIs enabling granular MFA policies
• Exchange on-prem
• Windows 10 VPN settings
• See Graph docs for more information
• It’s now possible to get and update category colors
• GET ~/beta/me/outlook/masterCategories
• Email response headers are now available in /beta
• See API reference for additional detail
We have a demo and are looking for feedback
• https://graphql-demo.azurewebsites.net
Deep dive
Working with beta APIs in
Microsoft Graph .NET SDK
Beta reference
• Phase 1: Build the SDK generation tool
• Phase 2: Generate and build the beta model class library
• Phase 3: Integrate beta model class library into your project
Tutorial: https://github.com/MichaelMainer/msgraph-sdk-dotnet-beta
Phase 1: Build the SDK generation tool
https://graph.microsoft.com/beta/$metadata
Microsoft Graph SDK Code Generator
Phase 1: Build the SDK
generation tool
Phase 2: Generate and build the beta
model class library
.NET Beta Model Repo
Phase 3: Integrate beta models
C# Console Connect Sample
Community contributions
How to make a custom connector for PowerApps and
Flow that calls the Microsoft Graph
Access Microsoft Graph API using Custom
Connector in PowerApps and Flow
How to make a Graph-powered Clippy
Microsoft Graph Capabilities (delta queries)
Office 365 – Development by selecting API
Accessing Microsoft Teams Usage Data in code with
Microsoft Graph
Getting started with Microsoft Graph API in a Xamarin
Forms application
https://aka.ms/OfficeDevYouTube
https://aka.ms/GraphCallQuestions
https://aka.ms/MicrosoftGraphCall
Microsoft Graph Community call 1-2-18

Microsoft Graph Community call 1-2-18