使用 Microsoft 图形 API 访问 O365 Myapps [英] Using Microsoft graph API to access O365 Myapps

查看:28
本文介绍了使用 Microsoft 图形 API 访问 O365 Myapps的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用图形 API 获取通过我的应用程序可用的所有应用程序,但我没有看到任何允许我这样做的调用.

I'm trying to get all of the apps that are available through my apps with the graph API and I don't see any call that allows me to do that.

我一直在这里阅读他们的文档:https:///msdn.microsoft.com/en-us/office/office365/api/api-catalog 但是,找不到与我的问题有关的任何内容.

I've been reading their documentation here: https://msdn.microsoft.com/en-us/office/office365/api/api-catalog however, have been unable to find anything that pertains to my issue.

推荐答案

您所指的文档实际上是针对 Office 365 API 的.Graph API 可在此处获得:http://graph.microsoft.io/en-us/docs .虽然两者在功能上相似,但建议使用 Graph 来访问未来的 O365 数据,因为它是此服务和其他服务的统一端点.

The documentation you are referring to is actually for the Office 365 API. The Graph API is available here: http://graph.microsoft.io/en-us/docs . While the two are similar in functionality, it is recommended to use Graph to access O365 data moving forward, as it is a unified endpoint for this and other services.

要查找用户的可用应用,您可以获取用户的assignedPlans"属性.对 Graph 的调用是:

To find a user's available apps, you can get the "assignedPlans" property of a user. The call to the Graph would be:

https://graph.microsoft.com/v1.0/users/[uid]/assignedPlans

其中 UID 是用户的 ID 或电子邮件地址.

where UID is the user's ID or email address.

这篇关于使用 Microsoft 图形 API 访问 O365 Myapps的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