SlideShare uma empresa Scribd logo
1 de 37
POWER OF MS
GRAPH API
Nilesh Shah
Tech Lead, RN Design
@NileshR_Shah
GOLDPLATINUM
SILVE
R
 Me
 Tech Lead – C# .NET / SQL /O-365
development
 C# Corner MVP
 RN Design
 Award winning Architecture /
Design firm
 Specializes in serving residential
development industry
3
 Make developers aware of the power of MS Graph API – a
great option for Office 365 development
4
One Endpoint to rule them all
 Introduction
 Background
 Why MS Graph
 Advantages, Features, Limitations
 Development overview
 Dev. stack
 MS Graph API Explorer
 MS Graph SDK
 Demo
 Q & A
5
 400M Outlook.com monthly active users
 85% of Fortune 500 companies are using O365
 100M monthly active users on Office 365 commercial
 Estimated 120M by 2017 end. source
 8T resources (emails, events, users, files, groups, and more)
6
source
 What is Graph API
 REST API to interact with data from O-365 / MS Cloud
 Why MS Graph API?
 Let’s see
7
8
9
Files Email & Conv.
People
EventsUser
Groups
 Outlook emails, contacts, calendars
 https://outlook.office.com/api
 Files from cloud
 https://api.onedrive.com
 OneNote
 https://www.onenote.com/api
 And many more…
10
Find the URL/endpoint of the API
Authenticate/Get access token
Get information from the API
Repeat for each service/API
Multiple token management
11
12
https://graph.microsoft.com/
13
14
 Single well-known resource
 Get (mostly) everything from a single endpoint
 Users, Groups, Mail, Calendars, Contacts
 Files, Tasks, People, Notes and more…
 Ease of development
 No more calling a different endpoint for each service
 No more obtaining separate tokens for different services
 Logical Navigation
 Platform flexibility
15
16
17
•Used by 85% of the Fortune 500
The Microsoft identity stack
•REST JSON
•OAUTH 2.0 OpenID Connect
•ODATA V4.0
Open standards support
•Get notified on action/event
Get real time updates with Web hooks
•trending documents
•who people typically work with
•best team meeting times
Intelligence and insights
18
•Open extensions
•Schema extensions
Add custom data using extensions
Track changes using delta query
•Currently in preview
Available in your hybrid cloud
•JSON batching (preview)
Combine multiple requests
19
 Open standard for “authorization”
 not an “authentication” protocol
 Authorizes access to resources
 Uses token after third party authentication is done
 Provides secured delegated access on behalf of owner
 MS Graph API supports OAuth 2.0
 OpenID Connect
 works as identity layer - asserts identity
 How it works
20
21
 The Open Data Protocol
 “The best way to REST”
 Uses URL query string operators
 Simple, standard and readable expressions
 MS Graph API supports OData V4
22
23
 https://graph.microsoft.com/{version}/{resource}?[query_param
eters]
 https://graph.microsoft.com = Microsoft Graph API endpoint
 Version = v1.0 or beta
 Resource = segment or path
 user, group, event, etc.
 Alias: me (logged in user), organization
 query_parameters (Optional) = $top, $count, etc.
24
$top – specific no. of items
$skip – skip items in result
$count – how many items
$select – specific property
$orderby – sort the result
$search – match a criteria
$expand – include child objects
25
Register the application
•MS App Registration Portal : https://apps.dev.microsoft.com
Register
Configure the project with ID & keyConfigure
Authenticate the user and get an access tokenAuthenticate
Call Microsoft Graph APICall
Show the result on UIShow
26
 New functionalities appear first in individual Office 365 REST
APIs
 Some functionality not yet available, some in preview
 Choosing your API endpoint
 Query parameter limitations
 $expand: only 1 level, no nextLink support
 $search: only available on some entities
 JSON batching
 Nested batching not allowed
 Delta query (change tracking)
 Not supported on data extensions
27
 Live / GA
 Users, Groups, Outlook, OneDrive
 SharePoint sites API
 Planner API
 OneNote API
 Custom data extensions
 Preview / Beta
 Teams API
 Insight API
 SharePoint list API
 Office 365 Reporting API
28
 MS Graph Explorer
 Graph Explorer Permissions
 MS App Registration Portal
 MS Graph SDK
29
30
31
https://developer.microsoft.com/en-us/graph
Everything
in MS Graph
https://developer.microsoft.com/en-us/graph/graph-explorer
MS Graph
API Explorer
https://developer.microsoft.com/en-us/graph/code-samples-and-sdks
MS Graph
SDK
https://github.com/microsoftgraph
MS Graph on
GitHub
32
33
My blog
34
 @NileshR_Shah
 nileshshah9
 nilesh.live
 nilesh-shah9
 Prizes!!!
 Survey Link: http://bit.ly/2vWCcoM
 SharePint @ 5:30 pm
