aos day lille december 2016
TRANSCRIPT
aOS Lille2 décembre 20162 Décembre 2016
Journée aOS Lille
aOS Lille2 décembre
2016
The Graph is the glue that holds everything together
@RickVanRousselt
aOS Lille 2 décembre 2016
Rick Van Rousselt
Rivaro ConsultancyOffice 365 / SharePoint consultant
Working with SharePoint since 2010
Currently focussed on Office 365 and Azure
Email : [email protected]
rickvanrousselt
aOS Lille 2 décembre 2016
AgendaIntro
Cool Stuff
Authenti-cation
Let’s rock
aOS Lille 2 décembre 2016
aOS Lille 2 décembre 2016
aOS Lille 2 décembre 2016
• Website
aOS Lille 2 décembre 2016
• Website
aOS Lille 2 décembre 2016
• Website• Active
Directory
aOS Lille 2 décembre 2016
• Website• Active
Directory
aOS Lille 2 décembre 2016
• Website• Active
Directory• Exchange
aOS Lille 2 décembre 2016
• Website• Active
Directory• Exchange
aOS Lille 2 décembre 2016
• Website• Active
Directory• Exchange• SharePoint
aOS Lille 2 décembre 2016
• Website• Active
Directory• Exchange• SharePoint
aOS Lille 2 décembre 2016
• Website• Active
Directory• Exchange• SharePoint• …..
aOS Lille 2 décembre 2016
One endpoint to rule them all
aOS Lille 2 décembre 2016
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
aOS Lille2 décembre
2016
DemoGraph Explorer
aOS Lille 2 décembre 2016
AuthenticationADAL Active Directory Authentication Library• Production ready• Only Azure AD• Scoping done in beginning
MSALMicrosoft Authentication library• Still in preview• Different identity platforms
• Azure AD• Live accounts• AD B2C
• Incremental consent
aOS Lille 2 décembre 2016
Objective
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.
aOS Lille2 décembre
2016
DemoAuthentication
aOS Lille2 décembre
2016
Microsoft GraphCurrent state
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)
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)
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)
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)
aOS Lille 2 décembre 2016
aOS Lille 2 décembre 2016
Currently in beta• Tasks• OneNote• SharePoint• Org Hierarchy• Azure AD Privileged Identity Management• Azure AD Identity Protection
aOS Lille2 décembre
2016
DemoUse the Microsoft Graph
aOS Lille2 décembre
2016
Merci à nos sponsors !
Platinum
Gold
Platinor
aOS Lille2 décembre
20162 Décembre 2016Journée aOS Lille