Microsoft graph api “体验”;404未知错误“;尝试使用图表显示团队频道选项卡时
对于给定的团队,我想选择一个特定的频道,并列出该频道的选项卡 使用x检查ID: 我可以使用以下Microsoft graph api “体验”;404未知错误“;尝试使用图表显示团队频道选项卡时,microsoft-graph-api,microsoft-teams,Microsoft Graph Api,Microsoft Teams,对于给定的团队,我想选择一个特定的频道,并列出该频道的选项卡 使用x检查ID: 我可以使用以下httpget调用查看组: https://graph.microsoft.com/v1.0/groups/193cexxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 以下内容允许我查看特定频道: https://graph.microsoft.com/v1.0/groups/193cexxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx /team/channels/19:x
httpget
调用查看组:
https://graph.microsoft.com/v1.0/groups/193cexxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
以下内容允许我查看特定频道:
https://graph.microsoft.com/v1.0/groups/193cexxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
/team/channels/19:xxxxxxxxxxxxxxxxxxxxx@thread.skype/
结果如下所示:
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#groups('193cee12-xxxx-xxxx-xxxx-a8022fe6754c')/team/channels/$entity",
"id": "19:xxxxxxxxxxxxxxxxxx@thread.skype",
"displayName": "General",
"description": "Test ",
"email": "",
"webUrl": "https://teams.microsoft.com/l/channel/19%xxxxxxxxxxxxxxxxxxx%40thread.skype/General?groupId=193cee12-xxxx-xxxx-xxxx-a8022fe6754c&tenantId=d02b4c26-xxxx-xxxx-xxxx-0e19a90257d6"
}
{
"error": {
"code": "UnknownError",
"message": "",
"innerError": {
"request-id": "1b1040df-xxxx-xxxx-xxxx-04c7952674ba",
"date": "2019-11-04T11:xx:xx"
}
}
}
尝试访问通道的任何属性时出错:
https://graph.microsoft.com/v1.0/groups/193cexxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
/team/channels/19:xxxxxxxxxxxxxxxxxxxxx@thread.skype/tabs
错误如下所示:
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#groups('193cee12-xxxx-xxxx-xxxx-a8022fe6754c')/team/channels/$entity",
"id": "19:xxxxxxxxxxxxxxxxxx@thread.skype",
"displayName": "General",
"description": "Test ",
"email": "",
"webUrl": "https://teams.microsoft.com/l/channel/19%xxxxxxxxxxxxxxxxxxx%40thread.skype/General?groupId=193cee12-xxxx-xxxx-xxxx-a8022fe6754c&tenantId=d02b4c26-xxxx-xxxx-xxxx-0e19a90257d6"
}
{
"error": {
"code": "UnknownError",
"message": "",
"innerError": {
"request-id": "1b1040df-xxxx-xxxx-xxxx-04c7952674ba",
"date": "2019-11-04T11:xx:xx"
}
}
}
我是一个集团的所有者
没有错误信息,因此很难找出哪里出了问题。还有其他人经历过这种情况吗?要获取有关频道的信息,您需要使用
团队
段,而不是组
段
\/ -- 'teams' here, not 'groups'
/v1.0/teams/193cexxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/channels/19:xxxxxxxxxxxxxxxxxxxxx@thread.skype/tabs