Upload
dipti-chhatrapati
View
1.015
Download
2
Embed Size (px)
Citation preview
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
You are here ?
1. Microsoft Graph Sneak Peek
3. Microsoft Graph Developer Stack
2. Microsoft Graph API
4. Demo By Graph Explorer5. Microsoft Graph SDK And Tools
6. Demo By Visual Studio
A Single Stop For Your Cloud Solution
7. Benefits and References
> 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?
Direct ReportsManager
Working With
Linked by Me
Presented to Me
Share with Me
Trending around me
Viewed by Me
What's next ?
GET my profile
GET my files
GET my photo
GET my mail
GET my calendarGET 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 notesGET 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 AccessData End PointUser profile https://graph.microsoft.com/v1.0/meOutlook mail https://graph.microsoft.com/v1.0/me/messagesOutlook contacts https://graph.microsoft.com/v1.0/me/contactsOutlook calendars https://graph.microsoft.com/v1.0/me/eventsOneDrive https://graph.microsoft.com/v1.0/me/driveUsers https://graph.microsoft.com/v1.0/usersGroups https://graph.microsoft.com/v1.0/groupsTasks https://graph.microsoft.com/beta/me/tasksFiles trending around me https://graph.microsoft.com/beta/me/trendingAroundPeople I am working with https://graph.microsoft.com/beta/me/workingWith
Data End Point
$selectComma separated list of properties to include in the response.
$expandComma 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
$topThe number of items to be returned in the result set
$skipTo set the number of items to skip before retrieving items in a collection
Platform SDK Samples in GitHub 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.
ReferencesDescription LinkOffice 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_yxMyFbNnshttps://www.youtube.com/watch?v=81yUUo9ejCs
Give and GetNo. 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 ?