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

查看:103
本文介绍了使用Microsoft graph 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/zh-cn/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"属性.对该图的调用将是:

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 graph API访问O365 Myapps的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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