SlideShare a Scribd company logo
Microsoft Graph API – A single stop for your
cloud solution
Dipti Chhatrapati,
Senior Consultant – Capgemini, Mumbai.
Thank you for being part of 5th SharePoint
Saturday Dubai
• Please turn off all mobile devices or set them to vibrate
• If you must take a phone call, please go out of the room so as
not to disturb others.
• Thanks to all our sponsors
Who is that SharePointer?
• Senior Consultant at CapGemini,Mumbai
• 7 years of SharePoint experience
• MCSD,MCSE,MCSA
• Book – Reporting in TFS
1. Microsoft Graph Sneak Peek
3. Microsoft Graph Developer Stack
2. Microsoft Graph API
4. Demo By Graph Explorer
5. Microsoft Graph SDK And Tools
6. Demo By Visual Studio
A Single Stop For Your Cloud Solution
7. Benefits and References
1. Microsoft Graph Sneak Peek
> 200 million
Downloads of
Office Apps
> 18 Million
subscribers
60 Millions
Monthly
Active Users
> 0.5 Billion
People uses
One Drive
Office 365 Announcements : Data and its Usability
Previously known as Office 365 unified API
Exposes multiple APIs from Microsoft cloud services through a single
REST API endpoint
Seamless navigation between entities and the relationships among them.
Access entities like users, groups, mail, messages, calendars, tasks, and notes
coming from services as well as the relationship from the Office graph.
Microsoft Graph
Whom I work closely with ?
What documents and
topics are important to my
colleagues right now?
What matters the most to my boss?
Content People
Direct ReportsManager
Working With
Linked by Me
Presented to Me
Share with Me
Trending around me
Viewed by Me
2. Microsoft Graph API
2. Microsoft Graph API 3. Your Cloud App
1. Data Silos
One endpoint to rule them all
Most
Sharp-Minded
Graphical and
Robust
Presentation of
Heavy Cloud Data
3. Microsoft Graph Developer Stack
4. Demo By Graph Explorer
What's next ?
GET my profile
GET my files
GET my photo
GET my mail
GET my calendar
GET last user to modify file foo.txt
GET unified groups I’m member of
GET users in my organization
GET group conversations
GET people related to me
GET people I am working with
GET my tasks
GET my notes
GET files trending
around me
GET my manager
https://graph.microsoft.com/v1.0/https://graph.microsoft.com/beta/
Available Versions
API Request Pattern
Query Operations
https://graph.microsoft.com/ << Versions >> / << Tenants >> / << Entity Set >> / << Id >> / << Property >>
Information Access
Data End Point
User profile https://graph.microsoft.com/v1.0/me
Outlook mail https://graph.microsoft.com/v1.0/me/messages
Outlook contacts https://graph.microsoft.com/v1.0/me/contacts
Outlook calendars https://graph.microsoft.com/v1.0/me/events
OneDrive https://graph.microsoft.com/v1.0/me/drive
Users https://graph.microsoft.com/v1.0/users
Groups https://graph.microsoft.com/v1.0/groups
Tasks https://graph.microsoft.com/beta/me/tasks
Files trending around me https://graph.microsoft.com/beta/me/trendingAround
People I am working with https://graph.microsoft.com/beta/me/workingWith
Data End Point
$select
Comma separated list of properties to include
in the response.
$expand
Comma separated list of relationships to
expands and include in the response.
$order by
Comma separated list of properties that are
used to sort the order of items in response of
collection.
$filter Filter the response based on set of criteria
$top
The number of items to be returned in the
result set
$skip
To set the number of items to skip before
retrieving items in a collection
5. Microsoft Graph SDK And Tools
Windows 10 Universal App Coming Soon…
Send an email, manage groups, and perform other activities
with Office 365 data
iOS App v1.0 SDK (preview)
Fetch the user directory and user profile data from various
services like Active Directory, SharePoint, and OneDrive
Android App
v1.0 SDK (preview)
All above samples
Node.js web app Coming Soon…
connect app to Office 365 using Microsoft Graph to send an
email.
PHP web app
Coming Soon… connect app to Office 365 using Microsoft Graph to send an
email.
Python web app
Coming Soon… connect app to Office 365 using Microsoft Graph to send an
email.
Rails web app
Coming Soon… connect app to Office 365 using Microsoft Graph to send an
email.
ASP.NET MVC App
Coming Soon… connect app to Office 365 using Microsoft Graph to send an
email.
Angular web app Coming Soon…
Fetch the user directory and user profile data from various
services like Active Directory, SharePoint, and OneDrive.
6. Demo By Visual Studio
1. Choose
Dev
Environment
2. Register
App in Azure
AD
3. Configure
Permission
scopes
1. Authenticate User with O365
2. Get The Access Token
3. Request MS Graph API using Access Token
7. Benefits
and
References
Steady Developer Experience
Enables constructive results
Freedom over environments
Description Link
Office Graph http://dev.office.com/officegraph
Office 365 Unified API (Preview ) https://dev.office.com/unifiedapis
Microsoft Graph Documentation http://graph.microsoft.io/docs/overview/overview
Microsoft Graph Explorer https://graphexplorer2.azurewebsites.net/
API Sandbox Preview https://apisandbox.msdn.microsoft.com/
Creating O365 App http://dev.office.com/getting-started/office365apis
Office 365 app registration tool https://dev.office.com/app-registration
Manually registering app in Azure AD https://msdn.microsoft.com/office/office365/HowTo/add-
common-consent-manually#bk_RegisterWebApp
Change Log http://graph.microsoft.io/changelog
Ask Questions to Stack Overflow Tag your questions with [MicrosoftGraph] and [office365]
Ask Questions on Twitter Tag your questions with #MicrosoftGraph and
#office365dev
Application demo developed by Microsoft Graph API https://www.youtube.com/watch?v=s_yxMyFbNns
https://www.youtube.com/watch?v=81yUUo9ejCs
No. Question Answer
1 What is the difference between Microsoft Graph API and Office
365 Unified API ?
2 What is the difference between v1.0 and beta version of
Microsoft Graph API ?
3 Which are two ways to register cloud applications ?
4 Which SDKs are available to implement cloud solution using MS
Graph API ?
5 How App permissions are considered to access data from O365
cloud service ?
THANK
YOU !
diptichhatrapati@gmail.com
@dips84
http://sharepointrun.com