35
Thank you and see you next year!
Join us for SharePint after the event @ 5:30pm
6982 Financial Dr. (Drake A Firkin) and don’t forget to
submit feedback after each session for your chance to
win great prizes at the end of the day!
Survey Link: http://bit.ly/2vWCcoM
37

Mais conteúdo relacionado

Mais procurados

Continuous Delivery on Kubernetes Using Spinnaker
Continuous Delivery on Kubernetes Using SpinnakerContinuous Delivery on Kubernetes Using Spinnaker
Continuous Delivery on Kubernetes Using SpinnakerWSO2
 
Meetup_Bangalore_Rajesh
Meetup_Bangalore_RajeshMeetup_Bangalore_Rajesh
Meetup_Bangalore_RajeshD.Rajesh Kumar
 
[APIdays Paris 2019] From Microservices to APIs: The API operator in Kubernetes
[APIdays Paris 2019] From Microservices to APIs: The API operator in Kubernetes[APIdays Paris 2019] From Microservices to APIs: The API operator in Kubernetes
[APIdays Paris 2019] From Microservices to APIs: The API operator in KubernetesWSO2
 
Cloud Native APIs: The API Operator for Kubernetes
Cloud Native APIs: The API Operator for KubernetesCloud Native APIs: The API Operator for Kubernetes
Cloud Native APIs: The API Operator for KubernetesWSO2
 
Future of Microservices - Jakub Hadvig
Future of Microservices - Jakub HadvigFuture of Microservices - Jakub Hadvig
Future of Microservices - Jakub HadvigWEBtlak
 
Building Resilient Cloud Native Apps in GKE
Building Resilient Cloud Native Apps in GKEBuilding Resilient Cloud Native Apps in GKE
Building Resilient Cloud Native Apps in GKEJerry Jalava
 
12 FACTOR APP WITH DOCKER
12 FACTOR APP WITH DOCKER12 FACTOR APP WITH DOCKER
12 FACTOR APP WITH DOCKERTREEPTIK
 
Spring Boot on Kubernetes/OpenShift
Spring Boot on Kubernetes/OpenShiftSpring Boot on Kubernetes/OpenShift
Spring Boot on Kubernetes/OpenShiftKamesh Sampath
 
How to build a Java Web App in the Cloud
How to build a Java Web App in the CloudHow to build a Java Web App in the Cloud
How to build a Java Web App in the CloudWSO2
 
Mulesoftmeetup Thiruvanathapuram #4
Mulesoftmeetup Thiruvanathapuram #4Mulesoftmeetup Thiruvanathapuram #4
Mulesoftmeetup Thiruvanathapuram #4Anurag Dwivedi
 
MuleSoft Surat Virtual Meetup#15 - Caching Scope, Caching Strategy and Jenkin...
MuleSoft Surat Virtual Meetup#15 - Caching Scope, Caching Strategy and Jenkin...MuleSoft Surat Virtual Meetup#15 - Caching Scope, Caching Strategy and Jenkin...
MuleSoft Surat Virtual Meetup#15 - Caching Scope, Caching Strategy and Jenkin...Jitendra Bafna
 
MuleSoft Surat Live Demonstration Virtual Meetup#5 - Salesforce Composite Con...
MuleSoft Surat Live Demonstration Virtual Meetup#5 - Salesforce Composite Con...MuleSoft Surat Live Demonstration Virtual Meetup#5 - Salesforce Composite Con...
MuleSoft Surat Live Demonstration Virtual Meetup#5 - Salesforce Composite Con...Jitendra Bafna
 
Chandigarh MuleSoft Meetup #3
Chandigarh MuleSoft Meetup #3Chandigarh MuleSoft Meetup #3
Chandigarh MuleSoft Meetup #3Lalit Panwar
 
CSV and JSON Transformation in WSO2 Micro Integrator 4.0 - WSO2 APIM Communit...
CSV and JSON Transformation in WSO2 Micro Integrator 4.0 - WSO2 APIM Communit...CSV and JSON Transformation in WSO2 Micro Integrator 4.0 - WSO2 APIM Communit...
CSV and JSON Transformation in WSO2 Micro Integrator 4.0 - WSO2 APIM Communit...WSO2
 
Deploying WSO2 API Manager in Production-Grade Kubernetes
Deploying WSO2 API Manager in Production-Grade KubernetesDeploying WSO2 API Manager in Production-Grade Kubernetes
Deploying WSO2 API Manager in Production-Grade KubernetesWSO2
 
