admin管理员组

文章数量:1126098

When you make initial delta call (),

.0/groups/delta?$filter=id eq <group-id>, can response include an id that is tagged as both added & removed as it includes the whole history since the group was created?

For example,

HTTP/1.1 200 OK
Content-type: application/json

{
  "@odata.context":".0/$metadata#users(displayName,givenName,surname)",
  "@odata.nextLink":".0/users/delta?$skiptoken=oEBwdSP6uehIAxQOWq_3Ksh_TLol6KIm3stvdc6hGhZRi1hQ7Spe__dpvm3U4zReE4CYXC2zOtaKdi7KHlUtC2CbRiBIUwOxPKLa",
  "value": [
    {
      "displayName":"Cameron White",
      "givenName":"Cameron",
      "surname":"White",
      "id":"ffff7b1a-13b6-477b-8c0c-380905cd99f7"
    },   
    {
      "id": "ffff7b1a-13b6-477b-8c0c-380905cd99f7",
      "@removed": {
        "reason": "deleted"
      }
    },
    {
      "displayName": "Conf Room Adams",
      "id": "6ea91a8d-e32e-41a1-b7bd-d2d185eed0e0"
    }
  ]
}

In the above example, ffff7b1a-13b6-477b-8c0c-380905cd99f7 is in the response two times.

本文标签: azure active directoryinitial delta api call with same id addedremovedStack Overflow