title: How to add members to a Group using Microsoft Graph API
body: <p>How do I add Members to a Group via Microsoft Graph API?</p>
  
  <p>According to documentation for adding Member to a particular Group, it requires the call below:</p>
  
  <pre class="lang-http prettyprint-override"><code>POST https://graph.microsoft.com/v1.0/groups/{id}/members/$ref
  Content-type: application/json
  Content-length: 30
  {
      "@odata.id": "https://graph.microsoft.com/v1.0/users/{id}"
  }
  </code></pre>
  
  <p>My questions lies in this API:</p>
  
  <pre><code>https://graph.microsoft.com/v1.0/groups/{id}/members/$ref
  </code></pre>
  
  <ul>
  <li><p><code>{id}</code> => the group id,</p></li>
  <li><p><code>members</code> => adding members to the group</p></li>
  </ul>
  
  <p>Now where is the users/members data/parameter to be added or posted? </p>
  
  <p>Is it  <code>"@odata.id": "https://graph.microsoft.com/v1.0/users/{id}"</code>? </p>
  
  <p>Do I post <code>@odata.id</code> values as a member/users parameter when adding a member to a group?</p>