Pluggable Providers - Greg Blomquist - ManageIQ Design Summit 2016
Pluggable Providers - Greg Blomquist - ManageIQ Design Summit 2016Pluggable Providers - Greg Blomquist - ManageIQ Design Summit 2016
Pluggable Providers - Greg Blomquist - ManageIQ Design Summit 2016ManageIQ
 
Mumbai MuleSoft Meetup #17 - GraphQL
Mumbai MuleSoft Meetup #17 - GraphQLMumbai MuleSoft Meetup #17 - GraphQL
Mumbai MuleSoft Meetup #17 - GraphQLAkshata Sawant
 
Going Serverless with Kubeless In Google Container Engine (GKE)
Going Serverless with Kubeless In Google Container Engine (GKE)Going Serverless with Kubeless In Google Container Engine (GKE)
Going Serverless with Kubeless In Google Container Engine (GKE)Bitnami
 

Mais procurados (20)

Continuous Delivery on Kubernetes Using Spinnaker
Continuous Delivery on Kubernetes Using SpinnakerContinuous Delivery on Kubernetes Using Spinnaker
Continuous Delivery on Kubernetes Using Spinnaker
 
Meetup_Bangalore_Rajesh
Meetup_Bangalore_RajeshMeetup_Bangalore_Rajesh
Meetup_Bangalore_Rajesh
 
[APIdays Paris 2019] From Microservices to APIs: The API operator in Kubernetes
[APIdays Paris 2019] From Microservices to APIs: The API operator in Kubernetes[APIdays Paris 2019] From Microservices to APIs: The API operator in Kubernetes
[APIdays Paris 2019] From Microservices to APIs: The API operator in Kubernetes
 
Cloud Native APIs: The API Operator for Kubernetes
Cloud Native APIs: The API Operator for KubernetesCloud Native APIs: The API Operator for Kubernetes
Cloud Native APIs: The API Operator for Kubernetes
 
Future of Microservices - Jakub Hadvig
Future of Microservices - Jakub HadvigFuture of Microservices - Jakub Hadvig
Future of Microservices - Jakub Hadvig
 
Building Resilient Cloud Native Apps in GKE
Building Resilient Cloud Native Apps in GKEBuilding Resilient Cloud Native Apps in GKE
Building Resilient Cloud Native Apps in GKE
 
12 FACTOR APP WITH DOCKER
12 FACTOR APP WITH DOCKER12 FACTOR APP WITH DOCKER
12 FACTOR APP WITH DOCKER
 
Spring Boot on Kubernetes/OpenShift
Spring Boot on Kubernetes/OpenShiftSpring Boot on Kubernetes/OpenShift
Spring Boot on Kubernetes/OpenShift
 
How to build a Java Web App in the Cloud
How to build a Java Web App in the CloudHow to build a Java Web App in the Cloud
How to build a Java Web App in the Cloud
 
Introduction to MuleSoft
Introduction to MuleSoftIntroduction to MuleSoft
Introduction to MuleSoft
 
Mulesoftmeetup Thiruvanathapuram #4
Mulesoftmeetup Thiruvanathapuram #4Mulesoftmeetup Thiruvanathapuram #4
Mulesoftmeetup Thiruvanathapuram #4
 
MuleSoft Surat Virtual Meetup#15 - Caching Scope, Caching Strategy and Jenkin...
MuleSoft Surat Virtual Meetup#15 - Caching Scope, Caching Strategy and Jenkin...MuleSoft Surat Virtual Meetup#15 - Caching Scope, Caching Strategy and Jenkin...
MuleSoft Surat Virtual Meetup#15 - Caching Scope, Caching Strategy and Jenkin...
 
MuleSoft Surat Live Demonstration Virtual Meetup#5 - Salesforce Composite Con...
MuleSoft Surat Live Demonstration Virtual Meetup#5 - Salesforce Composite Con...MuleSoft Surat Live Demonstration Virtual Meetup#5 - Salesforce Composite Con...
MuleSoft Surat Live Demonstration Virtual Meetup#5 - Salesforce Composite Con...
 
Chandigarh MuleSoft Meetup #3
Chandigarh MuleSoft Meetup #3Chandigarh MuleSoft Meetup #3
Chandigarh MuleSoft Meetup #3
 
CSV and JSON Transformation in WSO2 Micro Integrator 4.0 - WSO2 APIM Communit...
CSV and JSON Transformation in WSO2 Micro Integrator 4.0 - WSO2 APIM Communit...CSV and JSON Transformation in WSO2 Micro Integrator 4.0 - WSO2 APIM Communit...
CSV and JSON Transformation in WSO2 Micro Integrator 4.0 - WSO2 APIM Communit...
 
