Microsoft graph api 不能';t通过Graph API创建动态通讯组

Microsoft graph api 不能';t通过Graph API创建动态通讯组,microsoft-graph-api,Microsoft Graph Api,我正在尝试使用Microsoft Graph API创建动态通讯组,但它总是导致错误: 职位 结果: { "error": { "code": "Request_BadRequest", "message": "The service does not currently support writes of mail-enabled groups. Please ensure that the mail-enablement property is unset and the

我正在尝试使用Microsoft Graph API创建动态通讯组,但它总是导致错误:

职位

结果:

{
  "error": {
    "code": "Request_BadRequest",
    "message": "The service does not currently support writes of mail-enabled groups. Please ensure that the mail-enablement property is unset and the security-enablement property is set.",
    "innerError": {
      "request-id": "748bcafc-f655-463c-b8d3-4ffc55307232",
      "date": "2016-09-13T13:23:36"
    }
  }
}
{
  "error": {
    "code": "Request_BadRequest",
    "message": "A value is required for property 'MembershipRule'.",
    "innerError": {
      "request-id": "58c5d344-c69b-4c9b-8997-28df35c78cb8",
      "date": "2016-09-13T13:24:43"
    }
  }
}
有趣的是,当我向groupTypes添加“Unified”时,它显示了一个不同的错误:

{
  "displayName": "Dynamic Group",
  "groupTypes": ["DynamicMembership","Unified"],
  "mailNickname": "dynamic1",
  "mailEnabled": true,
  "securityEnabled": false
}
结果:

{
  "error": {
    "code": "Request_BadRequest",
    "message": "The service does not currently support writes of mail-enabled groups. Please ensure that the mail-enablement property is unset and the security-enablement property is set.",
    "innerError": {
      "request-id": "748bcafc-f655-463c-b8d3-4ffc55307232",
      "date": "2016-09-13T13:23:36"
    }
  }
}
{
  "error": {
    "code": "Request_BadRequest",
    "message": "A value is required for property 'MembershipRule'.",
    "innerError": {
      "request-id": "58c5d344-c69b-4c9b-8997-28df35c78cb8",
      "date": "2016-09-13T13:24:43"
    }
  }
}
但是,我找不到有关“MembershipRule”字段的任何文档

如果我只使用“统一”组类型,它会成功。但我需要的是“DynamicMembership”

是否可以使用Microsoft Graph API创建动态通讯组?以下是文件:

目前,Microsoft Graph API无法用于创建具有动态成员身份的组。我们正在努力启用该功能,它应该很快就可以使用。在此之前,请使用Azure门户创建此类组。

谢谢!现在还有其他API可以做到这一点吗?