Se ha denunciado esta presentación.

Microsoft Graph Meetup Medellin

82 visualizaciones

Publicado el

Microsoft Graph Meetup Medellin

Publicado en: Tecnología
  • Sé el primero en comentar

  • Sé el primero en recomendar esto

Microsoft Graph Meetup Medellin

  1. 1. Microsoft Graph Training Luis Valencia CTO Office 365 and Sharepoint MVP @levalencia www.luisevalencia.com
  2. 2. Graph Mathematical concept used in computer science as a data structure, composed of nodes connected by edges. An edge can have a direction and an associated value. A C B D
  3. 3. WHAT CAN I BUILD? Office Platform ADD-INS AND WEB PARTS: Make your solution a native part of the modern Office WEB AND DEVICES APPS: Build smarter apps by connecting to Office services VOICE, VIDEO, CONNECTORS, AND BOTS: Create the next generation of productivity solutions Microsoft Graph
  4. 4. https://contoso.sharepoint.com/_api/search/query?Querytext='*'&Prop erties='GraphQuery:actor(ME,action:1020,or(action:1020,action:100 3,action:1001,action:1024,action:1005,action:1037,action:1039,actio n:1036)'&SelectProperties='Docid,Title https://contoso-my.sharepoint.com/personal/rich_contoso_com/_api/v1.0/files https://contoso.sharepoint.com/sites/designCouncil/_api/v1.0/files https://outlook.office365.com/api/v1.0/me/Messages https://outlook.office365.com/api/v1.0/me/Events https://contoso.sharepoint.com/_api/SP.UserProfiles.PeopleManager/GetMyProperties https://graph.windows.net/contoso.com/users https://graph.windows.net/contoso.com/groups https://outlook.office365.com/api/v1.0/me/userPhoto
  5. 5. Microsoft Graph
  6. 6. Microsoft Graph
  7. 7. USER FILES EMAIL AND CONVERSATIONS PEOPLEEVENTS GROUPS
  8. 8. USER
  9. 9. manager directReports GROUPS memberOf USER
  10. 10. manager directReports GROUPS memberOf MESSAGES USER
  11. 11. MESSAGES manager directReports GROUPS memberOf MESSAGES EVENTS USER
  12. 12. EVENTS MESSAGES manager directReports GROUPS memberOf EVENTS Shared with me modifiedBy FILES createdBy directReports USER public
  13. 13. directReports Shared with me modifiedBy FILES createdBy directReports public EVENTS MESSAGES manager GROUPS memberOf directReports Shared with me modifiedBy FILES createdBy directReports public createdBy FILES CONVERSATIONS EVENTS GROUPS memberOf USER
  14. 14. createdBy FILES CONVERSATIONS EVENTS GROUPS memberOf directReports Shared with me modifiedBy FILES createdBy directReports public EVENTS MESSAGES manager GROUPS memberOf createdBy FILES CONVERSATIONS EVENTS GROUPS memberOf workingWith workingWith USER
  15. 15. workingWith workingWith createdBy FILES CONVERSATIONS EVENTS GROUPS memberOf directReports Shared with me modifiedBy FILES createdBy directReports public EVENTS MESSAGES manager GROUPS memberOf workingWith workingWith trendingAround trendingAround directReports USER
  16. 16. trendingAround trendingAround directReports workingWith workingWith createdBy FILES CONVERSATIONS EVENTS GROUPS memberOf directReports Shared with me modifiedBy FILES createdBy directReports public EVENTS MESSAGES manager GROUPS memberOf TASKS TASKS GROUPS memberOf trendingAround trendingAround directReports USER
  17. 17. TASKS TASKS trendingAround trendingAround directReports workingWith workingWith createdBy FILES CONVERSATIONS EVENTS GROUPS memberOf directReports Shared with me modifiedBy FILES createdBy directReports public EVENTS MESSAGES manager GROUPS memberOf NOTES NOTES TASKS TASKS GROUPS memberOf USER
  18. 18. TASKS manager memberOf FILES MESSAGES workingWith Shared with me directReports createdBy FILES CONVERSATIONS createdBy workingWith EVENTS trendingAround GROUPS TASKS NOTES NOTES public modifiedBy USER trendingAround
  19. 19. Office Delve
  20. 20. Office Delve  Originally named Oslo Experience  Search & Discovery experience  Based on the Office Graph  Designed to be the personal homepage on Office 365
  21. 21. Home Page Contents that might interest me People I work with Card
  22. 22. Me Page Contents directly related to me Trending around me
  23. 23. Profile Page User Profile (from Active Directory and SharePoint) Profile information My place in the organization structure
  24. 24. Boards Shows cards tagged with a common term Similar concept to Pinterest Boards are public and can be used by multiple persons
  25. 25. TASKS manager memberOf FILES MESSAGES workingWith Shared with me directReports createdBy FILES CONVERSATIONS createdBy workingWith EVENTS trendingAround GROUPS TASKS NOTES NOTES public modifiedBy USER trendingAround https://graph.microsoft.com/
  26. 26. TASKS manager memberOf FILES MESSAGES workingWith Shared with me directReports createdBy FILES CONVERSATIONS createdBy workingWith EVENTS trendingAround GROUPS TASKS NOTES NOTES public modifiedBy USER trendingAround https://graph.microsoft.com/v1.0 https://graph.microsoft.com/beta
  27. 27. TASKS manager memberOf FILES MESSAGES workingWith Shared with me directReports createdBy FILES CONVERSATIONS createdBy workingWith EVENTS trendingAround GROUPS TASKS NOTES NOTES public modifiedBy USER trendingAround Scenario API GET my profile https://graph.microsoft.com/v1.0/me GET my files https://graph.microsoft.com/v1.0/me/drive/root/children GET my photo https://graph.microsoft.com/v1.0/me/photo/$value GET my mail https://graph.microsoft.com/v1.0/me/messages GET my high importance email https://graph.microsoft.com/v1.0/me/messages?$filter= importance%20eq%20'high' GET my calendar https://graph.microsoft.com/v1.0/me/calendar GET my manager https://graph.microsoft.com/v1.0/me/manager GET last user to modify foo.txt https://graph.microsoft.com/v1.0/me/drive/root/children/foo.txt/lastModifiedByUser GET Office 365 groups I’m member of https://graph.microsoft.com/v1.0/me/memberOf/$/?$filter= groupTypes/any(a:a%20eq%20'unified') GET users in my organization https://graph.microsoft.com/v1.0/users GET group conversations https://graph.microsoft.com/v1.0/groups/<id>/conversations GET people relevant to me https://graph.microsoft.com/beta/me/people GET files trending around me https://graph.microsoft.com/beta/me/trendingAround GET my tasks https://graph.microsoft.com/beta/me/tasks GET my notes https://graph.microsoft.com/beta/me/notes/notebooks
  28. 28. Graph Explorer https://graph.microsoft.io Simple Graph Scripting https://github.com/mammerla/microsoftgraph-js-basicsite
  29. 29. Users Directory Groups Mail Contacts Meeting Times Calendar Excel Data Extensions Files ConversationsOrganization …more
  30. 30. Insights People Notes Tasks ..more SharePoint
  31. 31. APIs Authentication SDKs Permissions Single Sign-on Tools
  32. 32. • CORS • Hybrid Support • OData query operations • Actions and functions • Webhooks
  33. 33. Microsoft Graph SDK (for .NET)
  34. 34. https://manage.windowsazure.com/ https://portal.azure.com/ https://apps.dev.microsoft.com/
  35. 35. “Hello World!” Microsoft Graph SDK
  36. 36. Native Application Azure AD Authorization Endpoint Azure AD Token Endpoint Microsoft Graph API
  37. 37. http://github.com/AzureAD
  38. 38. Many Organizations Have Azure AD 1 Trillion Azure AD authentications since release of the service 60 M Office 365 users active every month >1 Billion authentications every day on Azure AD More than 500 M user accounts on Azure Active Directory Azure AD manages identity for >7 M tenants 86% of Fortune 500 on Microsoft Cloud (Azure, O365, CRM Online & PowerBI) Every Office 365 and Microsoft Azure customer has Azure Active Directory
  39. 39. Simple ASP.NET/OpenID Connect Sample https://github.com/Azure-Samples/active- directory-dotnet-webapp-openidconnect
  40. 40. • • • • https://github.com/SharePoint/sp-dev-fx-webparts
  41. 41. Sharepoint Framework Webpart with Microsoft Graph
  42. 42. Luis Valencia – MVP www.luisevalencia.com Twitter: @levalencia Luis Valencia – MVP www.luisevalencia.com Twitter: @levalencia

×