简体   繁体   English

Azure 图 API - 设备管理。 不返回所有系统

[英]Azure Graph API - Device Mgmt. does not return all systems

I have sent the following call to the Microsoft Graph API: https://graph.microsoft.com/beta/deviceManagement/managedDevices here I get a list of devices, but it is incomplete.我已将以下调用发送到 Microsoft Graph API: https://graph.microsoft.com/beta/deviceManagement/managedDevices此处我获得了设备列表,但它不完整。 Client and server systems are missing, which our customer can see via the web interface (endpoint.microsoft.com).缺少客户端和服务器系统,我们的客户可以通过 web 界面 (endpoint.microsoft.com) 查看。 The first thought was that the client systems are not in Intune, but this isn't true.第一个想法是客户端系统不在 Intune 中,但事实并非如此。 If I now make my subsequent query for the individual devices and take an ID that does not come from the response but from the interface of the customer, I get an "internal server error".如果我现在对单个设备进行后续查询并获取不是来自响应而是来自客户界面的 ID,我会收到“内部服务器错误”。 I have made the following queries: https://graph.microsoft.com/beta/deviceManagement/managedDevices/{DeviceId}/windowsProtectionState https://graph.microsoft.com/beta/deviceManagement/managedDevices/{DeviceId}/windowsProtectionState/detectedMalwareState我做了以下查询: https://graph.microsoft.com/beta/deviceManagement/managedDevices/{DeviceId}/windowsProtectionState https://graph.microsoft.com/beta/deviceManagement/managedDevices/{DeviceId}/windowsProtectionState/检测到恶意软件状态

Is it possible to get a logical error message there?是否有可能在那里获得逻辑错误消息?

How to retrieve the information for server systems and what can be the reason that we do not get all client system?如何检索服务器系统的信息以及我们没有获取所有客户端系统的原因是什么?

The complete data (Device) might be not coming in a single page there will a next page link for see the rest of devices (Missing Server and Client System)完整的数据(设备)可能不会出现在单个页面中,将有一个下一页链接,用于查看设备的 rest(缺少服务器和客户端系统)

在此处输入图像描述

Use the @odata.使用@odata。 next link API to get the Rest of missing System下一个链接 API 获取缺失系统的 Rest

在此处输入图像描述


Here is one more alternative way you can get the List of Client and Server System(Including Manage and Unmanaged).这是获取客户端和服务器系统列表(包括管理和非托管)的另一种方法。

API for Server System Details: API 服务器系统详细信息:

https://graph.microsoft.com/v1.0/devices?$count=true&$filter=startswith(operatingSystem, 'Windows Server') https://graph.microsoft.com/v1.0/devices?$count=true&$filter=startswith(operatingSystem, 'Windows Server')

在此处输入图像描述

API for Client System Details API 客户端系统详情

https://graph.microsoft.com/v1.0/devices?$count=true&$filter=startswith(operatingSystem, 'Windows') https://graph.microsoft.com/v1.0/devices?$count=true&$filter=startswith(operatingSystem, 'Windows')

在此处输入图像描述

Note : Based on version you can also filter like Windows 10 or Window Sever 2012 Datacentre注意:根据版本,您还可以过滤 Windows 10 或 Window Sever 2012 Datacentre

Reference: https://learn.microsoft.com/en-us/graph/api/device-list?view=graph-rest-1.0&tabs=http参考: https://learn.microsoft.com/en-us/graph/api/device-list?view=graph-rest-1.0&tabs=http

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

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