【发布时间】:2023-03-14 03:04:01
【问题描述】:
我需要从需要在没有用户交互的情况下运行的后台应用程序中检索 AzureAD 中的所有设备。
到目前为止,我的研究是空的,使用 Graph API 作为获取实际数据的唯一选项 - 但不支持非交互式场景。 :(
问题
有没有办法/API 以非交互方式获取所有设备?
研究
图形 API:
https://docs.microsoft.com/en-gb/graph/api/intune-devices-manageddevice-get?view=graph-rest-1.0
不支持非交互式脚本,如以上文档截图和以下链接所示:
MS Graph API - ManagedDevices obtaining Scope
Azure AD 图形 API
https://msdn.microsoft.com/Library/Azure/Ad/Graph/api/api-catalog
MS 不推荐 - 而且似乎也没有办法获取设备。
【问题讨论】:
标签: azure-active-directory microsoft-graph-api azure-ad-graph-api