tech talks 2016 office365

25
Killer Single-page apps with Office 365 APIs and Angular Jivko Petiov Chief Architect, Abilitics Quote of the day: Due to great demand from customers, Microsoft promised to improve Office 365 REST API by adding HTTP REBOOT verb

Upload: jivkopetiov

Post on 23-Jan-2018

176 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Tech talks 2016 office365

Killer Single-page apps with Office

365 APIs and Angular

Jivko Petiov

Chief Architect, Abilitics

Quote of the day:

Due to great demand from customers, Microsoft

promised to improve Office 365 REST API by

adding HTTP REBOOT verb

Page 2: Tech talks 2016 office365

Agenda

• Intro to Office 365 APIs

• Hello World

• APIs Walkthrough

• The Big Picture

• Q/A

Page 3: Tech talks 2016 office365

Why Should you care

• Reach

• 30% of large companies use Office 365

• 500 million OneDrive users

• 1.5 billion Office users

• Easy to get started

• Immediately applicable in your work

• Enhance and simplify your apps

• Developers get super powers

Page 4: Tech talks 2016 office365

Microsoft technology is boring

Page 5: Tech talks 2016 office365

What is Office 365

Service Rest API available

Exchange Online Yes

OneDrive Yes

Office Online No

OneNote Online Yes

Azure AD Yes

Yammer Yes *

Skype for Business No

SharePoint Online Yes *

Power BI No

Service

Exchange Online

OneDrive

Office Online

OneNote Online

Azure AD

Yammer

Skype for Business

SharePoint Online

Power BI

Page 6: Tech talks 2016 office365

Office 365 APIs

• Launched in 2014

• Ongoing

• REST, OData

• OAuth 2.0, Azure AD

Page 7: Tech talks 2016 office365
Page 8: Tech talks 2016 office365

Get Started

• Office 365 account

• Create an Azure app

• Write some code

Page 9: Tech talks 2016 office365

Hello World

Page 10: Tech talks 2016 office365

Documentation

• graph.microsoft.io

• Graph Explorer

• printf()

Page 11: Tech talks 2016 office365

Exchange API

• Mailbox, Attachments, Folders

• Contacts

• Calendars

• Events

• Respond to events

• Send email on behalf of other users

• “Read and write mail in all Mailboxes”

Page 12: Tech talks 2016 office365

Webhooks API

• Subscribe to changes in Exchange:

• Mailbox

• Calendar

• Contacts

• Created/updated/deleted events

Page 13: Tech talks 2016 office365

Azure AD API

• AD Users, user profiles, photos

• Security groups

• Org chart

• Presence info – not yet available but will be

Page 14: Tech talks 2016 office365

OneDrive API

• Files

• Folders

• File/Folder metadata

• Links

• Permissions

Page 15: Tech talks 2016 office365

OneNote API

• Notebooks

• Sections, section groups

• Pages

• Attachments

Page 16: Tech talks 2016 office365

Yammer API

• Open Graph

• Messages

• Threads, replies

• Users

• Topics

• Relationships

• Subscriptions

• Likes

• Search

Page 17: Tech talks 2016 office365

SharePoint API

• Lists/Libraries

• Taxonomy

• Search queries

• User Profiles

Page 18: Tech talks 2016 office365

Office UI Fabric

• “The UI Toolkit for building experiences for

Office and Office 365”

• “Bootstrap for Office 365”

• Responsive grid layout system (12 columns)

• 9 themes, standardized fonts, colors and

animations

• 338 vector icons

• 26 JS components

• Little to no CSS

Page 19: Tech talks 2016 office365
Page 20: Tech talks 2016 office365

Office 365 APIs - Usage Scenarios

• Hybrid mobile apps

• Word/Excel/Outlook plugins

• Plugins for SharePoint, Wordpress, Sitecore …

• Multi-tenant apps (SAAS)

• Background services/jobs (data warehouse

examples)

• Normal web apps

Page 21: Tech talks 2016 office365

Office 365 Popularity

• 30% of large companies use Office 365

• 50% of large companies use SharePoint

• 80% of Fortune 500 companies use Office 365

• 57% of Fortune 500 companies use Azure

• 10 million Yammer users

• 400 million Exchange Online / Outlook.com

users

• 500 million OneDrive users

• 1.5 billion Office users

Page 22: Tech talks 2016 office365

Upcoming APIs

• Excel

• Skype for Business

• Video portal

• PowerBI

Page 23: Tech talks 2016 office365

Unified API

• Single Sign-on

• Single token for all APIs

• All company data in the developer’s hands

Page 24: Tech talks 2016 office365

Blast from the past

SQL Server Office 365

Posts / Comments Yammer

Likes, Tags Yammer

Attachments, Documents OneDrive, SharePoint

Users, Groups Azure AD users/groups

Notifications Exchange

Events Exchange calendar

Tasks Exchange tasks

Articles, Announcements SharePoint

SQL Server

Posts / Comments

Likes, Tags

Attachments, Documents

Users, Groups

Notifications

Events

Tasks

Articles, Announcements

Page 25: Tech talks 2016 office365

Thank You

[email protected]

• twitter.com/jivkopetiov

• github.com/jivkopetiov

• Source Code from the talk -

https://github.com/abilitics/TechTalks-

Office365