Microsoft Ignite 2015 12/6/2018 6:15 PM © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Yina Arenas Program Manager Office Extensibility BRK3199 Supercharging your custom solutions with the Office 365 unified API (preview) Yina Arenas Program Manager Office Extensibility
Build 2014 Yina Arenas Senior Program Manager Office Extensibility 12/6/2018 Supercharging your custom solutions with the Office 365 unified API (preview) Documents IM Tasks Office Graph Contacts Users Mail https://graph.microsoft.com/ Groups Calendar Files Conversations Spreadsheets Yina Arenas Senior Program Manager Office Extensibility Notes Presentations Sites © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Agenda Why? What? How? Demos, demos, demos What’s supported now? Build 2014 12/6/2018 Agenda Why? What? How? Demos, demos, demos What’s supported now? What’s coming next? Partner showcase Call to action © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
The most strategic developer surface area for us is Office 365 “ 12/6/2018 The most strategic developer surface area for us is Office 365 “ ” —Satya Nadella © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Build 2015 12/6/2018 6:15 PM Office 365 by the numbers Trillion Emails sent with Office 365 4 Million objects in the directory 50 Billion attachments 60 Petabytes of data 470 Billion relationships in Office graph 8 Million meetings per month 850 Fortune500 companies purchased Office 365 in the last 12 months 70% © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Why? Office 365…. important data but in separate silos Build 2015 12/6/2018 6:15 PM Why? Office 365…. important data but in separate silos © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Data silos in the enterprise EMAIL AND CONVERSATIONS USER FILES EVENTS PEOPLE GROUPS
Directory Azure Active Directory Graph API USER PEOPLE GROUPS Azure Active Directory Graph API https://graph.windows.net/contoso.com/users https://graph.windows.net/contoso.com/groups
Extended Profile SharePoint User Profile Exchange HD Picture PEOPLE GROUPS SharePoint User Profile https://contoso.sharepoint.com/_api/SP.UserProfiles.PeopleManager/GetMyProperties Exchange HD Picture https://outlook.office365.com/api/v1.0/me/userPhoto
Mail, calendar and conversations EMAIL AND CONVERSATIONS USER EVENTS GROUPS Exchange REST API https://outlook.office365.com/api/v1.0/me/Messages https://outlook.office365.com/api/v1.0/me/Events
Files OneDrive for Business/SharePoint Files API USER FILES PEOPLE GROUPS OneDrive for Business/SharePoint Files API https://contoso-my.sharepoint.com/personal/yina_contoso_com/_api/v1.0/files https://contoso.sharepoint.com/sites/designCouncil/_api/v1.0/files
Office Graph Office Graph in SharePoint Online USER FILES PEOPLE 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
What? graph.microsoft.com (preview) One API to rule them all Build 2015 12/6/2018 6:16 PM What? graph.microsoft.com (preview) One API to rule them all © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Office 365 unified API https://graph.microsoft.com/ Your App USERS FILES MAIL CALENDAR GROUPS Insights and relationships from Office Graph TASKS
EMAIL AND CONVERSATIONS Breaking silos EMAIL AND CONVERSATIONS USER FILES EVENTS PEOPLE GROUPS
/me ME thumbnailPhoto responsibilities department pastProjects Build 2015 12/6/2018 6:16 PM /me USER ME thumbnailPhoto responsibilities department pastProjects userPhoto aboutMe hireDate birthday address schools jobTitle mobile name skills alias tags © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Code GET https://graph.microsoft.com/beta/contoso.com Build 2015 12/6/2018 6:16 PM Code GET https://graph.microsoft.com/beta/contoso.com /users/yina@contoso.com GET https://graph.microsoft.com/beta/me /users/<id> /users/yina@contoso.com?$select=aboutMe GET https://graph.microsoft.com/beta/me/userphotos/96X77 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
/users manager USER directReports GROUPS memberOf
Code GET https://graph.microsoft.com/beta/me/manager Build 2015 12/6/2018 6:16 PM Code GET https://graph.microsoft.com/beta/me/manager GET https://graph.microsoft.com/beta/contoso.com /users/yina@contoso.com/directReports GET https://graph.microsoft.com/beta/me/memberOf /users/<id> /users/alex@contoso.com/directReports © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
/messages manager USER directReports GROUPS memberOf MESSAGES
Code GET https://graph.microsoft.com/beta/me/messages Build 2015 12/6/2018 6:16 PM Code 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 /messages?$top=5&$select=Subject,Sender& $search="from:alexd@contoso.com" © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
/events USER EVENTS GROUPS MESSAGES MESSAGES manager directReports memberOf MESSAGES MESSAGES
Code GET https://graph.microsoft.com/beta/me/events Build 2015 12/6/2018 6:16 PM Code 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 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
/files USER EVENTS EVENTS FILES GROUPS MESSAGES Shared with me manager createdBy public USER directReports directReports modifiedBy EVENTS EVENTS FILES GROUPS memberOf MESSAGES
Code GET https://graph.microsoft.com/beta/me/files Build 2015 12/6/2018 6:16 PM Code 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/mary@contoso.com/files GET https://graph.microsoft.com/beta/mary@contoso.com /files/<id>/lastModifiedByUser/manager © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
/groups FILES FILES CONVERSATIONS EVENTS USER EVENTS GROUPS GROUPS directReports Shared with me modifiedBy FILES createdBy public directReports Shared with me modifiedBy FILES createdBy public manager CONVERSATIONS EVENTS USER EVENTS GROUPS memberOf GROUPS memberOf createdBy MESSAGES FILES
Code GET https://graph.microsoft.com/beta/contoso.com Build 2015 12/6/2018 6:16 PM Code GET https://graph.microsoft.com/beta/contoso.com /groups?$filter=groupType+eq+'Unified' GET https://graph.microsoft.com/beta/contoso.com/groups/<id>/members /groups/<id>/files /groups/<id>/conversations /groups/<id>/events/<id>/accept © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
/workingWith FILES FILES CONVERSATIONS EVENTS GROUPS FILES directReports Shared with me modifiedBy FILES createdBy public workingWith manager createdBy FILES CONVERSATIONS EVENTS GROUPS memberOf createdBy FILES CONVERSATIONS EVENTS GROUPS memberOf USER EVENTS GROUPS memberOf MESSAGES
Code GET https://graph.microsoft.com/beta/me/workingWith Build 2015 12/6/2018 6:16 PM Code GET https://graph.microsoft.com/beta/me/workingWith GET https://graph.microsoft.com/beta/contoso.com /users/yina@contoso.com/workingWith /users/mary@contoso.com/workingWith © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
/trendingAround FILES FILES CONVERSATIONS EVENTS GROUPS USER EVENTS directReports Shared with me modifiedBy FILES createdBy public workingWith workingWith manager createdBy FILES CONVERSATIONS EVENTS GROUPS memberOf USER directReports trendingAround EVENTS GROUPS memberOf MESSAGES
Code GET https://graph.microsoft.com/beta/me/trendingAround Build 2015 12/6/2018 6:16 PM Code GET https://graph.microsoft.com/beta/me/trendingAround GET https://graph.microsoft.com/beta/contoso.com /users/yina@contoso.com/trendingAround /users/mary@contoso.com/trendingAround © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
/tasks (future) FILES FILES CONVERSATIONS EVENTS GROUPS USER EVENTS trendingAround directReports trendingAround directReports directReports Shared with me modifiedBy FILES createdBy public workingWith manager createdBy FILES CONVERSATIONS EVENTS GROUPS memberOf USER EVENTS GROUPS memberOf GROUPS memberOf TASKS MESSAGES TASKS
Code GET https://graph.microsoft.com/beta/me/tasks Build 2015 12/6/2018 6:16 PM Code GET https://graph.microsoft.com/beta/me/tasks GET https://graph.microsoft.com/beta/contoso.com /users/yina@contoso.com/tasks /groups/<id>/tasks © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
/notes (future) FILES FILES CONVERSATIONS EVENTS GROUPS USER EVENTS trendingAround directReports directReports Shared with me modifiedBy FILES createdBy public workingWith manager createdBy FILES CONVERSATIONS EVENTS GROUPS memberOf USER EVENTS GROUPS memberOf GROUPS memberOf TASKS TASKS MESSAGES NOTES TASKS TASKS NOTES
Code GET https://graph.microsoft.com/beta/me/notes/notebooks Build 2015 12/6/2018 6:16 PM Code 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/yina@contoso.com/notes/sections /groups/<id>/notes/notebooks © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
API CONVERSATIONS USER EVENTS TASKS FILES TASKS GROUPS NOTES MESSAGES createdBy trendingAround Shared with me CONVERSATIONS public workingWith manager USER directReports EVENTS trendingAround FILES modifiedBy TASKS MESSAGES NOTES TASKS memberOf NOTES workingWith GROUPS createdBy FILES
API https://graph.microsoft.com/ CONVERSATIONS USER EVENTS TASKS FILES createdBy trendingAround Shared with me CONVERSATIONS public workingWith manager USER directReports EVENTS trendingAround https://graph.microsoft.com/ FILES modifiedBy TASKS MESSAGES NOTES TASKS memberOf NOTES workingWith GROUPS createdBy FILES
Demos REST calls in action Build 2015 12/6/2018 6:16 PM Demos REST calls in action © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Build 2015 12/6/2018 6:16 PM How? © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Get to all data, connections and relationships in Office 365 Build 2015 12/6/2018 6:16 PM Same platform, just simpler Get to all data, connections and relationships in Office 365 Abstraction layer Same 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 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
https://graph.microsoft.com/ Build 2015 12/6/2018 6:16 PM Office 365 unified API Your App https://graph.microsoft.com/ © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Navigating the API Get a tenant-level entity set: /user Build 2015 12/6/2018 6:16 PM Navigating the API Get a tenant-level entity set: /user Select a member from the entity set: /user/{id} Get an entity property: /user/{id}/department Traverse to related entity type via navigation properties: /user/{id}/files https://graph.microsoft.com / /{version} /{tenant} /{entity-set} /{id} /{property} © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Demos App registration, permission scopes, OpenId Connect, CORS… Build 2015 12/6/2018 6:16 PM Demos App registration, permission scopes, OpenId Connect, CORS… © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
What is supported now? Build 2015 12/6/2018 6:16 PM © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Supported functionality Build 2015 12/6/2018 6:16 PM Supported functionality Users Files Mail Calendar Org. Contacts Groups* Social Activity* Commercial OAuth2.0 CORS CRUD OData query operations Actions and functions Client libraries .Net, Android, iOS © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
API https://graph.microsoft.com/beta/$metadata CONVERSATIONS USER createdBy trendingAround Shared with me CONVERSATIONS public workingWith manager USER directReports EVENTS trendingAround https://graph.microsoft.com/beta/$metadata FILES modifiedBy TASKS MESSAGES NOTES TASKS memberOf NOTES workingWith GROUPS createdBy FILES
Demos Client library, CRUD, Actions… Build 2015 12/6/2018 6:16 PM Demos Client library, CRUD, Actions… © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
What’s coming next? Build 2015 12/6/2018 6:16 PM © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Roadmap Notifications / web hooks Consumer Instant-on Personal contacts Tasks Notes Skype Additional insights and relationships Extensibility
Partner showcase Smartsheet.com Build 2015 12/6/2018 6:16 PM Partner showcase Smartsheet.com © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Call to action Build 2015 12/6/2018 6:16 PM © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Call to action - http://dev.office.com/unifiedAPIs Build 2015 12/6/2018 6:16 PM Call to action - http://dev.office.com/unifiedAPIs Try it NOW! http://apisandbox.msdn.com/ https://graphexplorer2.azurewebsites.net/ Get the client libraries http://dev.office.com/unifiedAPIs Run the sample code Read our documentation © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Demos API sandbox Build 2015 12/6/2018 6:16 PM © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Summary Office 365 unified API (preview) One API to rule them all Build 2015 12/6/2018 6:16 PM Summary 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. © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Developer Program Launch E-mail Newsletters Free Training Free Tools Webinars Free Developer Subscription 1 YEAR FREE http://dev.office.com/devprogram
Call to action Sign up for Developer Program Collect your stickers at //build Check out the express talks
Q&A https://graph.microsoft.com/ Your App CONVERSATIONS USER EVENTS USERS FILES MAIL CALENDAR GROUPS Insights and relationships from Office Graph TASKS createdBy trendingAround Shared with me CONVERSATIONS public workingWith manager USER directReports EVENTS trendingAround FILES modifiedBy TASKS MESSAGES NOTES TASKS memberOf NOTES workingWith GROUPS createdBy FILES
Please evaluate this session 12/6/2018 6:16 PM Please evaluate this session Your feedback is important to us! Visit Myignite at http://myignite.microsoft.com or download and use the Ignite Mobile App with the QR code above. © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
12/6/2018 6:16 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.