【发布时间】:2019-09-17 07:53:33
【问题描述】:
我已尝试获取订阅列表
GET https://graph.microsoft.com/v1.0/subscriptions
得到了回应:
{
"error": {
"code": "QueryNotSupported",
"message": "Get Subscriptions list is not supported for the API version 1.0.",
"innerError": {
"request-id": "39473acc-179a-4a41-beba-0dd7887c299b",
"date": "2019-09-17T07:49:12"
}
}
}
相同的请求最终在最后几个小时内有效。 是否有一些使用 Graph API 的迁移活动?
谢谢
更新: 订阅获取现在正在工作,但是当我获得订阅的 id 时
{
"id": "45f46028-2f93-4167-947a-2a1dda035226",
"resource": "users/****/events",
"applicationId": "***",
"changeType": "created,updated,deleted",
"clientState": null,
"notificationUrl": "******",
"expirationDateTime": "2019-09-19T19:46:53.934Z",
"creatorId": "****"
},
并试图删除它:
DELETE https://graph.microsoft.com/v1.0/subscriptions/45f46028-2f93-4167-947a-2a1dda035226
我收到了回复:
{
"error": {
"code": "ResourceNotFound",
"message": "The object was not found.",
"innerError": {
"request-id": "c485edd8-cc2e-461b-8c90-2cb5cc8dbebd",
"date": "2019-09-19T08:51:46"
}
}
}
【问题讨论】: