building on the microsoft graph: app in 60 minutes

15
Building on the Microsoft Graph: 0 – App in 60 minutes GAVIN BARRON SOLUTION ARCHITECT, INTERGEN 50

Upload: spc-adriatics

Post on 09-Jan-2017

49 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Building on the Microsoft Graph: App in 60 minutes

Building on the Microsoft Graph: 0 – App in 60 minutes

GAVIN BARRONSOLUTION ARCHITECT, INTERGEN

50

Page 2: Building on the Microsoft Graph: App in 60 minutes

SPONSORS

Page 3: Building on the Microsoft Graph: App in 60 minutes

[email protected]@gavinbarronhttp://gavinb.net4x SharePoint Server MVPBuilding on SharePoint since 2007Building on Office since 2002

Gavin BarronSolution Architect

About me

Page 4: Building on the Microsoft Graph: App in 60 minutes

GRAPH OVERVIEW

Page 5: Building on the Microsoft Graph: App in 60 minutes

What’s this Graph thing?• AKA Office 365 Unified API• Incorporating some elements from Office Graph• A single API for (almost) all O365 data• /v1.0 - stable• /beta - new calls subject to breaking change• Secured using Azure Active Directory

Page 6: Building on the Microsoft Graph: App in 60 minutes

What’s this Graph thing?• RESTful API built for use in the modern web

Page 7: Building on the Microsoft Graph: App in 60 minutes

AUTHENTICATION

Page 8: Building on the Microsoft Graph: App in 60 minutes

Authentication with Azure Active DirectoryOAuth 2.0 Implicit Flow

Page 9: Building on the Microsoft Graph: App in 60 minutes

Authentication with Azure Active DirectoryOAuth 2.0 Authorization Code Grant

Page 10: Building on the Microsoft Graph: App in 60 minutes

LET’S BUILD AN APPLICATION!

Page 11: Building on the Microsoft Graph: App in 60 minutes

Let’s Build an App!• Sketch a wireframe• Plan Graph API calls to retrieve data• Azure AD Application• AngularJS SPA with ADAL.js• Scaffolded with Yeoman

• Angular Material for tidy UI• You could use ngOfficeFabric ;)

Web page titlehttp://www.url.com

Find FilesemailAddress

Image 2 Image 3Image 1

Save to SharePoint

Page 12: Building on the Microsoft Graph: App in 60 minutes

GRAPH EXPLORER

Page 13: Building on the Microsoft Graph: App in 60 minutes

AZURE AD APPLICATION

Page 14: Building on the Microsoft Graph: App in 60 minutes

ANGULARJS APPLICATION

Page 15: Building on the Microsoft Graph: App in 60 minutes

thank youquestions?

live ratingsGAVINB.NET@GAVINBARRON

spca.biz/XHGVGITHUB.COM/GAVINBARRON