Microsoft Graph API-获取订阅问题

时间:2019-09-17 07:53:33

标签: microsoft-graph

我已尝试获取订阅列表 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"
        }
    }
}

1 个答案:

答案 0 :(得分:1)

很抱歉,我们的服务质量确实下降,影响了这两个操作(列出和删除)。此后已解决。