title: Add member to distribution list using Microsoft Graph
body: <p>I am trying to add (and eventually remove) a member to a group using Graph. I can do it if the group is an Office365 group, but the issue is that I need to add it on a distribution list.</p>
  
  <p>I am doing a POST to <a href="https://graph.microsoft.com/beta/groups/my_group_id_here/members/" rel="nofollow noreferrer">https://graph.microsoft.com/beta/groups/my_group_id_here/members/</a>$ref and passing the following body:</p>
  
  <pre><code>{
    "@odata.id": "https://graph.microsoft.com/beta/directoryObjects/user_id_here"
  }
  </code></pre>
  
  <p>I get the following response:</p>
  
  <pre><code>{
      "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"
          }
      }
  }
  </code></pre>
  
  <p>Is there a way to add a member to a distribution list?</p>
  
  <p>Thanks!</p>