Enumerate all members of a group, even when using "Add all users to a group"

45 views
Skip to first unread message

elknwelkjs

unread,
Aug 8, 2017, 6:55:49 PM8/8/17
to GAM for G Suite
I'm referring to this feature: https://support.google.com/a/answer/66338?hl=en

Apparently there's a bug in the feature such that some users don't get added to the group. G Suite support (which I just got off the phone with) was not able to confirm the exact nature of the bug or if they are even going to fix it, they basically said, "make sure you monitor who receives email whenever you add more users to your company" (obviously this isn't a scalable solution).

I'm interested in a more proactive way to solve this problem. If I can get GAM to enumerate all the members of a group, I could do it. Unfortunately when I run *gam info group allu...@domain.com* I get a list that shows me the type of membership (member/owner/manager), the identifier, and the "class"... in most cases the identifier is the primary email associated with an account, and the class is "user." However, in the 1 case I really care about the identifier is a somewhat cryptic 9 character string with "customer" as the class.

Is there any way for me to expand to the true list?

Ross Scroggs

unread,
Aug 8, 2017, 7:23:59 PM8/8/17
to google-ap...@googlegroups.com
Dustin,

When you add "All users within your-domain" to a group, what's added to the group is your Customer ID with class CUSTOMER.
What's not added to your group are the individual addresses of all of the users within the domain.
Do "gam info domain", Customer ID: shows the somewhat cryptic 9 character string

When someone sends a message to the group, the implied behavior is that Google expands CUSTOMER/Customer ID to be the current list of all users in the domain.
Is this not working in your case?

Ross

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/d97beb5e-ce79-46c2-ac20-49958c828539%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Dustin Suchter

unread,
Aug 8, 2017, 7:40:05 PM8/8/17
to google-ap...@googlegroups.com
When someone sends a message to the group, the implied behavior is that Google expands CUSTOMER/Customer ID to be the current list of all users in the domain.
Is this not working in your case?

Correct. That expansion failed and G Suite support readily admitted "sometimes when you create a new user after setting up the group, the new users are not properly added." A few quick tests with an example user on my end proved that was true... I mean, the feature is pretty simple - there should _never_ be a state where a message with that checkbox gets missed to _any active user_ in my entire account, and it was trivial to verify delivery did not happen. I was able to fix that by removing the "all users" and then immediately re-adding it. That's a retarded workflow, so I was hoping to find a more explicit way to verify the group behaves as I intend using GAM.

On Tue, Aug 8, 2017 at 4:23 PM, Ross Scroggs <ross.s...@gmail.com> wrote:
Dustin,

When you add "All users within your-domain" to a group, what's added to the group is your Customer ID with class CUSTOMER.
What's not added to your group are the individual addresses of all of the users within the domain.
Do "gam info domain", Customer ID: shows the somewhat cryptic 9 character string

When someone sends a message to the group, the implied behavior is that Google expands CUSTOMER/Customer ID to be the current list of all users in the domain.
Is this not working in your case?

Ross
On Tue, Aug 8, 2017 at 3:55 PM, elknwelkjs <dus...@srax.com> wrote:
I'm referring to this feature: https://support.google.com/a/answer/66338?hl=en

Apparently there's a bug in the feature such that some users don't get added to the group. G Suite support (which I just got off the phone with) was not able to confirm the exact nature of the bug or if they are even going to fix it, they basically said, "make sure you monitor who receives email whenever you add more users to your company" (obviously this isn't a scalable solution).

I'm interested in a more proactive way to solve this problem. If I can get GAM to enumerate all the members of a group, I could do it. Unfortunately when I run *gam info group allu...@domain.com* I get a list that shows me the type of membership (member/owner/manager), the identifier, and the "class"... in most cases the identifier is the primary email associated with an account, and the class is "user." However, in the 1 case I really care about the identifier is a somewhat cryptic 9 character string with "customer" as the class.

Is there any way for me to expand to the true list?

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsubscribe...@googlegroups.com.



--

--
You received this message because you are subscribed to a topic in the Google Groups "GAM for G Suite" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/grDnU6996zY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-manager+unsub...@googlegroups.com.

To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

For more options, visit https://groups.google.com/d/optout.



--
srax_105x50px_nb.png
(Nasdaq: SRAX)
 
Dustin Suchter  CTO, SRAX 
srax.com  
+1 (415) 504-3556   
 


Ross Scroggs

unread,
Aug 8, 2017, 8:07:11 PM8/8/17
to google-ap...@googlegroups.com
Dustin,

All GAM sees is the CUSTOMER/Customer ID entry in the group. Because the problem corrects itself when you delete the Customer ID and add it back, it makes you wonder if Google takes a snapshot of the current users and hides it in the background somewhere when you do the add. When you add a new user to the domain, do they always remember to update the snapshot? Maybe not and that's the bug.

If they expand CUSTOMER/Customer ID on the fly, then the delete/add would have no effect on the problem.

You can do do the delete/add with Gam (still a hack but it does seem to work).
gam update group allu...@domain.com delete member C12345678
gam update group allu...@domain.com add member C12345678

Ross

To unsubscribe from this group and all its topics, send an email to google-apps-manager+unsubscribe...@googlegroups.com.

To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.



--
srax_105x50px_nb.png
(Nasdaq: SRAX)
 
Dustin Suchter  CTO, SRAX 
srax.com  
+1 (415) 504-3556   
 


--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.

To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

For more options, visit https://groups.google.com/d/optout.



--

Dustin Suchter

unread,
Aug 8, 2017, 8:32:18 PM8/8/17
to google-ap...@googlegroups.com
Maybe not and that's the bug.
Exactly.

You can do do the delete/add with Gam (still a hack but it does seem to work).
Yet again, GAM is a better admin tool than the actual OEM admin tool... heh. Thanks!!




--

--
You received this message because you are subscribed to a topic in the Google Groups "GAM for G Suite" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/grDnU6996zY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-manager+unsub...@googlegroups.com.

To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages