使用Graph API列出渠道时,“未找到具有组ID的团队”

时间:2019-06-20 09:01:06

标签: microsoft-graph

列出团队的渠道时,我收到404“找不到具有组ID的团队”。

我试图列出一个团队的渠道。

GET https://graph.microsoft.com/v1.0/teams/5194c4a7-56da-455c-9cf3-f0abc2f0a9ed/channels

Headers:
Authorization: bearer [access token]

这是我收到的回复:

{
    "error": {
        "code": "ItemNotFound",
        "message": "No Team found with Group id: 5194c4a7-56da-455c-9cf3-f0abc2f0a9ed",
        "innerError": {
            "request-id": "87e84d40-0a1f-4228-8f50-041bb92242f9",
            "date": "2019-06-20T08:42:33"
        }
    }
}

Headers:
request-id: 87e84d40-0a1f-4228-8f50-041bb92242f9
client-request-id: 87e84d40-0a1f-4228-8f50-041bb92242f9
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"SliceC","Ring":"3","ScaleUnit":"002","RoleInstance":"AGSFE_IN_3","ADSiteName":"SEA"}}
Date: Thu, 20 Jun 2019 08:42:33 GMT

但是我可以在Teams客户端和Teams Admin门户中看到该团队,尽管该团队显示为灰色,并显示警告“ 我们无法加载有关该团队的完整信息。请刷新或稍后再尝试时间。”在Teams管理员门户中: screenshot

以下是与团队链接的组的属性。

GET https://graph.microsoft.com/v1.0/groups/5194c4a7-56da-455c-9cf3-f0abc2f0a9ed

{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#groups/$entity",
    "id": "5194c4a7-56da-455c-9cf3-f0abc2f0a9ed",
    "deletedDateTime": null,
    "classification": null,
    "createdDateTime": "2019-05-10T02:57:27Z",
    "creationOptions": [],
    "description": "Test Description for 200 Teams",
    "displayName": "a0cd2f28-57c1-4055-b460-dffd4c4a9274",
    "groupTypes": [
        "Unified"
    ],
    "mail": "a0cd2f28-57c1-4055-b460-dffd4c4a9274@masked_for_security.com",
    "mailEnabled": true,
    "mailNickname": "a0cd2f28-57c1-4055-b460-dffd4c4a9274",
    "onPremisesLastSyncDateTime": null,
    "onPremisesSecurityIdentifier": null,
    "onPremisesSyncEnabled": null,
    "preferredDataLocation": null,
    "proxyAddresses": [
        "SPO:SPO_ee7df84b-1b88-4fe3-b7d9-d933337c618c@masked_for_security",
        "SMTP:a0cd2f28-57c1-4055-b460-dffd4c4a9274@masked_for_security.com"
    ],
    "renewedDateTime": "2019-05-10T02:57:27Z",
    "resourceBehaviorOptions": [],
    "resourceProvisioningOptions": [
        "Team"
    ],
    "securityEnabled": false,
    "visibility": "Public",
    "onPremisesProvisioningErrors": []
}

在我的租户中,这发生在199个团队中的16个。我可以在Teams Admin门户中看到所有这些图标,并且所有这些图标均显示为灰色,并带有相同的警告。顺便说一句,Teams Admin门户使用Graph Api来检索团队的信息,因此我了解由于相同的错误,它们显示为灰色。

对我来说,这似乎是个错误。请帮忙!

0 个答案:

没有答案