26
Getting Started with Office 365 APIs & Microsoft Graph Joshua Drew Microsoft [email protected] / @jdruid

Getting Started withOffice 365 APIs & Microsoft Graph

Embed Size (px)

Citation preview

Page 1: Getting Started withOffice 365 APIs & Microsoft Graph

Getting Started withOffice 365 APIs & Microsoft GraphJoshua [email protected] / @jdruid

Page 2: Getting Started withOffice 365 APIs & Microsoft Graph

AgendaWhy are we talking Office 365 API’s and MS GraphWhat do the API’s provideWhere to get startedA few Demo’s sprinkled in

Page 3: Getting Started withOffice 365 APIs & Microsoft Graph

"The most strategic developer surface area for us is Office 365“ - Satya Nadella

Page 4: Getting Started withOffice 365 APIs & Microsoft Graph

OpportunityOver 4

trillion emails sent with O365

100+ million downloads of mobile apps

850 million

meetings are created a month

2–3 hours/day

spent in Office apps1.2

billion+ users

470+ PB

of storage

Page 5: Getting Started withOffice 365 APIs & Microsoft Graph

Developer visionDATAUSERS

HTML

Page 6: Getting Started withOffice 365 APIs & Microsoft Graph

OFFICE & SHAREPOINT ADD-INSExtendOffice 365

Page 7: Getting Started withOffice 365 APIs & Microsoft Graph

Office Add-insBuilt with web standardsOffice.js provides interopHosted centrallyAlmost zero client

footprintRuns where Office runsDiscoverable

marketplace

Browser Controlor iFrame

With HTML5, JavaScript, CSS

<?xml version="1.0" encoding="UTF-8"?><OfficeApp xsi:type="MailApp"> <Version>1.0.0.0</Version> <ProviderName>Salesforce.com</ProviderName> <DefaultLocale>en-US</DefaultLocale> <DisplayName DefaultValue=“Salesforce" /> <Capabilities> <Capability Name="Mailbox" /> </Capabilities> <DesktopSettings> <SourceLocation DefaultValue=“https://salesforce.com/office" /> <RequestedHeight>300</RequestedHeight> </DesktopSettings> <Permissions>ReadItem</Permissions> <Rule xsi:type="RuleCollection" Mode="Or"> <Rule xsi:type="ItemIs" ItemType="Message"/> <Rule xsi:type="ItemIs" ItemType="Appointment"/> </Rule></OfficeApp>

Office

.js

Web Server

Page 8: Getting Started withOffice 365 APIs & Microsoft Graph

SharePoint Add-insLogic decoupled from

SharePointCommunicates with

SharePoint via rich APIs (REST or CSOM)

Built and hosted with any web platform

Granular permission model powered by OAuth

REST/CSOM

Read WebWrite User ProfilesRead Managed Metadata

Page 9: Getting Started withOffice 365 APIs & Microsoft Graph

ADD-INSHTTPS://OUTLOOK.OFFICE365.COMHTTPS://DEV.OFFICE.COM/GETTING-STARTED/ADDINS

Demo

Page 10: Getting Started withOffice 365 APIs & Microsoft Graph

Connect to Office 365 services

Page 11: Getting Started withOffice 365 APIs & Microsoft Graph

Office 365 connected apps

Page 12: Getting Started withOffice 365 APIs & Microsoft Graph

Common ConsentSingle Auth FlowAbility to Integrate into EnterpriseOauth 2.0Discovery Services

Common Features

Page 13: Getting Started withOffice 365 APIs & Microsoft Graph

Calendar

Robust Office 365 APIs

Office Graph

https://graph.microsoft.com

Search

Social

Mail PeopleDocuments

Designed for openness and flexibility

Enabling a consistent development platform

Powering a world of devices

iOSdev.office.com

Groups Notebooks Videos

Page 14: Getting Started withOffice 365 APIs & Microsoft Graph

TASKS

manager

memberOf

FILES

MESSAGES

workingWith

Shared with me

directReports

createdBy

FILES

CONVERSATIONS

createdBy

workingWith

EVENTS

trendingAround

GROUPS

TASKS

NOTESNOTE

S

public

modifiedBy

USERtrendingAroun

d

API

Page 15: Getting Started withOffice 365 APIs & Microsoft Graph

GRAPH EXPLORERHTTPS://GRAPH.MICROSOFT.COM

Demo

Page 16: Getting Started withOffice 365 APIs & Microsoft Graph

Open Platform

ADAL Library ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔Office 365 SDK ✔ ✔ ✔ ✔ ✔ ✔ ✔Dev.office.com Samples ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔

z

Azure AD and Office 365 offer Libraries/SDKs, but they are not mandatory as the platform is building on web standards such as OAuth2, REST, and OData

Page 17: Getting Started withOffice 365 APIs & Microsoft Graph

• Install Office Developer Tools (http://aka.ms/officedevtoolsforvs2015)

• In Visual Studio and go to File > New > Project > Language > Office/SharePoint, choose Outlook Add-in

Office Add-in

Page 18: Getting Started withOffice 365 APIs & Microsoft Graph

DemoVISUAL STUDIOHTTPS://GITHUB.COM/JDRUID/AZURESEARCHOUTLOOKADDIN

Page 19: Getting Started withOffice 365 APIs & Microsoft Graph

• Decide on Type of App• Pick a Platform• Register App

https://apps.dev.microsoft.com/

Microsoft Graph

Page 20: Getting Started withOffice 365 APIs & Microsoft Graph

DemoQUICK STARTHTTPS://DEVELOPER.MICROSOFT.COM/EN-US/GRAPH/QUICK-START

Page 21: Getting Started withOffice 365 APIs & Microsoft Graph

OpportunityGetting StartedTransformResourcesShowcaseDocumentation

http://dev.office.com

Page 22: Getting Started withOffice 365 APIs & Microsoft Graph

Graph ExplorerSDK and Samples

http://graph.microsoft.com

Page 23: Getting Started withOffice 365 APIs & Microsoft Graph

Office 365 newsDev announcementsEventsGarage Series videosWeekly podcast

http://blogs.office.com

Page 24: Getting Started withOffice 365 APIs & Microsoft Graph

Monthly updatesDeveloper featuresAssociated blog posts

http://www.office.com/roadmap

24

Page 25: Getting Started withOffice 365 APIs & Microsoft Graph

Office 365 Networkhttps://www.yammer.com/itpronetwork

@OfficeDev TwitterStartStart

Podcastshttp://dev.office.com/podcasts

UserVoice

http://officespdev.uservoice.com/

Stack overflow

[ms-office]

Channel 9 Dev Showhttp://aka.ms/O365DevShow Snack Demos

http://aka.ms/o365DevSnackDemos

Engage

Page 26: Getting Started withOffice 365 APIs & Microsoft Graph