代码之家  ›  专栏  ›  技术社区  ›  acanessa

使用Microsoft Graph将成员添加到通讯组列表

  •  0
  • acanessa  · 技术社区  · 7 年前

    我正在给 https://graph.microsoft.com/beta/groups/my_group_id_here/members/ $ref并传递以下主体:

    {
      "@odata.id": "https://graph.microsoft.com/beta/directoryObjects/user_id_here"
    }
    

    我得到以下回复:

    {
        "error": {
            "code": "Request_BadRequest",
            "message": "Unable to update the specified properties for objects that have originated within an external service.",
            "innerError": {
                "request-id": "f39af99e-2ee9-406e-b5e0-9ace5bfaf123",
                "date": "2018-08-13T17:35:38"
            }
        }
    }
    

    谢谢!

    1 回复  |  直到 7 年前
        1
  •  0
  •   Marc LaFleur    7 年前

    Microsoft Graph不支持对通讯组列表执行CRUD操作。从 documentation :

    Office 365组 ,一个 ,或 通过“成员导航”属性。