SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 14 day free trial to unlock unlimited reading.
1.
aOS Lille
2 décembre 20162 Décembre 2016
Journée aOS Lille
2.
aOS Lille
2 décembre 2016
The Graph is the glue that holds
everything together
@RickVanRousselt
3.
aOS Lille 2 décembre 2016
Rick Van Rousselt
Rivaro Consultancy
Currently focussed on Office 365 and
Azure
Email : rick.vanrousselt@outlook.com
rickvanrousselt
4.
aOS Lille 2 décembre 2016
Agenda
Intro
Cool Stuff
Authentication
Let’s rock
18.
aOS Lille 2 décembre 2016
What can it do?
•Access Data
/me, /groups, /messages, /drive
•Traversing Data
/drive/items/<id>/lastModifiedByUser/
•Give Insights
/insights/trending
20.
aOS Lille 2 décembre 2016
Authentication
ADAL
Active Directory Authentication Library
• Production ready
• Only Azure AD
• Scoping done in beginning
MSAL
Microsoft Authentication library
• Still in preview
• Different identity platforms
• Azure AD
• Live accounts
• AD B2C
• Incremental consent
22.
aOS Lille 2 décembre 2016
Your application requests an
authorization code with which
your application can then request
the access token for the desired
resource in Azure AD.
24.
aOS Lille
2 décembre 2016
Microsoft Graph
Current state
25.
aOS Lille 2 décembre 2016
Users
• GET /users/<id | userPrincipalName> (Get a user)
• DELETE /users/<id | userPrincipalName> (Delete a user)
• PATCH /users/<id | userPrincipalName> (Update a user)
• POST /users (Create a user)
26.
aOS Lille 2 décembre 2016
Mail
• GET /users/<id | userPrincipalName>/messages (Get all mails)
• POST /users/<id | userPrincipalName>/messages (Create a mail)
• GET /me/messages/<id> (Get a single mail)
• DELETE /me/messages/<id> (Delete a mail)
• POST /me/messages/<id>/reply (Reply to a mail)
• GET /me/messages/<id>/attachments (Work with attachments)
27.
aOS Lille 2 décembre 2016
Drive (OneDrive and Groups)
• GET /me/drive/items/{item-id} (Get an item)
• PATCH /me/drive/items/{item-id} (Update an item)
• DELETE /me/drive/items/{item-id} (Delete an item)
• GET /me/drive/items/{item-id}/content (Download an item)
Items
• GET /me/drive (Get my OneDrive)
• GET /groups/{id}/drives (Get a Group Site Collection)
• GET /me/drive/root/children (Get items in the root)
• GET /me/drive/sharedWithMe (Files shared with me)
28.
aOS Lille 2 décembre 2016
Excel Rest API
• GET /workbook/tables (Get all the tables in a workbook)
• GET /workbook/worksheets (Get all the worksheets in a workbook)
• POST /workbook/worksheets(<id|name>)/Range (Get range values)
• GET /workbook/worksheets(<id|name>)/charts(<name>) (Get a
chart)
30.
aOS Lille 2 décembre 2016
Currently in beta
• Tasks
• OneNote
• SharePoint
• Org Hierarchy
• Azure AD Privileged Identity Management
• Azure AD Identity Protection
31.
aOS Lille
2 décembre 2016
Demo
Use the Microsoft Graph
32.
aOS Lille
2 décembre 2016
Merci à nos sponsors !
Platinum
Gold
Platinor
33.
aOS Lille
2 décembre 20162 Décembre 2016
Journée aOS Lille
Editor's Notes
Create new app in portal => both ways Show fiddler connection way Show how to connect from C# => both ways
Create new app in portal => both ways Show fiddler connection way Show how to connect from C# => both ways
Create new app in portal => both ways Show fiddler connection way Show how to connect from C# => both ways
0 likes
Be the first to like this
Views
Total views
209
On SlideShare
0
From Embeds
0
Number of Embeds
4
You have now unlocked unlimited access to 20M+ documents!
Unlimited Reading
Learn faster and smarter from top experts
Unlimited Downloading
Download to take your learnings offline and on the go
You also get free access to Scribd!
Instant access to millions of ebooks, audiobooks, magazines, podcasts and more.
Read and listen offline with any device.
Free access to premium services like Tuneln, Mubi and more.