【发布时间】: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 API 为您调用的 Intune API 生成的。
标签: azure microsoft-graph-api intune