Top Banner
59
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.
Page 2: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

Yina Arenas Senior Program ManagerOffice Extensibility

Supercharging your custom solutions with the

Office 365 unified API (preview)

3-641

Page 3: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

Yina Arenas Senior Program ManagerOffice Extensibility

Supercharging your custom solutions with the

Office 365 unified API (preview)

3-641

https://graph.microsoft.com/

UsersMail

Contacts

DocumentsTasks

Office Graph

Spreadsheets

Groups

CalendarFiles

Notes

IM

Presentations

Sites

Conversations

Page 4: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

Why? What? How? Demos, demos, demosWhat’s supported now? What’s coming next? Partner showcaseCall to action

Agenda

Click icon to add picture

Page 5: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

The most strategic developer surface area for us is Office 365

”—Satya Nadella

Page 6: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

Office 365 by the numbers

Trillion Emails sent with Office 365

4Million objects in the directory

50Billion attachments

60 Petabytes of data

470

Billion relationships in Office graph

8Million meetings per month

850

Fortune500 companiespurchased Office 365in the last 12 months

70%

Page 7: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

Why?Office 365…. important data but in separate silos

Page 8: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

USER FILES

EMAIL AND

CONVERSATIO

NS

PEOPLE

EVENTS

Data silos in the enterprise

GROUPS

Page 9: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

USER PEOPLE

Directory

GROUPS

Azure Active Directory Graph API https://graph.windows.net/contoso.com/usershttps://graph.windows.net/contoso.com/groups

Page 10: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

SharePoint User Profilehttps://contoso.sharepoint.com/_api/SP.UserProfiles.PeopleManager/GetMyProperties

Exchange HD Picturehttps://outlook.office365.com/api/v1.0/me/userPhoto

USER PEOPLE

Extended Profile

GROUPS

Page 11: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

USER

EMAIL AND

CONVERSATIO

NSEVENTS

Mail, calendar and conversations

GROUPS

Exchange REST API https://outlook.office365.com/api/v1.0/me/Messageshttps://outlook.office365.com/api/v1.0/me/Events

Page 12: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

USER FILES

Files

OneDrive for Business/SharePoint Files API https://contoso-my.sharepoint.com/personal/yina_contoso_com/_api/v1.0/fileshttps://contoso.sharepoint.com/sites/designCouncil/_api/v1.0/files

PEOPLE

GROUPS

Page 13: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

USER FILES

Office Graph

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

PEOPLE

Page 14: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

What?graph.microsoft.com (preview)One API to rule them all

Page 15: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

Office 365 unified API

https://

graph.microsoft.com/

Your App

USERS FILES MAIL CALENDARGROUPS

Insights and relationships from Office Graph

TASKS

Page 16: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

USER FILES

EMAIL AND

CONVERSATIO

NS

PEOPLE

EVENTS

Breaking silos

GROUPS

Page 17: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

userPhoto

/me

department

mobile

aboutMebirthday

tags

hireDatethumbnailPhotoaddressjobTitlenamealiaspastProjectsresponsibilitiesschoolsskills

USER

Page 18: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

GET https://graph.microsoft.com/beta/contoso.com/users/[email protected]

GET https://graph.microsoft.com/beta/me

GET https://graph.microsoft.com/beta/contoso.com/users/<id>

GET https://graph.microsoft.com/beta/contoso.com/users/[email protected]?$select=aboutMe

GET https://graph.microsoft.com/beta/me/userphotos/96X77

Code

Page 19: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

manager

directReport

s

GROUPS

memberOf

USER

/users

Page 20: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

GET https://graph.microsoft.com/beta/me/manager

GET https://graph.microsoft.com/beta/contoso.com/users/[email protected]/directReports

GET https://graph.microsoft.com/beta/me/memberOf

GET https://graph.microsoft.com/beta/contoso.com/users/<id>

GET https://graph.microsoft.com/beta/contoso.com/users/[email protected]/directReports

Code

Page 21: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

manager

directReport

s

GROUPS

memberOf

/messages

MESSAGE

S

USER

Page 22: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

GET https://graph.microsoft.com/beta/me/messages

GET https://graph.microsoft.com/beta/me/messages?$top=5

GET https://graph.microsoft.com/beta/me/messages?$top=5&$skip=5&$orderby=DateTimeCreated

GET https://graph.microsoft.com/beta/me/messages?$top=5&$select=Subject,Sender&$search="from:[email protected]"

Code

Page 23: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

MESSAGE

S

manager

directReport

s

GROUPS

memberOf

/events

MESSAGE

S

EVENTS

USER

Page 24: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

GET https://graph.microsoft.com/beta/me/events

GET https://graph.microsoft.com/beta/me/events?$top=5

GET https://graph.microsoft.com/beta/me/calendarview?startdatetime=2015-04-01t01:00:00z&enddatetime=2015-04-16t23:00:00z

Code

Page 25: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

