Successfully reported this slideshow.
Your SlideShare is downloading. ×

The slides from my session with Albert-Jan Schot at SharePoint Saturday Monaco

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad

Check these out next

1 of 26 Ad
Advertisement

More Related Content

Similar to The slides from my session with Albert-Jan Schot at SharePoint Saturday Monaco (20)

Advertisement

More from Rick Van Rousselt (20)

Recently uploaded (20)

Advertisement

The slides from my session with Albert-Jan Schot at SharePoint Saturday Monaco

  1. 1. Using the Microsoft Graph to work with Groups, Teams and Planner Using the Microsoft Graph Rick van Rousselt & Albert-Jan Schot Rivaro Consultancy, Mavention#SPSMonaco
  2. 2. #SPSMonaco
  3. 3. What is the Microsoft Graph
  4. 4. • Website
  5. 5. • Website
  6. 6. • Website • Active Directory
  7. 7. • Website • Active Directory
  8. 8. • Website • Active Directory • Exchange
  9. 9. • Website • Active Directory • Exchange
  10. 10. • Website • Active Directory • Exchange • SharePoint
  11. 11. • Website • Active Directory • Exchange • SharePoint
  12. 12. • Website • Active Directory • Exchange • SharePoint • …..
  13. 13. So, what is the Microsoft Graph Users Groups Outlook Calendar SharePointExcel IntuneTeams Azure ADOneNote Planner https://graph.microsoft.com
  14. 14. So, what is the Microsoft Graph 1.Accessing data /me, /users, /groups, /messages, /drive, …. 2.Traversing data /drive/items/<id>/lastmodifiedByUser 3.Accessing insights /insights/trending 4.Work/School and Personal https://graph.microsoft.com/
  15. 15. Navigating the Graph 1. Get a tenant-level entity set: /users 2. Select a member from the entity set: /users/{id} 3. Get an entity property: /users/{id}/department 4. Traverse to related entity type via navigation properties: /users/{id}/files /{version}/{tenant} /{entity-set} /{id}/{property}
  16. 16. Authenticating against the Graph 1. Register App with Azure AD • Native • Web App • Single page app 2. Configure app permissions 3. Get token using OAuth2.0 flow 4. Use OpenID Connect for SSO
  17. 17. Autorization in native Apps
  18. 18. Autorization in SPA
  19. 19. Data Generally Available ( v1.0 ) Preview ( beta ) Azure Active Directory Outlook mail, calendar and contacts Office 365 groups and conversations OneDrive drives and files Excel Planner OneNote SharePoint Sites People Microsoft Teams Insights (powering Delve)* SharePoint Lists Outlook Tasks Intune Office 365 Reporting AD Administrative Units Project Rome //Build 2017 announcements
  20. 20. Capabilities Generally Available ( v1.0 ) Preview ( beta ) Webhooks for OneDrive and Outlook Delta query for OneDrive SDKs for .Net/Xamarin and Android SDKs for JS/Node and PHP AppOnly webhooks for Outlook Delta query for AAD and Outlook Extend Graph with your own data SDKs for iOS, Python, Ruby Hybrid on-premise support for Outlook (config wizard support) Webhooks for users and groups Webhooks for Outlook consumer Delta query scoping filter for AAD Batching Microsoft Graph is available in every Office 365 and Azure region and complies with sovereign/national cloud data requirements //Build 2017 announcements
  21. 21. Groups, Teams & Planner
  22. 22. Navigating Groups 1. Get my groups & teams: /me/memberOf 2. Get all groups & teams /groups 3. Get my plans /me/plans 4. Get tasks from plan from group: /group/{id}/planner/plans/{id}/tasks /beta /{entity-set}/{id}/{property} /v1.0
  23. 23. Demo Rick van Rousselt & Albert-Jan Schot Rivaro Consultancy, Mavention #SPSMonaco
  24. 24. Next steps 1. More information on Microsoft Graph http://graph.microsoft.io 2. Start coding 3. Checkout https://github.com/appieschot/mavention-o365-groups and https://github.com/RickVanRousselt/SharePointAdminBot 4. Provide feedback: http://www.sharepointappie.nl/go/UserVoiceOfficeGraph/
  25. 25. Thanks John Doe Digital Workplace Consultant, Microsoft. #SPSMonaco

Editor's Notes

  • A single endpoint to talk to Office 365
    GA at Connect()
  • Code: https://github.com/appieschot/mavention-o365-groups
    https://portal.azure.com/
    Azure AD App Registration
    Permissions
    Allow Implicit flow
    Visual Studio Code
    https://localhost:8443/index.html#/overview
    Permissions app.config.js
    Home Controller
    Data Service
    Get My Groups
    Get Group Details
    Image Load
    Filter My Groups
    Planner
    Data Service
    Get My Plans
    Geen Groups
    Get Plan Details
    Create Group
    Properties
    HiddenMembership
    Send Mail to Group
    Delete Group
    No recylebin yet


    Bot demo:
    How to register a bot
    Create channel or plan (or ask bot for my task?) from bot

×