Microsoft Graph:您需要知道的一切

我们已经看到微软(Microsoft)在市场上引入了许多专注于消费者和企业的服务,有时我们很难在不同的设备上跟上不同的服务。微软(Microsoft)早在很久以前就推出了Windows Phone。人们实际上期望移动设备和 PC 之间有更好的连接和通信。我并不是说微软(Microsoft)没有这样做。他们做得很完美。PC 和电话(Phone)是一对很好的组合。但是对于现代智能手机,您还需要更多东西。这是应用程序(Apps)出现的时候。智能手机需要有强大的应用程序支持。不同于谷歌的安卓(Android)和苹果的iOS,微软(Microsoft)Windows Phone并没有得到开发者社区的大力支持。我知道并且我很欣赏微软(Microsoft)努力让更多开发人员为其移动平台构建应用程序,但在各种Windows Phone平台重启后,它总是远远落后于竞争对手。但随着微软新任首席执行官(Microsoft CEO)萨蒂亚·纳德拉(Satya Nadella )的新战略,微软(Microsoft)正朝着不同的方向发展。他们称之为 经验的流动性。 (Mobility of Experience. )

据我从 Satya 的《  Hit Refresh》一书中了解到, (Hit Refresh, )这个世界并不需要第三个手机生态系统;他希望微软在(Microsoft)移动性(Mobility)的道路上工作。让事情变得容易访问,让人们更有效率,在他们的设备之间保持联系,以便他们一起为个人和公司工作。他认为计算的未来是自然的和更具交互性的。因此(Hence),我们都看到Microsoft正在朝着将 Windows 10 驱动的 PC 与(Microsoft)Android手机或 iOS 设备结合在一起并使其协同工作的目标迈进。这里是Microsoft Graph作为这一愿景的关键,发挥着重要作用。

什么是 Microsoft Graph

Microsoft Graph的工作原理是名为 Graph 的(Graph. )数据结构。(Data Structure)现在,微软将其定义为,

Microsoft Graph is the gateway to data and intelligence in Microsoft 365. Microsoft Graph provides a unified programmability model that you can use to take advantage of the tremendous amount of data in Office 365, Enterprise Mobility + Security, and Windows 10.

微软图形

Microsoft Graph在(Microsoft Graph)Microsoft内部不同产品组的各种API(APIs)的帮助下结合在一起。以下API(APIs)可帮助Microsoft Graph API开始工作:

  • Azure 活动目录
  • Office 365服务,例如SharePointOneDriveOutlookExchangeMicrosoft TeamsOneNotePlannerExcel
  • 企业移动性(Enterprise Mobility)安全服务(Security Services),例如Identity ManagerIntuneAdvanced Threat AnalyticsAdvanced Threat Protection ( ATP )。
  • Windows 10 服务,如活动和设备。
  • 教育。

您可以从此处(here)的官方文档中阅读有关如何在Microsoft Graph中使用和实现服务的更多信息。

Microsoft Graph帮助用户做的是建立联系。用户现在可以连接到支持Microsoft Graph的服务中的所有资源。这是通过使用memberOf关系使用户加入一个组来完成的。这有点面向开发人员,所以如果您有兴趣,可以在此处(here)阅读有关此memberOf关系的更多信息。并且一个用户可以使用经理关系(manager relationship)连接到另一个用户。在此处(here)阅读更多相关信息。

使用这种模型,Microsoft能够将您的应用数据(例如通知和继续(Continue)在 PC 上的功能)从您的Android 手机(Android Phone)、iOS 设备或 Windows 10手机(Mobile)同步到您的 Windows 10 PC。

Microsoft Graph 的功能

Microsoft Graph可帮助应用程序开发人员制作一款将深刻影响客户生产力的软件。下面列出了Microsoft Graph的一些主要功能:

  • 扫描(Scans)用户日历中的下一个活动,并通过为与会者提供各种信息来帮助他们做好准备。这组信息包括他们的职位、他们的工作组以及有关他们一直在工作或协作的最新文档和团队项目的信息。
  • 扫描(Scans)用户的日程安排并帮助他们安排会议的最佳时间。
  • (Fetches Office)从存储在云存储(Cloud Storage)( OneDrive ) 内的文件中远程获取 Office文档和文件到图表中连接的任何设备。
  • 研究您的工作流程和日程安排,以便它可以为您在会议上花费的时间提供见解,或为与您相关或重要的会议提供建议。
  • 帮助用户根据其在OneDrive(OneDrive) for 个人文件和OneDrive for Business中的位置来区分他们的工作文件和个人文件。

使用Microsoft Graph(Microsoft Graph)调用的一些请求

OperationURL
GET my profilehttps://graph.microsoft.com/v1.0/me
GET my fileshttps://graph.microsoft.com/v1.0/me/drive/root/children
GET my photohttps://graph.microsoft.com/v1.0/me/photo/$value
GET my mailhttps://graph.microsoft.com/v1.0/me/messages
GET my high importance emailhttps://graph.microsoft.com/v1.0/me/messages?$filter=importance%20eq%20'high'
GET my calendar eventshttps://graph.microsoft.com/v1.0/me/events
GET my managerhttps://graph.microsoft.com/v1.0/me/manager
GET last user to modify file foo.txthttps://graph.microsoft.com/v1.0/me/drive/root/children/foo.txt/lastModifiedByUser
GET Office365 groups I’m member ofhttps://graph.microsoft.com/v1.0/me/memberOf/$/microsoft.graph.group?$filter=groupTypes/any(a:a%20eq%20'unified')
GET users in my organizationhttps://graph.microsoft.com/v1.0/users
GET groups in my organizationhttps://graph.microsoft.com/v1.0/groups
GET people related to mehttps://graph.microsoft.com/v1.0/me/people
GET items trending around mehttps://graph.microsoft.com/beta/me/insights/trending
GET my noteshttps://graph.microsoft.com/v1.0/me/onenote/notebooks

如果您有兴趣了解有关Microsoft Graph的更多信息,或者您是想要构建与 Microsoft Graph 兼容的服务的开发人员,请在此处访问(Microsoft Graph)Microsoft Graph 的官方文档(here.)

这些服务可以通过Graph Explorer(Graph Explorer)来实现和使用。您可以在此处(here)了解更多信息并使用Graph Explorer门户。



About the author

我是一名 Windows 10 技术人员,多年来一直在帮助个人和企业利用新操作系统。我对 Microsoft Office 有丰富的知识,包括如何为不同的用户自定义外观和个性化应用程序。此外,我知道如何使用 Explorer 应用程序来探索和查找计算机上的文件和文件夹。



Related posts