Deploying WSO2 API Manager in Production-Grade Kubernetes
Deploying WSO2 API Manager in Production-Grade KubernetesDeploying WSO2 API Manager in Production-Grade Kubernetes
Deploying WSO2 API Manager in Production-Grade Kubernetes
 
Pluggable Providers - Greg Blomquist - ManageIQ Design Summit 2016
Pluggable Providers - Greg Blomquist - ManageIQ Design Summit 2016Pluggable Providers - Greg Blomquist - ManageIQ Design Summit 2016
Pluggable Providers - Greg Blomquist - ManageIQ Design Summit 2016
 
Mumbai MuleSoft Meetup #17 - GraphQL
Mumbai MuleSoft Meetup #17 - GraphQLMumbai MuleSoft Meetup #17 - GraphQL
Mumbai MuleSoft Meetup #17 - GraphQL
 
Going Serverless with Kubeless In Google Container Engine (GKE)
Going Serverless with Kubeless In Google Container Engine (GKE)Going Serverless with Kubeless In Google Container Engine (GKE)
Going Serverless with Kubeless In Google Container Engine (GKE)
 
#1 MuleSoft Meetup in Geneva
#1 MuleSoft Meetup in Geneva #1 MuleSoft Meetup in Geneva
#1 MuleSoft Meetup in Geneva
 

Semelhante a Power of Microsoft Graph API by Nilesh Shah SharePoint Saturday Toronto 2017

Microsoft graph and power platform champ
Microsoft graph and power platform   champMicrosoft graph and power platform   champ
Microsoft graph and power platform champKumton Suttiraksiri
 
O365Con18 - Reach for the Cloud Build Solutions with the Power of Microsoft G...
O365Con18 - Reach for the Cloud Build Solutions with the Power of Microsoft G...O365Con18 - Reach for the Cloud Build Solutions with the Power of Microsoft G...
O365Con18 - Reach for the Cloud Build Solutions with the Power of Microsoft G...NCCOMMS
 
Microsoft Graph API - A Single Stop For Your Cloud Solution
Microsoft Graph API - A Single Stop For Your Cloud SolutionMicrosoft Graph API - A Single Stop For Your Cloud Solution
Microsoft Graph API - A Single Stop For Your Cloud SolutionDipti Chhatrapati
 
Microsoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needsMicrosoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needsMicrosoft Tech Community
 
Microsoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needsMicrosoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needsMicrosoft Tech Community
 
Microsoft graph a way to build secure and smart apps
Microsoft graph a way to build secure and smart appsMicrosoft graph a way to build secure and smart apps
Microsoft graph a way to build secure and smart appsSjoukje Zaal
 
#SPSToronto The SharePoint Framework and the Microsoft Graph on steroids with...
#SPSToronto The SharePoint Framework and the Microsoft Graph on steroids with...#SPSToronto The SharePoint Framework and the Microsoft Graph on steroids with...
#SPSToronto The SharePoint Framework and the Microsoft Graph on steroids with...Vincent Biret
 
#Techorama belgium 2018 vincent biret deep dive with the #MicrosoftGraph
#Techorama belgium 2018 vincent biret deep dive with the #MicrosoftGraph#Techorama belgium 2018 vincent biret deep dive with the #MicrosoftGraph
#Techorama belgium 2018 vincent biret deep dive with the #MicrosoftGraphVincent Biret
 
#SPSottawa The SharePoint Framework and The Microsoft Graph on steroids with ...
#SPSottawa The SharePoint Framework and The Microsoft Graph on steroids with ...#SPSottawa The SharePoint Framework and The Microsoft Graph on steroids with ...
#SPSottawa The SharePoint Framework and The Microsoft Graph on steroids with ...Vincent Biret
 
#SPFestSea azr302 The SharePoint Framework and the #MicrosoftGraph under ster...
#SPFestSea azr302 The SharePoint Framework and the #MicrosoftGraph under ster...#SPFestSea azr302 The SharePoint Framework and the #MicrosoftGraph under ster...
#SPFestSea azr302 The SharePoint Framework and the #MicrosoftGraph under ster...Vincent Biret
 
Granite state #spug The #microsoftGraph and #SPFx on steroids with #AzureFunc...
Granite state #spug The #microsoftGraph and #SPFx on steroids with #AzureFunc...Granite state #spug The #microsoftGraph and #SPFx on steroids with #AzureFunc...
Granite state #spug The #microsoftGraph and #SPFx on steroids with #AzureFunc...Vincent Biret
 
