Presentation is loading. Please wait.

Presentation is loading. Please wait.

Microsoft Graph : 0-60 in 60 Minutes

Similar presentations


Presentation on theme: "Microsoft Graph : 0-60 in 60 Minutes"— Presentation transcript:

1 Microsoft Graph : 0-60 in 60 Minutes
Ashish Trivedi Empired Ltd.

2 Ashish Trivedi O365, SharePoint & Office Dev Specialist
Empired Ltd., Australia O365, SharePoint & Office Dev Specialist Office Development MVP Advisory member in MS Bootcamp Team Organiser of Melbourne O365 Meetup Organiser of Office 365 Dev Meetup (virtual) MCC, OSS Contributor Contact Details: Twitter FB: fb.me/O365DevBootcamp

3 Agenda What is Microsoft Graph? Common Challenges
Getting started with Microsoft Graph? Intelligent applications using Microsoft Graph Summary

4 Microsoft Graph an unified REST API and comprehensive developer experience for integrating the data and intelligence exposed by Office 365 services.

5 1 App

6 Authentication

7 Permissions

8 Common Challenges ADAL vs MSAL

9 Common Challenges contd.
REST API vs SDK User me = await graphClient.Me.Request().Select("mail,userPrincipalName").GetAsync(); return me.Mail ?? me.UserPrincipalName;

10 Common Challenges contd.
using (var client = new HttpClient()) { using (var request = new HttpRequestMessage(HttpMethod.Get, endpoint + queryParameter)) request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json")); request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", accessToken); using (HttpResponseMessage response = await client.SendAsync(request)) if (response.StatusCode == HttpStatusCode.OK) var json = JObject.Parse(await response.Content.ReadAsStringAsync()); me.Address = !string.IsNullOrEmpty(json.GetValue("mail").ToString()) ? json.GetValue("mail").ToString() : json.GetValue("userPrincipalName").ToString(); } return me.Address?.Trim();

11 Common Challenges contd.
Service API vs Microsoft Graph API

12 Demos https://graph.microsoft.com Graph Explorer
Quick Start Application Templates ADAL quick start SDK & Tooling support

13 Intelligent Applications
Examples – Delve My Analytics

14 Intelligent Applications
Rich context Deep insights Real-time updates

15 Classwork What is Microsoft Graph?
Getting started with Microsoft Graph? Common Challenges Intelligent applications using Microsoft Graph Summary

16 Homework Identify idea Select Platform Find your technology Build it

17


Download ppt "Microsoft Graph : 0-60 in 60 Minutes"

Similar presentations


Ads by Google