More Related Content

What's hot

What's hot (20)

AWS business essentials
AWS business essentials AWS business essentials
AWS business essentials
 
Intro to Azure Service Bus
Intro to Azure Service BusIntro to Azure Service Bus
Intro to Azure Service Bus
 
Productionize Serverless Application Building and Deployments with AWS SAM - ...
Productionize Serverless Application Building and Deployments with AWS SAM - ...Productionize Serverless Application Building and Deployments with AWS SAM - ...
Productionize Serverless Application Building and Deployments with AWS SAM - ...
 
Introduction to Microservices
Introduction to MicroservicesIntroduction to Microservices
Introduction to Microservices
 
Social network with microservices
Social network with microservicesSocial network with microservices
Social network with microservices
 
An introduction to AWS CloudFormation - Pop-up Loft Tel Aviv
An introduction to AWS CloudFormation - Pop-up Loft Tel AvivAn introduction to AWS CloudFormation - Pop-up Loft Tel Aviv
An introduction to AWS CloudFormation - Pop-up Loft Tel Aviv
 
Microsoft Teams Governance and Automation
Microsoft Teams Governance and AutomationMicrosoft Teams Governance and Automation
Microsoft Teams Governance and Automation
 
Docker for .NET Developers
Docker for .NET DevelopersDocker for .NET Developers
Docker for .NET Developers
 