An introduction to Microsoft Graph for developers
An introduction to Microsoft Graph for developersAn introduction to Microsoft Graph for developers
An introduction to Microsoft Graph for developersMicrosoft 365 Developer
 
Create cross-platform apps that interact with Microsoft Graph and Office 365 ...
Create cross-platform apps that interact with Microsoft Graph and Office 365 ...Create cross-platform apps that interact with Microsoft Graph and Office 365 ...
Create cross-platform apps that interact with Microsoft Graph and Office 365 ...Codemotion
 
June 2023 Architect Group FTW.pdf
June 2023 Architect Group FTW.pdfJune 2023 Architect Group FTW.pdf
June 2023 Architect Group FTW.pdfAmeyKulkarni84
 
Office Add-in & Microsoft Graph - Development 101
Office Add-in & Microsoft Graph - Development 101Office Add-in & Microsoft Graph - Development 101
Office Add-in & Microsoft Graph - Development 101Hongbo Miao
 
What's new in ms graph api nilesh shah 5 apr 2018
What's new in ms graph api nilesh shah 5 apr 2018What's new in ms graph api nilesh shah 5 apr 2018
What's new in ms graph api nilesh shah 5 apr 2018Nilesh Shah
 
Introduction to graph services
Introduction to graph servicesIntroduction to graph services
Introduction to graph servicesDipti Chhatrapati
 
Microsoft Graph and Azure Functions - SharePoint User Group Frankfurt
Microsoft Graph and Azure Functions - SharePoint User Group FrankfurtMicrosoft Graph and Azure Functions - SharePoint User Group Frankfurt
Microsoft Graph and Azure Functions - SharePoint User Group FrankfurtDragan Panjkov
 

Semelhante a Power of Microsoft Graph API by Nilesh Shah SharePoint Saturday Toronto 2017 (20)

Microsoft graph and power platform champ
Microsoft graph and power platform   champMicrosoft graph and power platform   champ
Microsoft graph and power platform champ
 
O365Con18 - Reach for the Cloud Build Solutions with the Power of Microsoft G...
O365Con18 - Reach for the Cloud Build Solutions with the Power of Microsoft G...O365Con18 - Reach for the Cloud Build Solutions with the Power of Microsoft G...
O365Con18 - Reach for the Cloud Build Solutions with the Power of Microsoft G...
 
Microsoft Graph API - A Single Stop For Your Cloud Solution
Microsoft Graph API - A Single Stop For Your Cloud SolutionMicrosoft Graph API - A Single Stop For Your Cloud Solution
Microsoft Graph API - A Single Stop For Your Cloud Solution
 
Microsoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needsMicrosoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needs
 
Microsoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needsMicrosoft Graph: Connect to essential data every app needs
Microsoft Graph: Connect to essential data every app needs
 
Microsoft graph a way to build secure and smart apps
Microsoft graph a way to build secure and smart appsMicrosoft graph a way to build secure and smart apps
Microsoft graph a way to build secure and smart apps
 
#SPSToronto The SharePoint Framework and the Microsoft Graph on steroids with...
#SPSToronto The SharePoint Framework and the Microsoft Graph on steroids with...#SPSToronto The SharePoint Framework and the Microsoft Graph on steroids with...
#SPSToronto The SharePoint Framework and the Microsoft Graph on steroids with...
 
#Techorama belgium 2018 vincent biret deep dive with the #MicrosoftGraph
#Techorama belgium 2018 vincent biret deep dive with the #MicrosoftGraph#Techorama belgium 2018 vincent biret deep dive with the #MicrosoftGraph
#Techorama belgium 2018 vincent biret deep dive with the #MicrosoftGraph
 
#SPSottawa The SharePoint Framework and The Microsoft Graph on steroids with ...
#SPSottawa The SharePoint Framework and The Microsoft Graph on steroids with ...#SPSottawa The SharePoint Framework and The Microsoft Graph on steroids with ...
#SPSottawa The SharePoint Framework and The Microsoft Graph on steroids with ...
 
#SPFestSea azr302 The SharePoint Framework and the #MicrosoftGraph under ster...
#SPFestSea azr302 The SharePoint Framework and the #MicrosoftGraph under ster...#SPFestSea azr302 The SharePoint Framework and the #MicrosoftGraph under ster...
#SPFestSea azr302 The SharePoint Framework and the #MicrosoftGraph under ster...
 
Granite state #spug The #microsoftGraph and #SPFx on steroids with #AzureFunc...
Granite state #spug The #microsoftGraph and #SPFx on steroids with #AzureFunc...Granite state #spug The #microsoftGraph and #SPFx on steroids with #AzureFunc...
Granite state #spug The #microsoftGraph and #SPFx on steroids with #AzureFunc...
 