EVENTS

MESSAGE

S

manager

directReport

s

GROUPS

memberOf

/files

EVENTS

Shared with me

modifiedBy

FILE

S

createdBy

directReports

USER

public

Page 26: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

GET https://graph.microsoft.com/beta/me/files

GET https://graph.microsoft.com/beta/me/files/<id>

GET https://graph.microsoft.com/beta/me/files/<id>/lastModifiedByUser

GET https://graph.microsoft.com/beta/[email protected]/files

GET https://graph.microsoft.com/beta/[email protected]/files/<id>/lastModifiedByUser/manager

Code

Page 27: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

directReport

s

Shared with me

modifiedBy

FILE

S

createdBy

directReports

public

EVENTS

MESSAGE

S

manager

GROUPS

memberOf

/groups

directReport

s

Shared with me

modifiedBy

FILE

S

createdBy

directReports

public

createdBy

FILE

S

CONVERSATIO

NS

EVENTS

GROUPS

memberOf

USER

Page 28: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

GET https://graph.microsoft.com/beta/contoso.com/groups?$filter=groupType+eq+'Unified'

GET https://graph.microsoft.com/beta/contoso.com/groups/<id>/members

GET https://graph.microsoft.com/beta/contoso.com/groups/<id>/files

GET https://graph.microsoft.com/beta/contoso.com/groups/<id>/conversations

GET https://graph.microsoft.com/beta/contoso.com/groups/<id>/events/<id>/accept

Code

Page 29: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

createdBy

FILE

S

CONVERSATIO

NS

EVENTS

GROUPS

memberOf

directReport

s

Shared with me

modifiedBy

FILE

S

createdBy

directReports

public

EVENTS

MESSAGE

S

manager

GROUPS

memberOf

/workingWith

createdBy

FILE

S

CONVERSATIO

NS

EVENTS

GROUPS

memberOf

workingWith

workingWith

USER

Page 30: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

GET https://graph.microsoft.com/beta/me/workingWith

GET https://graph.microsoft.com/beta/contoso.com/users/[email protected]/workingWith

GET https://graph.microsoft.com/beta/contoso.com/users/[email protected]/workingWith

Code

Page 31: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

workingWith

workingWith

createdBy

FILE

S

CONVERSATIO

NS

EVENTS

GROUPS

memberOf

directReport

s

Shared with me

modifiedBy

FILE

S

createdBy

directReports

public

EVENTS

MESSAGE

S

manager

GROUPS

memberOf

workingWith

workingWith

trendingAround

trendingAround

directReports

/trendingAround

USER

Page 32: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

GET https://graph.microsoft.com/beta/me/trendingAround

GET https://graph.microsoft.com/beta/contoso.com/users/[email protected]/trendingAround

GET https://graph.microsoft.com/beta/contoso.com/users/[email protected]/trendingAround

Code

Page 33: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

trendingAround

trendingAround

directReports

workingWith

workingWith

createdBy

FILE

S

CONVERSATIO

NS

EVENTS

GROUPS

memberOf

directReport

s

Shared with me

modifiedBy

FILE

S

createdBy

directReports

public

EVENTS

MESSAGE

S

manager

GROUPS

memberOf

/tasks (future)

TASK

S

TASK

S

GROUPS

memberOf

trendingAround

trendingAround

directReports

USER

Page 34: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

GET https://graph.microsoft.com/beta/me/tasks

GET https://graph.microsoft.com/beta/contoso.com/users/[email protected]/tasks

GET https://graph.microsoft.com/beta/contoso.com/groups/<id>/tasks

Code

Page 35: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

TASK

S

TASK

S

trendingAround

trendingAround

directReports

workingWith

workingWith

createdBy

FILE

S

CONVERSATIO

NS

EVENTS

GROUPS

memberOf

directReport

s

Shared with me

modifiedBy

FILE

S

createdBy

directReports

public

EVENTS

MESSAGE

S

manager

GROUPS

memberOf

/notes (future)

NOTE

SNOTE

S

TASK

S

TASK

S

GROUPS

memberOf

USER

Page 36: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

GET https://graph.microsoft.com/beta/me/notes/notebooks

GET https://graph.microsoft.com/beta/me/notes/pages

GET https://graph.microsoft.com/beta/contoso.com/users/[email protected]/notes/sections

GET https://graph.microsoft.com/beta/contoso.com/groups/<id>/notes/notebooks

Code

Page 37: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

TASK

S

manager

memberOf

FILE

S

MESSAGE

S

workingWith

Shared with me

directReports

createdBy

FILE

S

CONVERSATIO

NS

createdBy

workingWith

EVENTS

trendingAround

GROUPS

TASK

S

NOTE

SNOTE

S

public

modifiedBy

USERtrendingAroun

d

API

Page 38: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

TASK

S

manager

memberOf

FILE

S

MESSAGE

S

workingWith

Shared with me

directReports

createdBy