Aws VPC
Aws VPCAws VPC
Aws VPC
 
Powerapps & Flow
Powerapps & FlowPowerapps & Flow
Powerapps & Flow
 
IAM Introduction
IAM IntroductionIAM Introduction
IAM Introduction
 
Azure Introduction
Azure IntroductionAzure Introduction
Azure Introduction
 
Analyzing Data Streams in Real Time with Amazon Kinesis: PNNL's Serverless Da...
Analyzing Data Streams in Real Time with Amazon Kinesis: PNNL's Serverless Da...Analyzing Data Streams in Real Time with Amazon Kinesis: PNNL's Serverless Da...
Analyzing Data Streams in Real Time with Amazon Kinesis: PNNL's Serverless Da...
 
Getting Started With Continuous Delivery on AWS - AWS April 2016 Webinar Series
Getting Started With Continuous Delivery on AWS - AWS April 2016 Webinar SeriesGetting Started With Continuous Delivery on AWS - AWS April 2016 Webinar Series
Getting Started With Continuous Delivery on AWS - AWS April 2016 Webinar Series
 
OAuth & OpenID Connect Deep Dive
OAuth & OpenID Connect Deep DiveOAuth & OpenID Connect Deep Dive
OAuth & OpenID Connect Deep Dive
 
Windows Azure Active Directory
Windows Azure Active DirectoryWindows Azure Active Directory
Windows Azure Active Directory
 
Azure Identity and access management
Azure   Identity and access managementAzure   Identity and access management
Azure Identity and access management
 
OAuth 2.0 and OpenId Connect
OAuth 2.0 and OpenId ConnectOAuth 2.0 and OpenId Connect
OAuth 2.0 and OpenId Connect
 
Azure fundamentals
Azure   fundamentalsAzure   fundamentals
Azure fundamentals
 
It depends: Loving .NET Core dependency injection or not
It depends: Loving .NET Core dependency injection or notIt depends: Loving .NET Core dependency injection or not
It depends: Loving .NET Core dependency injection or not
 

Similar to Microsoft Graph API - A Single Stop For Your Cloud Solution

Similar to Microsoft Graph API - A Single Stop For Your Cloud Solution (20)

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 ...
 
Microsoft Graph
Microsoft GraphMicrosoft Graph
Microsoft Graph
 
Xamarin microsoft graph
Xamarin microsoft graphXamarin microsoft graph
Xamarin microsoft graph
 
Microsoft graph and power platform champ
Microsoft graph and power platform   champMicrosoft graph and power platform   champ
Microsoft graph and power platform champ
 
Developing share point solutions with the microsoft graph
Developing share point solutions with the microsoft graphDeveloping share point solutions with the microsoft graph
Developing share point solutions with the microsoft graph
 
Power of Microsoft Graph API by Nilesh Shah SharePoint Saturday Toronto 2017
Power of Microsoft Graph API by Nilesh Shah SharePoint Saturday Toronto 2017Power of Microsoft Graph API by Nilesh Shah SharePoint Saturday Toronto 2017
Power of Microsoft Graph API by Nilesh Shah SharePoint Saturday Toronto 2017
 
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...
 
#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...
 
SharePoint Fest DC - Everything your need to know about the Microsoft Graph a...
SharePoint Fest DC - Everything your need to know about the Microsoft Graph a...SharePoint Fest DC - Everything your need to know about the Microsoft Graph a...
SharePoint Fest DC - Everything your need to know about the Microsoft Graph a...
 
SPS Utah - Everything your need to know about the Microsoft Graph as a ShareP...
SPS Utah - Everything your need to know about the Microsoft Graph as a ShareP...SPS Utah - Everything your need to know about the Microsoft Graph as a ShareP...
SPS Utah - Everything your need to know about the Microsoft Graph as a ShareP...
 
