Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of...

41

Transcript of Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of...

Page 1: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu
Page 2: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu

Microsoft GraphMark Stafford, Graph PM

Page 3: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu

• Microsoft Graph, what and why

• 5 steps to your first Graph app

• App patterns

• 5 tips and tricks to become a Graph coder

• What’s new and roadmap

Page 4: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu

Office 365

Windows 10

Enterprise

Mobility + Security

Your tailored

experiences or

customizations

Page 5: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu

18 trillionMicrosoft Graph nodes

180 millionmonthly active users of Office 365 commercial

90%Fortune 500

1 billionusers across work,

life and edu

100 billionMicrosoft Graph

requests per month

1 millionmonthly active apps

using Microsoft Identity

Your tailored

experiences or

customizations

Page 6: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu

Microsoft Graph

data connect

Microsoft Graph

Office 365 Windows 10 Enterprise Mobility + Security

Microsoft Graph

REST APIs and webhooks

Documents Conversations Portals Timeline

Extend Microsoft 365 experiences

Web apps

Bots & agents

Device & native

Daemon apps

Workflow automation

Build your experience

Connectors

Microsoft Identity

Azure AI platformYour local data

Search Analytics apps

Page 7: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu

Apps

ConnectorsMicrosoft Graph

Data Connect

Microsoft Graph

REST APIs and WebhooksInterfaces

Data Microsoft 365 Your domain

Capabilities

Libraries

UX

Auth

Web AutomationBots AnalyticsNative Flows

Page 8: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu

Apps

ConnectorsMicrosoft Graph

Data ConnectInterfaces

Data Microsoft 365 Your domain

Capabilities

Libraries

UX

Auth

AutomationBots AnalyticsNative FlowsWeb

Microsoft Graph

REST APIs and Webhooks

Page 9: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu

Apps

ConnectorsMicrosoft Graph

Data ConnectInterfaces

Data Microsoft 365 Your domain

Capabilities

Libraries

UX

Auth

AutomationBots AnalyticsNative FlowsWeb

Microsoft Graph

REST APIs and Webhooks

Page 10: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu

your

Users, Groups, Organizations

Outlook

SharePoint

OneDrive

Teams

Planner

Excel

OneNote

Activities

Device Relay

Commands

Notifications

Azure AD

Intune

Identity Manager

Advanced Threat Analytics

Advanced Threat Protection

Mail, Calendar,

Contacts and Tasks

Sites and Lists

Drives and Files

Channels, Messages

Tasks and Plans

Spreadsheets

Notes, and more…

Identity Management

Access Control

Synchronization

Domains

Administrative Units

Applications and Devices

Advanced Threat Analytics

Advanced Threat Protection

Alerts

Policies

and more…

Office 365 Windows 10 Enterprise Mobility + Security

https://graph.microsoft.com

Dynamics 365

Business Central

Page 11: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu

5 simple steps

https://aka.ms/ge

Page 12: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu
Page 13: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu

5 simple steps

https://aka.ms/ge

Page 14: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu
Page 15: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu
Page 16: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu
Page 17: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu
Page 18: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu
Page 19: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu
Page 20: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu
Page 21: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu
Page 22: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu
Page 23: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu
Page 24: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu
Page 25: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu
Page 26: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu
Page 27: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu

Example Scheduling app for

flight crew

Lost luggage helper New flight crew

provisioning

Flight crew analysis

Auth Interactive user Device code App only App only

Challenge Offline sync Limited real estate Throttling Security and privacy

Decision Middle tier or no Bot or not How to get changes Where to unify data

Ingredients Microsoft Graph

toolkit

Adaptive cards Azure Functions

bindings

Microsoft Graph data

connect

Page 28: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu

5 tips and tricks

Page 29: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu
Page 30: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu

TIP 4 | Webhooks Delta query

Scenario Same scenarios as before, but if you need to optimize further…

TipsUse webhook notifications as the

trigger to make delta query calls

Put notifications in a queue for later processing

Why Difficult to figure out optimal polling interval

Page 31: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu

Application https://graph.microsoft.com/v1.0