FILE

S

CONVERSATIO

NS

createdBy

workingWith

EVENTS

trendingAround

GROUPS

TASK

S

NOTE

SNOTE

S

public

modifiedBy

USERtrendingAroun

d

API

https://graph.microsoft.com/

Page 39: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

How?

Page 40: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

Abstraction layerSame

• App registration• Permission scopes and security• OAuth2.0 and OpenID Connect

Simpler• Single endpoint• Single access token

Powerful • Get to all data, connections and

relationships

Same platform, just simpler

Get to all data, connections and relationships in Office 365

Page 41: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

Your App

Office 365 unified API

https://graph.microsoft.com/

Page 42: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

1. Get a tenant-level entity set:

/user

2. Select a member from the entity set: /user/{id}

3. Get an entity property:/user/{id}/department

4. Traverse to related entity type via navigation properties: /user/{id}/files

Navigating the APIhttps://graph.microsoft.com

//{version}/{tenant}/{entity-set}/{id}/{property}

Page 43: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

DemosApp registration, permission scopes, OpenId Connect, CORS…

Page 44: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

What is supported now?

Page 45: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

• Users• Files• Mail• Calendar• Org. Contacts• Groups*• Social Activity*

Supported functionality• Commercial • OAuth2.0• CORS• CRUD• OData query

operations• Actions and functions• Client libraries .Net,

Android, iOS

Page 46: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

TASK

S

manager

memberOf

FILE

S

MESSAGE

S

workingWith

Shared with me

directReports

createdBy

FILE

S

CONVERSATIO

NS

createdBy

workingWith

EVENTS

trendingAround

GROUPS

TASK

S

NOTE

SNOTE

S

public

modifiedBy

USERtrendingAroun

d

API

https://graph.microsoft.com/beta/$metadata

Page 47: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

DemosClient library, CRUD, Actions…

Page 48: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

What’s coming next?

Page 49: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

Notifications / web hooks

Consumer

Instant-on

Personal contacts

Tasks

Notes

Skype

Additional insights and relationships

Extensibility

Roadmap

Page 50: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

• Notifications / web hooks • Consumer • Instant-on• Personal contacts• Tasks• Notes• Skype• Additional insights and

relationships • Extensibility

Roadmap

Page 51: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

Partner showcaseSmartsheet.com

Page 52: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

Call to action

Page 53: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

• Try it NOW!• http://apisandbox.msdn.com/ • https://graphexplorer2.azurewebsites.net/

• Get the client libraries• http://dev.office.com/unifiedAPIs

• Run the sample code• http://dev.office.com/unifiedAPIs

• Read our documentation• http://dev.office.com/unifiedAPIs

Call to action - http://dev.office.com/unifiedAPIs

Page 54: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

Office 365 unified API (preview)

One API to rule them all

• Great developer experience for consuming Microsoft services from a single URL space with a single token.

• Directly navigate between currently siloed Office 365 services.

• Combine the full O365 services and the rich relationships and queries enabled by the Office Graph into a single service.

Summary

Page 55: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

Related sessionsCODE TITLE DATE START

630Get your hands dirty with the Office 365 APIs, authentication, and SDKs

Online soon

728 Integrating Web applications for Office 365 Online soon

676 Building solutions with Office Graph 4/30/2015 2:00PM

701 Deep dive into the Office 365 groups REST API 4/30/2015 3:30PM

632 Office 365 and Azure: A developer's guide for maximizing the Cloud 4/30/2015 5:00PM

722 Mobile development with iOS, Android, and Office 365 4/30/2015 6:30PM

715 Connecting to OneNote in the Cloud with Office 365 APIs 4/30/2015 6:30PM

661 Building multi-device applications with Xamarin with Office 365 APIs 5/1/2015 9:00AM

689Building a single page app using Angular and Typescript using Office 365 APIs

5/1/2015 10:30AM

767 Building universal apps with connected services 5/1/2015 2:00PM

Page 56: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

http://dev.office.com/devprogram

Developer Program Launch

E-mail Newsletters

Free Developer Subscriptio

n

1 YEAR FREE

Free Training

Free Tools

Webinars

Page 57: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

Call to action

Sign up for Developer Program

Collect your stickers at //build

Check out the express talks

Page 58: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

TASK

S

manager

memberOf

FILE

S

MESSAGE

S

workingWith

Shared with me

directReports

createdBy

FILE

S

CONVERSATIO

NS

createdBy

workingWith

EVENTS

trendingAround

GROUPS

TASK

S

NOTE

SNOTE

S

public

modifiedBy

USERtrendingAroun

d

https://

graph.microsoft.com/

Your App

USERS FILES MAIL CALENDARGROUPS

Insights and relationships from Office Graph

TASKS

Page 59: USERFILES EMAIL AND CONVERSATIONS PEOPLE EVENTS GROUPS.

© 2015 Microsoft Corporation. All rights reserved.