简体   繁体   English

Microsoft Graph API哪个版本

[英]Microsoft Graph API which version

When visiting the url - https://developer.microsoft.com/en-us/graph/graph-explorer 访问URL时-https: //developer.microsoft.com/zh-cn/graph/graph-explorer

In the graph explorer it has a drop down 1.0 or beta. 在图形浏览器中,它的下拉菜单为1.0或beta。 Is beta version 2.0 that Microsoft references in all of it's documentation? Microsoft在所有文档中都引用了beta版本2.0吗?

https://docs.microsoft.com/en-us/azure/active-directory/develop/azure-ad-endpoint-comparison https://docs.microsoft.com/zh-CN/azure/active-directory/develop/azure-ad-endpoint-comparison

This would be a great question answered because I do not see a drop down for v2.0 这将是一个很好的问题,因为我看不到v2.0的下拉列表

There are a couple of things to differentiate here. 这里有两件事需要区别。 Azure active directory is the central identity service behind most of Microsoft SaaS services. Azure活动目录是大多数Microsoft SaaS服务背后的中央身份服务。 It provides two main things 它提供了两个主要方面

  • a central identity database that stores users, groups and more. 中央身份数据库,用于存储用户,组等。 It can be accessed via the graph.windows.net API. 可以通过graph.windows.net API进行访问。 Although it's recommended to use the Microsoft graph instead now. 尽管建议立即使用Microsoft图形。

  • authentication and authorization services. 身份验证和授权服务。 That live mostly under login.microsoftonline.com. 那主要在login.microsoftonline.com下。

The later provides two versions of the service v1/v2 that implement different capabilities and protocols. 后者提供了服务v1 / v2的两个版本,可实现不同的功能和协议。 (Second documentation link you're providing). (您提供的第二个文档链接)。

The Microsoft graph on the other hand is the central API for Microsoft 365 services. 另一方面,Microsoft图形是Microsoft 365服务的中央API。 The v1 is supported for production workloads, Microsoft is not going to break the API contract and keep the services behind it up and running. v1支持生产工作负载,Microsoft不会破坏API合同并保持其背后的服务正常运行。 The beta endpoint is where Microsoft makes new things available to get some feedback. Beta端点是Microsoft提供新功能以获取一些反馈的地方。 Not meant for production workloads. 不适用于生产工作负载。 When those new capabilities are ready for prime time, they'll show up under v1. 当这些新功能准备就绪时,它们将显示在v1下。 There's no v2 as of today for the graph. 图表目前没有v2。 They'll publish a v2 once they need to publish breaking changes to existing capabilities to avoid breaking v1 and disrupting customers. 他们需要发布对现有功能的重大更改以避免发布v1并破坏客户时,将发布v2。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM