首页 > 解决方案 > Microsoft Intune - 从 Graph API 获取软件列表

问题描述

在 Endpoint Manager 中,我可以列出测试机器上的软件,它看起来像这样:

在此处输入图像描述

然而,当我尝试从 Graph API 获取相同的数据时

https://graph.microsoft.com/v1.0/deviceManagement/detectedApps

这给了我一个空的 json 列表:

{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#deviceManagement/detectedApps",
    "@odata.count": 0,
    "value": []
}

我现在已经花了几个小时在谷歌上搜索有关替代 API 的文章和文档,这些文章和文档可能会给我相同的列表,但还没有。

那么我应该使用什么 API 来获取每台机器上的软件列表呢?

提前致谢 :)

标签: intunemicrosoft-graph-intune

解决方案


结果表明,结果需要一天(或更长时间)才能反映在 MS Graph 中,即使数据立即出现在 endpoint.microsoft.com 中

这看起来很奇怪,因为它有效地查询了 UI 和 API 之间的不同来源


推荐阅读