当我在邮递员中使用REST API在MS团队中创建一个组时。
网址:https://graph.microsoft.com/beta/groups
请求机构:
{
"description": "Self help community for golf",
"displayName": "Golf Assist",
"groupTypes": [
"Unified"
],
"mailEnabled": true,
"mailNickname": "golfassist",
"securityEnabled": false
}
我收到了一个错误。错误如下。
{
"error": {
"code": "InternalServerError",
"message": "Value cannot be null.\r\nParameter name: value",
"innerError": {
"request-id": "4a57c3e2-47a4-46bd-a5bb-a00a612fd613",
"date": "2019-04-02T16:31:30"
}
}
}
我该如何纠正这个问题?
我们检查了您的请求中的日志,看起来您使用Microsoft帐户(也称为MSA)与Azure Active Directory(Azure AD)帐户调用图表。 Microsoft Graph API for Teams不支持MSA帐户,仅支持Azure AD帐户。
尝试在团队中创建班次时,我看到相同的确切错误。这个仍处于测试阶段。