SharePoint Fest DC 2018 - Everything your need to know about the Microsoft Gr...
SharePoint Fest DC 2018 - Everything your need to know about the Microsoft Gr...SharePoint Fest DC 2018 - Everything your need to know about the Microsoft Gr...
SharePoint Fest DC 2018 - Everything your need to know about the Microsoft Gr...
 
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...
 
#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 ...
 
SharePoint Saturday Chicago - Everything your need to know about the Microsof...
SharePoint Saturday Chicago - Everything your need to know about the Microsof...SharePoint Saturday Chicago - Everything your need to know about the Microsof...
SharePoint Saturday Chicago - Everything your need to know about the Microsof...
 
The slides from my session with Albert-Jan Schot at SharePoint Saturday Monaco
The slides from my session with Albert-Jan Schot at SharePoint Saturday MonacoThe slides from my session with Albert-Jan Schot at SharePoint Saturday Monaco
The slides from my session with Albert-Jan Schot at SharePoint Saturday Monaco
 
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 community call - April, 2018
Microsoft Graph community call - April, 2018Microsoft Graph community call - April, 2018
Microsoft Graph community call - April, 2018
 
#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
 
SharePoint Fest Seattle 2017 - Everything your need to know about the Microso...
SharePoint Fest Seattle 2017 - Everything your need to know about the Microso...SharePoint Fest Seattle 2017 - Everything your need to know about the Microso...
SharePoint Fest Seattle 2017 - Everything your need to know about the Microso...
 

More from Dipti Chhatrapati

More from Dipti Chhatrapati (19)

Entrepreneurship & Innovation – a new DNA to Success
Entrepreneurship & Innovation – a new DNA to SuccessEntrepreneurship & Innovation – a new DNA to Success
Entrepreneurship & Innovation – a new DNA to Success
 
Prepare For The Next Decade With Microsoft 365 Hybrid Work at ALI Conference
Prepare For The Next Decade With Microsoft 365 Hybrid Work at ALI ConferencePrepare For The Next Decade With Microsoft 365 Hybrid Work at ALI Conference
Prepare For The Next Decade With Microsoft 365 Hybrid Work at ALI Conference
 
Teams Calling Teams at Aseans MS Women Meetup
Teams Calling Teams at Aseans MS Women MeetupTeams Calling Teams at Aseans MS Women Meetup
Teams Calling Teams at Aseans MS Women Meetup
 
Power platform Bootcamp Bulgaria 2021 - Power Platform Security
Power platform Bootcamp Bulgaria 2021 - Power Platform SecurityPower platform Bootcamp Bulgaria 2021 - Power Platform Security
Power platform Bootcamp Bulgaria 2021 - Power Platform Security
 
Grow your SharePoint development platform with SharePoint Framework
Grow your SharePoint development platform with SharePoint FrameworkGrow your SharePoint development platform with SharePoint Framework
Grow your SharePoint development platform with SharePoint Framework
 
Microsoft365 developer opportunity welcome keynote
Microsoft365 developer opportunity welcome keynoteMicrosoft365 developer opportunity welcome keynote
Microsoft365 developer opportunity welcome keynote
 
Administering power platform deployment planning
Administering power platform deployment planningAdministering power platform deployment planning
Administering power platform deployment planning
 
Building share point framework solutions
Building share point framework solutionsBuilding share point framework solutions
Building share point framework solutions
 
Developing business applications via power platform build2019
Developing business applications via power platform build2019Developing business applications via power platform build2019
Developing business applications via power platform build2019
 
Introduction to graph services
Introduction to graph servicesIntroduction to graph services
Introduction to graph services
 
Grow your SharePoint development platform with SPFx
Grow your SharePoint development platform with SPFxGrow your SharePoint development platform with SPFx
Grow your SharePoint development platform with SPFx
 
SPS Bangalore 2018 Opening
SPS Bangalore 2018 OpeningSPS Bangalore 2018 Opening
SPS Bangalore 2018 Opening
 