{“@odata.nextLink”:”https://graph.Microsoft.com/v1.0/{resource}/delta?$skipToken=ABC”,

“value”:[{“id”:”1”,”displayName”:”foo”}, {“id”:”2”,”displayName”:”bar”}]}

/{resource}/delta?$select=id,displayName

{“@odata.deltaLink”:”https://graph.Microsoft.com/v1.0/{resource}/delta?$deltaToken=DEF”,

“value”:[{“id”:”3”,”displayName”:”baz”}]}

https://graph.Microsoft.com/v1.0/{resource}/delta?$skipToken=ABC

{“@odata.deltaLink”:”https://graph.Microsoft.com/v1.0/{resource}/delta?$deltaToken=XYZ”,

“value”:[{“id”:”1”,”displayName”:”My data was updated”}]}

https://graph.Microsoft.com/v1.0/{resource}/delta?$deltaToken=DEF

Page 32: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu

TIP 5 |

Use least privilege!

Be thoughtful when configuring your app!

Page 33: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu

App type

Scenario

Who can

consent

Effective

Permissions

Delegated Permissions Application Permissions

Mobile, Web and SPA Service and Daemon

Users can consent

for self

Admin can consent

for self or all users

Only admin

can consent

Permissions

granted to

App

Get access as a serviceGet access on behalf of users

App

+

User

https://aka.ms/ConsentAndPermissions

Permissions

granted to

App

User’s

Permissions

Page 34: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu
Page 35: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu

Generally Available ( /v1.0 ) Preview ( /beta )

Office 365Exchange (get schedule)

SharePoint (get item analytics)

Teams APIs

EMSSecurity (secure score)

AAD (audit and sign in logs, identity providers, groups

naming policy, group based licensing APIs, nested

membership expansion on groups, export personal data)

Microsoft Graph data connect

Office 365Exchange (MIME messages, MIME item attachments, raw file

attachments)

SharePoint (security events webhooks)

OneDrive (follow/unfollow documents, expiring links in

permissions API)

Teams (1:1 chat messages, shifts management)

Connectors private preview

EMSSecurity (Logic App/Flow/Power Apps connectors, Power BI

connector, Jupyter Notebooks, threat indicators, security actions)

AAD (application sign-in reports, custom sign-up and sign-in

policies in Azure AD B2C, risky user and history)

DynamicsBusiness Central (Financials)

Data sets

Page 36: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu

Generally Available Preview

SDK Releases .NET – Version 1.15

Java – Version 1.3 Android Support

Java – Version 1.X lightweight core library (*new*)

JavaScript – Version 1.6.0

Objective C – Version 1.0 (*new*)

New SDK Features (across languages) Retry and Redirect Support

Download decompression support

Page iterator Task

Large File Upload Task

Client Factory

DocsSDK Getting started docs

Code snippets in reference documentation (.NET, Java)

Updated SDKs for Beta API .NET

PHP

Typescript

New SDK Features (across languages) Microsoft Graph Authentication Providers for MSAL

Microsoft Graph Toolkit

Postman collections

DocsEmbedded try experience (coming soon)

DevX Tooling

SDKs and Toolkit are all OSS on https://github.com/microsoftgraph

Page 37: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu
Page 38: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu

Microsoft Graph

data connect

Microsoft Graph

Office 365 Windows 10 Enterprise Mobility + Security

Microsoft Graph

REST APIs and webhooks

Documents Conversations Portals Timeline

Extend Microsoft 365 experiences

Web apps

Bots & agents

Device & native

Daemon apps

Workflow automation

Build your experience

Connectors

Microsoft Identity

Azure AI platformYour local data

Search Analytics apps

Page 39: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu

https://aka.ms/o365devprogram

Page 40: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu

Office 365

Windows 10

Enterprise

Mobility + Security

Your tailored

experiences or

customizations

https://graph.microsoft.com

Page 41: Microsoft Graph€¦ · 18 trillion Microsoft Graph nodes 180 million monthly active users of Office 365 commercial 90% Fortune 500 1 billion users across work, life and edu

Thank you!https://aka.ms/graphhttps://aka.ms/o365devprogram