0

I have G-Suite group containing external users (from gmail.com). When I call Get all members API, until 2018-12-17 google returns status attribute for all members, but now it's empty for external users:

{
   "kind": "admin#directory#member",
   "etag": "",
   "id": "1234",
   "email": "user@internal.domain",
   "role": "MEMBER",
   "type": "USER",
   "status": "ACTIVE"
  },
  {
   "kind": "admin#directory#member",
   "etag": "",
   "id": "4321",
   "email": "some+user@gmail.com",
   "role": "MEMBER",
   "type": "USER"
}

Documentation says nothing if status is mandatory attribute or not.

Can you please explain how to get all active members of certain group?

Michal Hlaváč
  • 141
  • 1
  • 1
  • 8

1 Answers1

0

Maybe try using the Members: list API method instead?

Perhaps also try setting the flag for includeDerivedMembership to true (defaults to false)

ScottMcC
  • 4,094
  • 1
  • 27
  • 35