SPS Bangalore 2018 - SharePoint Hybrid
SPS Bangalore 2018 - SharePoint HybridSPS Bangalore 2018 - SharePoint Hybrid
SPS Bangalore 2018 - SharePoint Hybrid
 
Being INSIGHTFUL is the only way to get on SharePoint Hybrid !
Being INSIGHTFUL is the only way to get on SharePoint Hybrid !Being INSIGHTFUL is the only way to get on SharePoint Hybrid !
Being INSIGHTFUL is the only way to get on SharePoint Hybrid !
 
Microsoft Business Platform for real time applications
Microsoft Business Platform for real time applicationsMicrosoft Business Platform for real time applications
Microsoft Business Platform for real time applications
 
Share point 2016 end user training module 1 - introduction
Share point 2016 end user training   module 1 - introductionShare point 2016 end user training   module 1 - introduction
Share point 2016 end user training module 1 - introduction
 
Share point 2016 end user training overview
Share point 2016 end user training   overviewShare point 2016 end user training   overview
Share point 2016 end user training overview
 
Custom Connectors for Microsoft Flow - Your Service Is My Command
Custom Connectors for Microsoft Flow - Your Service Is My CommandCustom Connectors for Microsoft Flow - Your Service Is My Command
Custom Connectors for Microsoft Flow - Your Service Is My Command
 
Automating your tasks with microsoft flow
Automating your tasks with microsoft flowAutomating your tasks with microsoft flow
Automating your tasks with microsoft flow
 

Recently uploaded

Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 

Recently uploaded (20)

UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Introduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG EvaluationIntroduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG Evaluation
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 

