Upload
joshua-drew
View
69
Download
2
Embed Size (px)
Citation preview
Getting Started withOffice 365 APIs & Microsoft GraphJoshua [email protected] / @jdruid
AgendaWhy are we talking Office 365 API’s and MS GraphWhat do the API’s provideWhere to get startedA few Demo’s sprinkled in
"The most strategic developer surface area for us is Office 365“ - Satya Nadella
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
Developer visionDATAUSERS
HTML
OFFICE & SHAREPOINT ADD-INSExtendOffice 365
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
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
ADD-INSHTTPS://OUTLOOK.OFFICE365.COMHTTPS://DEV.OFFICE.COM/GETTING-STARTED/ADDINS
Demo
Connect to Office 365 services
Office 365 connected apps
Common ConsentSingle Auth FlowAbility to Integrate into EnterpriseOauth 2.0Discovery Services
Common Features
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
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
GRAPH EXPLORERHTTPS://GRAPH.MICROSOFT.COM
Demo
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
• 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
DemoVISUAL STUDIOHTTPS://GITHUB.COM/JDRUID/AZURESEARCHOUTLOOKADDIN
• Decide on Type of App• Pick a Platform• Register App
https://apps.dev.microsoft.com/
Microsoft Graph
DemoQUICK STARTHTTPS://DEVELOPER.MICROSOFT.COM/EN-US/GRAPH/QUICK-START
OpportunityGetting StartedTransformResourcesShowcaseDocumentation
http://dev.office.com
Graph ExplorerSDK and Samples
http://graph.microsoft.com
Office 365 newsDev announcementsEventsGarage Series videosWeekly podcast
http://blogs.office.com
Monthly updatesDeveloper featuresAssociated blog posts
http://www.office.com/roadmap
24
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