An introduction to Microsoft Graph for developers
An introduction to Microsoft Graph for developersAn introduction to Microsoft Graph for developers
An introduction to Microsoft Graph for developers
 
Create cross-platform apps that interact with Microsoft Graph and Office 365 ...
Create cross-platform apps that interact with Microsoft Graph and Office 365 ...Create cross-platform apps that interact with Microsoft Graph and Office 365 ...
Create cross-platform apps that interact with Microsoft Graph and Office 365 ...
 
June 2023 Architect Group FTW.pdf
June 2023 Architect Group FTW.pdfJune 2023 Architect Group FTW.pdf
June 2023 Architect Group FTW.pdf
 
Office Add-in & Microsoft Graph - Development 101
Office Add-in & Microsoft Graph - Development 101Office Add-in & Microsoft Graph - Development 101
Office Add-in & Microsoft Graph - Development 101
 
What's new in ms graph api nilesh shah 5 apr 2018
What's new in ms graph api nilesh shah 5 apr 2018What's new in ms graph api nilesh shah 5 apr 2018
What's new in ms graph api nilesh shah 5 apr 2018
 
Introduction to graph services
Introduction to graph servicesIntroduction to graph services
Introduction to graph services
 
Xamarin microsoft graph
Xamarin microsoft graphXamarin microsoft graph
Xamarin microsoft graph
 
Microsoft Graph and Azure Functions - SharePoint User Group Frankfurt
Microsoft Graph and Azure Functions - SharePoint User Group FrankfurtMicrosoft Graph and Azure Functions - SharePoint User Group Frankfurt
Microsoft Graph and Azure Functions - SharePoint User Group Frankfurt
 
What's new for Developers in SharePoint 2013
What's new for Developers in SharePoint 2013What's new for Developers in SharePoint 2013
What's new for Developers in SharePoint 2013
 

Mais de Nilesh Shah

Csharp corner toronto vs2019 post launch 10 apr 2019 nilesh shah
Csharp corner toronto vs2019 post launch 10 apr 2019 nilesh shahCsharp corner toronto vs2019 post launch 10 apr 2019 nilesh shah
Csharp corner toronto vs2019 post launch 10 apr 2019 nilesh shahNilesh Shah
 
Azure databricks c sharp corner toronto feb 2019 heather grandy
Azure databricks c sharp corner toronto feb 2019 heather grandyAzure databricks c sharp corner toronto feb 2019 heather grandy
Azure databricks c sharp corner toronto feb 2019 heather grandyNilesh Shah
 
Excel custom functions feb 2019 c sharp corner toronto nilesh shah
Excel custom functions feb 2019 c sharp corner toronto nilesh shahExcel custom functions feb 2019 c sharp corner toronto nilesh shah
Excel custom functions feb 2019 c sharp corner toronto nilesh shahNilesh Shah
 
Adf and ala design c sharp corner toronto chapter feb 2019 meetup nik shahriar
Adf and ala design c sharp corner toronto chapter feb 2019 meetup nik shahriarAdf and ala design c sharp corner toronto chapter feb 2019 meetup nik shahriar
Adf and ala design c sharp corner toronto chapter feb 2019 meetup nik shahriarNilesh Shah
 
Modern Data Platform Part 1: Data Ingestion
Modern Data Platform Part 1: Data IngestionModern Data Platform Part 1: Data Ingestion
Modern Data Platform Part 1: Data IngestionNilesh Shah
 
Programming with Microsoft Graph sdk 9 jan 2019
Programming with Microsoft Graph sdk 9 jan 2019Programming with Microsoft Graph sdk 9 jan 2019
Programming with Microsoft Graph sdk 9 jan 2019Nilesh Shah
 
C sharp corner new comer it professionals meetup 12-may-2018
C sharp corner new comer it professionals meetup 12-may-2018C sharp corner new comer it professionals meetup 12-may-2018
C sharp corner new comer it professionals meetup 12-may-2018Nilesh Shah
 
Webinar getting started with office 365 add ins development 5 may 2018
Webinar getting started with office 365 add ins development 5 may 2018Webinar getting started with office 365 add ins development 5 may 2018
Webinar getting started with office 365 add ins development 5 may 2018Nilesh Shah
 
Getting started with office 365 add ins development 3 may 2018 - v2
Getting started with office 365 add ins development 3 may 2018 - v2Getting started with office 365 add ins development 3 may 2018 - v2
Getting started with office 365 add ins development 3 may 2018 - v2Nilesh Shah
 
