Microsoft Graph InTune Beta API - 无法创建受管设备

时间:2017-11-03 08:15:56

标签: azure microsoft-graph intune

我正在尝试使用Intune API创建一个managedDevice,在此处记录 https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/api/intune_devicefe_windowsmanageddevice_create

我收到了一个400错误的请求响应,似乎说这个端点不存在或没有正确响应

 {
  "error": {
    "code": "No method match route template",
    "message": "No OData route exists that match template ~/entityset with http verb POST for request /DeviceFE/StatelessDeviceFEService/managedDevices.",
    "innerError": {
      "request-id": "4b7a8605-3853-44d2-826c-d330e36112c2",
      "date": "2017-11-03T08:10:02"
    }
  }
}

更新: 我使用Beta端点https://graph.microsoft.com/beta/managedDevices/

1 个答案:

答案 0 :(得分:0)

Intune图API不是为创建managedDevice而设计的。当设备注册到Intune时,将创建managedDevice。然后使用Intune图形API,我们可以列出设备,检查特定设备详细信息或为设备发出操作。

相关问题