小编Ari*_*ock的帖子

缺少/ beta/oAuth2Permissiongrants图表调用中的授权

当我们获取特定客户的oAuth2 grants(beta/<tenant_id>/oAuth2Permissiongrants)时,我们只获得3个授权,每个授予一个空范围:

[{
    "consentType": "AllPrincipals",
    "resourceId": "xxxxxxx-b2e2-42d8-9586-21aa24c78412",
    "expiryTime": "2017-08-27T10:19:35.8989022Z",
    "principalId": None,
    "clientId": "xxxxxxx-bd4a-4ac5-ad18-ee304693a3ee",
    "startTime": "2016-02-27T10:19:35.8989022Z",
    "scope": "",
    "id": "xxxxxxxxxx4wRpOj7nrF0zXisthClYYhqiTHhBI"
}, {
    "consentType": "AllPrincipals",
    "resourceId": "xxxxxxxx-b2e2-42d8-9586-21aa24c78412",
    "expiryTime": "2018-03-01T15:16:24.8088543Z",
    "principalId": None,
    "clientId": "xxxxxxxx-633d-4f27-9d07-fe3f95aaa41c",
    "startTime": "2016-09-01T15:16:24.8088543Z",
    "scope": "",
    "id": "xxxxxxxx-dB_4_laqkHHrF0zXisthClYYhqiTHhBI"
}, {
    "consentType": "AllPrincipals",
    "resourceId": "xxxxxxx-b2e2-42d8-9586-21aa24c78412",
    "expiryTime": "2017-12-13T15:30:31.8853053Z",
    "principalId": None,
    "clientId": "xxxxxxxx-c2a8-4f2d-92d5-f4e41f82ad4c",
    "startTime": "2016-06-13T15:30:31.8853053Z",
    "scope": "",
    "id": "xxxxxxxxx-S1fTkH4KtTHrF0zXisthClYYhqiTHhBI"
}]
Run Code Online (Sandbox Code Playgroud)

我们确信这个客户应该有几十个oAuth2拨款,我们期望在API响应中看到这些拨款.

可能是什么原因?

azure-active-directory microsoft-graph

5
推荐指数
0
解决办法
80
查看次数