Office 365 development overview nilesh shah 24 mar 2018 webinar
Office 365 development overview nilesh shah 24 mar 2018 webinarOffice 365 development overview nilesh shah 24 mar 2018 webinar
Office 365 development overview nilesh shah 24 mar 2018 webinarNilesh Shah
 
Office 365 development overview Nilesh Shah 15 march 2018
Office 365 development overview Nilesh Shah 15 march 2018Office 365 development overview Nilesh Shah 15 march 2018
Office 365 development overview Nilesh Shah 15 march 2018Nilesh Shah
 
MCSD App Builder
MCSD App BuilderMCSD App Builder
MCSD App BuilderNilesh Shah
 

Mais de Nilesh Shah (15)

Csharp corner toronto vs2019 post launch 10 apr 2019 nilesh shah
Csharp corner toronto vs2019 post launch 10 apr 2019 nilesh shahCsharp corner toronto vs2019 post launch 10 apr 2019 nilesh shah
Csharp corner toronto vs2019 post launch 10 apr 2019 nilesh shah
 
Azure databricks c sharp corner toronto feb 2019 heather grandy
Azure databricks c sharp corner toronto feb 2019 heather grandyAzure databricks c sharp corner toronto feb 2019 heather grandy
Azure databricks c sharp corner toronto feb 2019 heather grandy
 
Excel custom functions feb 2019 c sharp corner toronto nilesh shah
Excel custom functions feb 2019 c sharp corner toronto nilesh shahExcel custom functions feb 2019 c sharp corner toronto nilesh shah
Excel custom functions feb 2019 c sharp corner toronto nilesh shah
 
Adf and ala design c sharp corner toronto chapter feb 2019 meetup nik shahriar
Adf and ala design c sharp corner toronto chapter feb 2019 meetup nik shahriarAdf and ala design c sharp corner toronto chapter feb 2019 meetup nik shahriar
Adf and ala design c sharp corner toronto chapter feb 2019 meetup nik shahriar
 
Modern Data Platform Part 1: Data Ingestion
Modern Data Platform Part 1: Data IngestionModern Data Platform Part 1: Data Ingestion
Modern Data Platform Part 1: Data Ingestion
 
Programming with Microsoft Graph sdk 9 jan 2019
Programming with Microsoft Graph sdk 9 jan 2019Programming with Microsoft Graph sdk 9 jan 2019
Programming with Microsoft Graph sdk 9 jan 2019
 
C sharp corner new comer it professionals meetup 12-may-2018
C sharp corner new comer it professionals meetup 12-may-2018C sharp corner new comer it professionals meetup 12-may-2018
C sharp corner new comer it professionals meetup 12-may-2018
 
Webinar getting started with office 365 add ins development 5 may 2018
Webinar getting started with office 365 add ins development 5 may 2018Webinar getting started with office 365 add ins development 5 may 2018
Webinar getting started with office 365 add ins development 5 may 2018
 
Getting started with office 365 add ins development 3 may 2018 - v2
Getting started with office 365 add ins development 3 may 2018 - v2Getting started with office 365 add ins development 3 may 2018 - v2
Getting started with office 365 add ins development 3 may 2018 - v2
 
Office 365 development overview nilesh shah 24 mar 2018 webinar
Office 365 development overview nilesh shah 24 mar 2018 webinarOffice 365 development overview nilesh shah 24 mar 2018 webinar
Office 365 development overview nilesh shah 24 mar 2018 webinar
 
Office 365 development overview Nilesh Shah 15 march 2018
Office 365 development overview Nilesh Shah 15 march 2018Office 365 development overview Nilesh Shah 15 march 2018
Office 365 development overview Nilesh Shah 15 march 2018
 
MCSD App Builder
MCSD App BuilderMCSD App Builder
MCSD App Builder
 
MSSQL2012Admin
MSSQL2012AdminMSSQL2012Admin
MSSQL2012Admin
 
Nilesh_CSD
Nilesh_CSDNilesh_CSD
Nilesh_CSD
 
MCP C#
MCP C#MCP C#
MCP C#
 

Último

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 

Último (20)

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 

