37
Discover Microsoft Graph Michael Bowman, Senior Program Manager Raymond Xue, Principal Software Engineering Manager

Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

Discover Microsoft GraphMichael Bowman, Senior Program Manager

Raymond Xue, Principal Software Engineering Manager

Page 2: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

Transition

to the cloud

Deliver new

productivity

experiences

on mobile

Build a modern

productivity

ecosystem

Reinventing productivity

Page 3: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

Reinventing productivity

Collaborative productivity

Intelligence everywhere

Trusted at all times

Mobility of experiences

Page 4: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

"The most strategic developer surface area for us is Office 365.“

—Satya Nadella

Page 5: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

Developer opportunity

DATA

4T+ emails sent with O365 per month

3B minutes of Skype calls daily

1B+ meetings created per month

INTELLIGENCE

Microsoft Graph API calls

420% monthly growth

USERS

1.2BOffice users

Strongpresencein enterprise

340Mdownloads of Office mobile

50K+ new O365 small businesses per month

Page 6: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

Developer opportunity

Build intelligent

apps by

connecting

to Office services

Make your

solution part

of Office apps

Engage users

through

conversations

Page 7: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

What is Microsoft Graph?

HTTPS://GRAPH.MICROSOFT.COM/

Single endpoint for:

ACCESSING DATA

/me, /users, /groups, /messages, /drive, ….

1

TRAVERSING DATA

/drive/items/<id>/lastmodifiedByUser

2

ACCESSING INSIGHTS

/insights/trending3

WORK/SCHOOL AND PERSONAL4

Page 8: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

YOUR APP

Microsoft Graph is your gateway to Office 365

HTTPS://GRAPH.MICROSOFT.COM/

Insights and relationships

from Microsoft graph

Groups Files Mail Calendar Contacts TasksUsers

Page 9: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

Build intelligent apps by connecting to Office services

INTELLIGENCE

with analytical signals

UNIFIED

Microsoft API and SDKs

ACCESS

to more data in real-time

SINGLE SIGN-ON with Azure AD and MSA

MICROSOFT GRAPH

Page 10: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

State of the world before Microsoft Graph:

Work and school Personal

Many different APIs

to access data

Two separate

authorization stacks

Page 11: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

World today with Microsoft Graph:

