Microsoft Graph team creation error: "CreateTeamFromTemplateRequest"
Microsoft Graph team creation error: "CreateTeamFromTemplateRequest"
通过图表创建团队 API 过去工作正常 使用此 json:
// POST https://graph.microsoft.com/v1.0/teams
{
"template@odata.bind": "https://graph.microsoft.com/v1.0/teamsTemplates('standard')",
"displayName": "TeamName",
"members": [
{
"roles": [
"owner"
],
"user@odata.bind": "https://graph.microsoft.com/v1.0/users('...')",
"@odata.type": "#microsoft.graph.aadUserConversationMember"
}
]
}
但现在我不断收到此错误:
{
"error": {
"code": "NotFound",
"message": "Failed to execute Templates backend request CreateTeamFromTemplateRequest. Request Url: https://teams.microsoft.com/fabric/emea/templates/api/team, Request Method: POST, Response Status Code: NotFound, Response Headers: ...",
"innerError": {
"message": "Failed to execute Templates backend request CreateTeamFromTemplateRequest. Request Url: https://teams.microsoft.com/fabric/emea/templates/api/team, Request Method: POST, Response Status Code: NotFound, Response Headers: Strict-Transport-Security: ..., ErrorMessage : {\"errors\":[{\"message\":\"Error when calling Middle Tier. Message: ''. Error code: 'NotFound'. Status code: NotFound.\",\"errorCode\":\"Unknown\"}],\"operationId\":\"...\"}",
"code": "ItemNotFound",
"innerError": {},
"date": "2021-11-05T15:49:22",
"request-id": "...",
"client-request-id": "..."
}
}
}
我是做错了什么还是倒退?如果是这样,我将非常感谢 Microsoft 的修复,因为我需要创建团队的能力。
user@odata.bind中提到的用户id需要更正。如果用户不存在该 ID,则会出现 NotFound
错误。
请检查您传递的用户 ID 是否正确。
通过图表创建团队 API 过去工作正常 使用此 json:
// POST https://graph.microsoft.com/v1.0/teams
{
"template@odata.bind": "https://graph.microsoft.com/v1.0/teamsTemplates('standard')",
"displayName": "TeamName",
"members": [
{
"roles": [
"owner"
],
"user@odata.bind": "https://graph.microsoft.com/v1.0/users('...')",
"@odata.type": "#microsoft.graph.aadUserConversationMember"
}
]
}
但现在我不断收到此错误:
{
"error": {
"code": "NotFound",
"message": "Failed to execute Templates backend request CreateTeamFromTemplateRequest. Request Url: https://teams.microsoft.com/fabric/emea/templates/api/team, Request Method: POST, Response Status Code: NotFound, Response Headers: ...",
"innerError": {
"message": "Failed to execute Templates backend request CreateTeamFromTemplateRequest. Request Url: https://teams.microsoft.com/fabric/emea/templates/api/team, Request Method: POST, Response Status Code: NotFound, Response Headers: Strict-Transport-Security: ..., ErrorMessage : {\"errors\":[{\"message\":\"Error when calling Middle Tier. Message: ''. Error code: 'NotFound'. Status code: NotFound.\",\"errorCode\":\"Unknown\"}],\"operationId\":\"...\"}",
"code": "ItemNotFound",
"innerError": {},
"date": "2021-11-05T15:49:22",
"request-id": "...",
"client-request-id": "..."
}
}
}
我是做错了什么还是倒退?如果是这样,我将非常感谢 Microsoft 的修复,因为我需要创建团队的能力。
user@odata.bind中提到的用户id需要更正。如果用户不存在该 ID,则会出现 NotFound
错误。
请检查您传递的用户 ID 是否正确。