【问题标题】:Microsoft Graph InTune Beta API's - Unable to create managed deviceMicrosoft Graph InTune Beta API - 无法创建托管设备
【发布时间】:2017-11-10 04:51:25
【问题描述】:

我正在尝试使用 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/

【问题讨论】:

  • 您是否正在访问 beta 端点 (https://graph.microsoft.com/beta)?
  • 是的,我使用graph.microsoft.com/beta/managedDevices端点
  • 嗯,那很奇怪。从错误的外观来看,它可能是由 Graph API 为您调用的 Intune API 生成的。

标签: azure microsoft-graph-api intune


【解决方案1】:

Intune 图形 API 并非旨在创建 managedDevice。将设备注册到 Intune 时将创建 managedDevice。然后使用 Intune 图形 API,我们可以列出设备、检查特定设备详细信息或针对设备发出操作。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-07-30
    • 2020-09-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多