title: Error when adding a member to a group: "Unable to update the specified properties for objects that have originated within an external service."
body: <p>Using <a href="https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/group_post_members" rel="nofollow noreferrer">https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/group_post_members</a> to add a member to a group</p>
  
  <pre><code>POST /groups/{id}/members/$ref
  {
  "@odata.id": "https://graph.microsoft.com/v1.0/users/xxx@yyy.com"
  }
  </code></pre>
  
  <p>returns error</p>
  
  <pre><code>{
      "error": {
          "code": "Request_BadRequest",
          "message": "Unable to update the specified properties for objects that have originated within an external service."
      }
  }
  </code></pre>
  
  <p>The group that I'm trying to add to has the following properties:</p>
  
  <pre><code>{
      "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#groups/$entity",
      "id": "xxx",
      "deletedDateTime": null,
      "classification": null,
      "createdDateTime": "2017-09-11T21:04:49Z",
      "description": null,
      "displayName": "xxx",
      "groupTypes": [],
      "mail": "xxx@yyy.com",
      "mailEnabled": true,
      "mailNickname": "xxx",
      "onPremisesLastSyncDateTime": null,
      "onPremisesProvisioningErrors": [],
      "onPremisesSecurityIdentifier": null,
      "onPremisesSyncEnabled": null,
      "preferredDataLocation": null,
      "proxyAddresses": [
          "smtp:xxx@yyy.com",
          "SMTP:xxx@yyy.com"
      ],
      "renewedDateTime": "2017-09-11T21:04:49Z",
      "securityEnabled": false,
      "visibility": null
  }
  </code></pre>