Microsoft Graph API - A Single Stop For Your Cloud Solution

  • 1. Microsoft Graph API – A single stop for your cloud solution Dipti Chhatrapati, Senior Consultant – Capgemini, Mumbai.
  • 2. Thank you for being part of 5th SharePoint Saturday Dubai • Please turn off all mobile devices or set them to vibrate • If you must take a phone call, please go out of the room so as not to disturb others. • Thanks to all our sponsors
  • 3. Who is that SharePointer? • Senior Consultant at CapGemini,Mumbai • 7 years of SharePoint experience • MCSD,MCSE,MCSA • Book – Reporting in TFS
  • 4. 1. Microsoft Graph Sneak Peek 3. Microsoft Graph Developer Stack 2. Microsoft Graph API 4. Demo By Graph Explorer 5. Microsoft Graph SDK And Tools 6. Demo By Visual Studio A Single Stop For Your Cloud Solution 7. Benefits and References
  • 5. 1. Microsoft Graph Sneak Peek
  • 6. > 200 million Downloads of Office Apps > 18 Million subscribers 60 Millions Monthly Active Users > 0.5 Billion People uses One Drive Office 365 Announcements : Data and its Usability
  • 7. Previously known as Office 365 unified API Exposes multiple APIs from Microsoft cloud services through a single REST API endpoint Seamless navigation between entities and the relationships among them. Access entities like users, groups, mail, messages, calendars, tasks, and notes coming from services as well as the relationship from the Office graph. Microsoft Graph
  • 8. Whom I work closely with ? What documents and topics are important to my colleagues right now? What matters the most to my boss?
  • 10. Direct ReportsManager Working With Linked by Me Presented to Me Share with Me Trending around me Viewed by Me
  • 12. 2. Microsoft Graph API 3. Your Cloud App 1. Data Silos One endpoint to rule them all
  • 14. 3. Microsoft Graph Developer Stack
  • 15.
  • 16. 4. Demo By Graph Explorer
  • 17. What's next ? GET my profile GET my files GET my photo GET my mail GET my calendar GET last user to modify file foo.txt GET unified groups I’m member of GET users in my organization GET group conversations GET people related to me GET people I am working with GET my tasks GET my notes GET files trending around me GET my manager
  • 18. https://graph.microsoft.com/v1.0/https://graph.microsoft.com/beta/ Available Versions API Request Pattern Query Operations https://graph.microsoft.com/ << Versions >> / << Tenants >> / << Entity Set >> / << Id >> / << Property >> Information Access Data End Point User profile https://graph.microsoft.com/v1.0/me Outlook mail https://graph.microsoft.com/v1.0/me/messages Outlook contacts https://graph.microsoft.com/v1.0/me/contacts Outlook calendars https://graph.microsoft.com/v1.0/me/events OneDrive https://graph.microsoft.com/v1.0/me/drive Users https://graph.microsoft.com/v1.0/users Groups https://graph.microsoft.com/v1.0/groups Tasks https://graph.microsoft.com/beta/me/tasks Files trending around me https://graph.microsoft.com/beta/me/trendingAround People I am working with https://graph.microsoft.com/beta/me/workingWith Data End Point $select Comma separated list of properties to include in the response. $expand Comma separated list of relationships to expands and include in the response. $order by Comma separated list of properties that are used to sort the order of items in response of collection. $filter Filter the response based on set of criteria $top The number of items to be returned in the result set $skip To set the number of items to skip before retrieving items in a collection
  • 19. 5. Microsoft Graph SDK And Tools
  • 20. Windows 10 Universal App Coming Soon… Send an email, manage groups, and perform other activities with Office 365 data iOS App v1.0 SDK (preview) Fetch the user directory and user profile data from various services like Active Directory, SharePoint, and OneDrive Android App v1.0 SDK (preview) All above samples Node.js web app Coming Soon… connect app to Office 365 using Microsoft Graph to send an email. PHP web app Coming Soon… connect app to Office 365 using Microsoft Graph to send an email. Python web app Coming Soon… connect app to Office 365 using Microsoft Graph to send an email. Rails web app Coming Soon… connect app to Office 365 using Microsoft Graph to send an email. ASP.NET MVC App Coming Soon… connect app to Office 365 using Microsoft Graph to send an email. Angular web app Coming Soon… Fetch the user directory and user profile data from various services like Active Directory, SharePoint, and OneDrive.
  • 21. 6. Demo By Visual Studio
  • 22. 1. Choose Dev Environment 2. Register App in Azure AD 3. Configure Permission scopes
  • 23. 1. Authenticate User with O365 2. Get The Access Token 3. Request MS Graph API using Access Token
  • 25. Steady Developer Experience Enables constructive results Freedom over environments
  • 26. Description Link Office Graph http://dev.office.com/officegraph Office 365 Unified API (Preview ) https://dev.office.com/unifiedapis Microsoft Graph Documentation http://graph.microsoft.io/docs/overview/overview Microsoft Graph Explorer https://graphexplorer2.azurewebsites.net/ API Sandbox Preview https://apisandbox.msdn.microsoft.com/ Creating O365 App http://dev.office.com/getting-started/office365apis Office 365 app registration tool https://dev.office.com/app-registration Manually registering app in Azure AD https://msdn.microsoft.com/office/office365/HowTo/add- common-consent-manually#bk_RegisterWebApp Change Log http://graph.microsoft.io/changelog Ask Questions to Stack Overflow Tag your questions with [MicrosoftGraph] and [office365] Ask Questions on Twitter Tag your questions with #MicrosoftGraph and #office365dev Application demo developed by Microsoft Graph API https://www.youtube.com/watch?v=s_yxMyFbNns https://www.youtube.com/watch?v=81yUUo9ejCs
  • 27. No. Question Answer 1 What is the difference between Microsoft Graph API and Office 365 Unified API ? 2 What is the difference between v1.0 and beta version of Microsoft Graph API ? 3 Which are two ways to register cloud applications ? 4 Which SDKs are available to implement cloud solution using MS Graph API ? 5 How App permissions are considered to access data from O365 cloud service ?