Presentation is loading. Please wait.

Presentation is loading. Please wait.

GET-ting Your Office 365 Data Using the Microsoft Graph API

Similar presentations


Presentation on theme: "GET-ting Your Office 365 Data Using the Microsoft Graph API"— Presentation transcript:

1 GET-ting Your Office 365 Data Using the Microsoft Graph API
SharePoint Atlanta 2017 Craig Pilkenton

2 About Me Cardinal Solutions Business Productivity Managing Consultant
Focus areas: SharePoint Office 365 Client-Side Development Server-side Development Sitecore CRAIG PILKENTON OFFICE 365

3 Cardinal Solutions – Who we are
Cloud Data Mobile Web 1996 EST. IN 400+ CONSULTANTS 6 LOCATIONS NATIONAL FOOTPRINT $60+M REVENUE [ToDo: Ux & Agile animantion showing horizontally going over all other icons] Cardinal Solution provides creative and innovative technology solutions. Many of these solutions are related to: [icons move in on click] * Modern Cloud Apps * Internet of Things * Mobile Strategy & Development * Big Data / Analytics * Collaboration/Social (?) Almost (if not) everything we do leverages our User Experience & Design capability. We live and breath Agile. We have full livecyle enterprise project delivery capability.

4 Platinum Sponsors

5 Platinum Sponsors

6 Gold Sponsors

7 Attendee Shirts

8 Join us for SharePint! Immediately after the event!
Dave & Busters D and B Drive SE Marietta, GA 30067

9 Don’t forget to give your feedback!
Session Feedback (x5) Event Feedback The Booth Game Tickets earned by providing feedback increase your odds of winning super duper awesome prizes!

10 So what is the Microsoft Graph API?
Previously known as the Office 365 unified API, it exposes the multiple API's from Office 365 services through one REST API endpoint Gives us the ability to surface rich user data they’ve created to help an organization member’s leverage their existing Office 365 instance better, driving increased user adoption.

11 And how do I access it? The easiest starting point is to use the browser-based Graph Explorer, that allows us to test different queries. After logging in with valid credentials to create the authentication token, we call GET commands to pull data from Office 365. The left column has pre-set queries that show us which endpoints are available to test with, and has a history feature

12 Demo

13 What data can I get? With so many of the Office 365 applications working together, we can get valuable insights and intelligence about a user’s data Users Groups Attachment Directory Excel OneDrive OneNote Open extensions Outlook calendar Outlook mail Personal contact Planner Schema Extensions SharePoint Webhooks

14 How do the queries work? After we sign in on the Explorer site obtaining our authorization token, the API is broken out into 3 major components: {version} is the target service version, with v1.0 is the current Production Release, or beta {resource} is resource segment or path, such as: users, groups, devices, organization, site, etc. The alias 'me', resolves to the signed-in user The resources belonging to a user, such as me/events, me/drive or me/messages The alias myOrganization, which resolves to the tenant of the organization signed-in user [odata_query_parameters] represents additional OData query parameters such as $filter, $top, or $select Same as making SharePoint REST calls!

15 How do the queries work? cont…
Now the easiest starting point is to use the browser-based Graph Explorer We use predefined GET commands to pull data about our account from Office 365 GET my profile - GET my files - GET my mail -

16 Demo

17 Now what should I do with it?
When you’re ready to build a solution to utilize the Microsoft Graph API, the application must enable users to authenticate their identity, and then give consent for the application to query the target API(s) on their behalf. Authentication is done through implementing one of the 2 providers: live.com or outlook.com accounts with the Azure AD v2.0 endpoint, or enterprise users with Azure AD After deciding which authentication provider works best, you register the app at that authentication provider's portal, establishing its identity when submitting requests.

18 How do the queries work? The After

19 References Cardinal Blog – GET-ting Your Office 365 Data Using the Microsoft Graph API Microsoft Graph Home Graph Explorer

20 Questions / Contact Cardinal Blog – LinkedIn –


Download ppt "GET-ting Your Office 365 Data Using the Microsoft Graph API"

Similar presentations


Ads by Google