Power of Microsoft Graph API by Nilesh Shah SharePoint Saturday Toronto 2017

  • 1. POWER OF MS GRAPH API Nilesh Shah Tech Lead, RN Design @NileshR_Shah
  • 3.  Me  Tech Lead – C# .NET / SQL /O-365 development  C# Corner MVP  RN Design  Award winning Architecture / Design firm  Specializes in serving residential development industry 3
  • 4.  Make developers aware of the power of MS Graph API – a great option for Office 365 development 4 One Endpoint to rule them all
  • 5.  Introduction  Background  Why MS Graph  Advantages, Features, Limitations  Development overview  Dev. stack  MS Graph API Explorer  MS Graph SDK  Demo  Q & A 5
  • 6.  400M Outlook.com monthly active users  85% of Fortune 500 companies are using O365  100M monthly active users on Office 365 commercial  Estimated 120M by 2017 end. source  8T resources (emails, events, users, files, groups, and more) 6 source
  • 7.  What is Graph API  REST API to interact with data from O-365 / MS Cloud  Why MS Graph API?  Let’s see 7
  • 8. 8
  • 9. 9 Files Email & Conv. People EventsUser Groups
  • 10.  Outlook emails, contacts, calendars  https://outlook.office.com/api  Files from cloud  https://api.onedrive.com  OneNote  https://www.onenote.com/api  And many more… 10
  • 11. Find the URL/endpoint of the API Authenticate/Get access token Get information from the API Repeat for each service/API Multiple token management 11
  • 13. 13
  • 14. 14
  • 15.  Single well-known resource  Get (mostly) everything from a single endpoint  Users, Groups, Mail, Calendars, Contacts  Files, Tasks, People, Notes and more…  Ease of development  No more calling a different endpoint for each service  No more obtaining separate tokens for different services  Logical Navigation  Platform flexibility 15
  • 16. 16
  • 17. 17
  • 18. •Used by 85% of the Fortune 500 The Microsoft identity stack •REST JSON •OAUTH 2.0 OpenID Connect •ODATA V4.0 Open standards support •Get notified on action/event Get real time updates with Web hooks •trending documents •who people typically work with •best team meeting times Intelligence and insights 18
  • 19. •Open extensions •Schema extensions Add custom data using extensions Track changes using delta query •Currently in preview Available in your hybrid cloud •JSON batching (preview) Combine multiple requests 19
  • 20.  Open standard for “authorization”  not an “authentication” protocol  Authorizes access to resources  Uses token after third party authentication is done  Provides secured delegated access on behalf of owner  MS Graph API supports OAuth 2.0  OpenID Connect  works as identity layer - asserts identity  How it works 20
  • 21. 21
  • 22.  The Open Data Protocol  “The best way to REST”  Uses URL query string operators  Simple, standard and readable expressions  MS Graph API supports OData V4 22
  • 23. 23
  • 24.  https://graph.microsoft.com/{version}/{resource}?[query_param eters]  https://graph.microsoft.com = Microsoft Graph API endpoint  Version = v1.0 or beta  Resource = segment or path  user, group, event, etc.  Alias: me (logged in user), organization  query_parameters (Optional) = $top, $count, etc. 24
  • 25. $top – specific no. of items $skip – skip items in result $count – how many items $select – specific property $orderby – sort the result $search – match a criteria $expand – include child objects 25
  • 26. Register the application •MS App Registration Portal : https://apps.dev.microsoft.com Register Configure the project with ID & keyConfigure Authenticate the user and get an access tokenAuthenticate Call Microsoft Graph APICall Show the result on UIShow 26
  • 27.  New functionalities appear first in individual Office 365 REST APIs  Some functionality not yet available, some in preview  Choosing your API endpoint  Query parameter limitations  $expand: only 1 level, no nextLink support  $search: only available on some entities  JSON batching  Nested batching not allowed  Delta query (change tracking)  Not supported on data extensions 27
  • 28.  Live / GA  Users, Groups, Outlook, OneDrive  SharePoint sites API  Planner API  OneNote API  Custom data extensions  Preview / Beta  Teams API  Insight API  SharePoint list API  Office 365 Reporting API 28
  • 29.  MS Graph Explorer  Graph Explorer Permissions  MS App Registration Portal  MS Graph SDK 29
  • 30. 30
  • 31. 31
  • 32. https://developer.microsoft.com/en-us/graph Everything in MS Graph https://developer.microsoft.com/en-us/graph/graph-explorer MS Graph API Explorer https://developer.microsoft.com/en-us/graph/code-samples-and-sdks MS Graph SDK https://github.com/microsoftgraph MS Graph on GitHub 32
  • 34. 34  @NileshR_Shah  nileshshah9  nilesh.live  nilesh-shah9
  • 35.  Prizes!!!  Survey Link: http://bit.ly/2vWCcoM  SharePint @ 5:30 pm 35
  • 36. Thank you and see you next year! Join us for SharePint after the event @ 5:30pm 6982 Financial Dr. (Drake A Firkin) and don’t forget to submit feedback after each session for your chance to win great prizes at the end of the day! Survey Link: http://bit.ly/2vWCcoM
  • 37. 37