Microsoft Graph (https://graph.microsoft.com/)

Work and school Personal&

Page 12: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

Data spread across multiple services

Azure Active Directory Graph API

https://graph.windows.net/contoso.com/users

https://graph.windows.net/contoso.com/groups

Windows Live profile API

https://apis.live.net/v5.0/me

SharePoint User Profile API

https://contoso.sharepoint.com/_api/SP.UserProfiles.PeopleManager/GetMyProperties

Exchange HD Picture API

https://graph.microsoft.com/v1.0/me/photoOutlook REST API

https://outlook.office.com/api/v2.0/me/Messages

https://outlook.office.com/api/v2.0/me/Events

OneDrive for Business API

https://contoso-my.sharepoint.com/personal

/yina_contoso_com/_api/v2.0/drive

https://contoso.sharepoint.com/sites

/designCouncil/_api/v2./drive

OneDrive API

https://api.onedrive.com/v1.0/drive

Office Graph in SharePoint Online

https://contoso.sharepoint.com/_api/search/query?Querytext='*'&Properties='GraphQuery:actor(ME,action\:1020,or(action\:1020\,action\:1003,action\:1001,action\:1024,action\:1005,action\:1037,action\:1039,action\:1036)'&SelectProperties='Docid,Title

Page 13: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

Data spread across multiple services today

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/beta/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/trendingAround

One endpoint to access it: https://graph.microsoft.com/

Page 14: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

USER FILES

EMAIL AND

CONVERSATIONSPEOPLEEVENTS

Breaking silos

GROUPS

Page 15: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

USER

Page 16: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

manager

directReports

GROUPS

memberOf

USER

/users

Page 17: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

manager

directReports

GROUPS

memberOf

/messages

MESSAGES

USER

Page 18: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

MESSAGES

manager

directReports

GROUPS

memberOf

/events

MESSAGES

EVENTS

USER

Page 19: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

EVENTS

MESSAGES

manager

directReports

GROUPS

memberOf

/drive

EVENTS

Shared with me

modifiedBy

FILES

createdBy

directReportsUSER

public

Page 20: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

directReports

Shared with me

modifiedBy

FILES

createdBy

directReports

public

EVENTS

MESSAGES

manager

GROUPS

memberOf

/groups

directReports

Shared with me

modifiedBy

FILES

createdBy

directReports

public

createdBy

FILES

CONVERSATIONS

EVENTS

GROUPS

memberOf

USER

Page 21: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

TASKS

manager

memberOf

FILES

MESSAGES

workingWith

Shared with me

directReports

createdBy

FILES

CONVERSATIONS

createdBy

workingWith

EVENTS

trendingAround

GROUPS

TASKS

NOTESNOTES

public

modifiedBy

USER

trendingAround

USER

/people (preview)

Page 22: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

TASKS

manager

memberOf

FILES

MESSAGES

workingWith

Shared with me

directReports

createdBy

FILES

CONVERSATIONS

createdBy

workingWith

EVENTS

trendingAround

GROUPS

TASKS

NOTESNOTES

public

modifiedBy

USER

trendingAround

Microsoft Graph

Page 23: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong
Page 24: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

Microsoft Graph vs. direct endpoints

Direct endpoints still available and supported

Goal to have all direct endpoint functionality in Microsoft Graph

Functionality will likely show up first in direct endpoints

Direct endpoints will continue to require resource specific access tokens

Microsoft Graph is the API surface to access data in office and other Microsoft cloud services

We are starting the journey, more services are integrating

Page 25: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

Microsoft Graph APIs

HTTPS://GRAPH.MICROSOFT.COM

Access data and intelligence from the Microsoft cloud

Enabling a consistentdevelopment platform

For both commercialand consumer

Groups

Documents

Mail

Notebooks

Users

And more …

People

Office Graph

Calendar

Excel

Page 26: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

createdBy

FILES

CONVERSATIONS

EVENTS

GROUPS

memberOf

directReports

Shared with me

modifiedBy

FILES

createdBy

directReports

public

EVENTS

MESSAGES

manager

GROUPS

memberOf

/workingWith and /people (preview)

createdBy

FILES

CONVERSATIONS

EVENTS

GROUPS

memberOf

workingWith

workingWith

USER

Page 27: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

workingWith

workingWith

createdBy

FILES

CONVERSATIONS

EVENTS

GROUPS

memberOf

directReports

Shared with me

modifiedBy

FILES

createdBy

directReports

public

EVENTS

MESSAGES

manager

GROUPS

memberOf

workingWith

workingWith

trendingAround

trendingAround

directReports

/trendingAround (preview)

USER

Page 28: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong
Page 29: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

People API (preview)

• Provide a complete view of an individual• Returns unified people, with properties combined from multiple existing endpoints

• Results are sourced from: Directory, Outlook contacts, Social contacts, Relevant people

Search and browse for the people who matter most.• Dynamically ranks people based on their relevance to the logged in user.

• Search allows for additional context• Topics discussed in previous communications can augment a search query

• Fuzzy matching for misspelled names

Page 30: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

CRUD and navigation of a workbook’s core elements

Rich formatting and content/formula editing for cells, ranges and tables

Data visualization through native charts

Basic manipulation of external data bindings

Excel REST API

Page 31: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong
Page 32: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

Buildingintegration with Office 365

YOUR APP

Your choice of technology (.NET, JS, HTML, Ruby, etc.)

Microsoft AzureOther hosting

(IIS, LAMP, etc.)

Microsoft Graphhttps://graph.microsoft.com/

Insights and relationships from Office graphs

CalendarPersonalContacts

Files NotesOrg

ContactsNotesPeopleUsers ExcelTasksMailGroups

XCodeEclipse or

Android StudioVisual Studio REST

iOSMicrosoft Graph API

SDK

AndroidMicrosoft Graph API

SDK

Visual StudioMicrosoft Graph API

SDK

OpenID Connect and OAuth 2.0

Solution

Development

Environment

Authentication

and

Authorization

Data

Page 33: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

Office as a Service - Variants

Client

Controls

A. Service to Service SERVICEOffice

SER

VIC

E B

OU

ND

AR

Y

SERV

ICE B

OU

ND

AR

Y

B. Client to ServiceDEVICE OR

WEB APPOffice

SER

VIC

E B

OU

ND

AR

Y

C. Client to Client DEVICE APPOffice

SERV

ICE B

OU

ND

AR

Y

Page 34: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong
Page 35: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

WeChat Service Account –微软中国Office365

Page 36: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

Benefits

Gateway to data

in Office365Easy traversal of

objects and rich

relationships

Secure

data access

Web Standards,

Open Platform

HTML

Page 37: Discover Microsoft Graph - .NET Framework...Skype calls daily 1B+ meetings created per month INTELLIGENCE Microsoft Graph API calls 420% monthly growth USERS 1.2B Office users Strong

Documentation, samples and more:

https://graph.microsoft.com/

http://www.github.com/officedev

http://www.github.com/MicrosoftGraph

Resources