taers232c / GAMADV-XTD3

Command line tool to manage Google Workspace
723 stars 86 forks source link

"Invalid Member" on print groups where email contains apostrophe? #362

Closed bepearson closed 1 year ago

bepearson commented 1 year ago

Example command on version 6.59.02 gam user "test.o'neal@domain.com" print groups

Output: Getting all Groups for test.o'neal@domain.com

WARNING: Got 0 Groups: Invalid Member - test.o'neal@domain.com User,Group,Role,Status,Delivery

This looks related to the apostrophe in address? Is there a way to handle apostrophes?

taers232c commented 1 year ago

Send me a Meet/Zoom invitation.

Ross

On Thu, May 18, 2023 at 7:59 AM Hello @.***> wrote:

Example command on version 6.59.02 gam user @.***" print groups

Output: Getting all Groups for @.***

WARNING: Got 0 Groups: Invalid Member - @.*** User,Group,Role,Status,Delivery

This looks related to the apostrophe in address? Is there a way to handle apostrophes?

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/362, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL2MIDEQBMR7E32L4DDXGY2MFANCNFSM6AAAAAAYGSK66I . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Ross Scroggs @.***

taers232c commented 1 year ago

See: https://support.google.com/mail/answer/9211434

Ross

On Thu, May 18, 2023 at 11:00 AM Ross Scroggs @.***> wrote:

Send me a Meet/Zoom invitation.

Ross

On Thu, May 18, 2023 at 7:59 AM Hello @.***> wrote:

Example command on version 6.59.02 gam user @.***" print groups

Output: Getting all Groups for @.***

WARNING: Got 0 Groups: Invalid Member - @.*** User,Group,Role,Status,Delivery

This looks related to the apostrophe in address? Is there a way to handle apostrophes?

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/362, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL2MIDEQBMR7E32L4DDXGY2MFANCNFSM6AAAAAAYGSK66I . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Ross Scroggs @.***

-- Ross Scroggs @.***

bepearson commented 1 year ago

I think there may be different guidelines for Workspace accounts? https://support.google.com/a/answer/9193374?hl=en#:~:text=Usernames%20can%20contain%20letters%20(a%2Dz,in%20usernames%20must%20be%20lowercase.

"Usernames can contain letters (a-z), numbers (0-9), dashes (-), underscores (_), apostrophes ('), and periods (.)."

taers232c commented 1 year ago

Well, the API doesn't seem to be aware of this. Send me a Meet/Zoom invitation.

Ross

On Thu, May 18, 2023 at 11:38 AM Hello @.***> wrote:

I think there may be different guidelines for Workspace accounts?

https://support.google.com/a/answer/9193374?hl=en#:~:text=Usernames%20can%20contain%20letters%20(a%2Dz,in%20usernames%20must%20be%20lowercase .

"Usernames can contain letters (a-z), numbers (0-9), dashes (-), underscores (_), apostrophes ('), and periods (.)."

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/362#issuecomment-1553475073, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLYFL5MF35WWVOKQ6FLXGZUCJANCNFSM6AAAAAAYGSK66I . You are receiving this because you commented.Message ID: @.***>

-- Ross Scroggs @.***

taers232c commented 1 year ago

That address doesn't work for me in the admin console: https://admin.google.com/ac/groupsinspection

bepearson commented 1 year ago

I see that 'List all groups for a member' does not return any results, but 'Check membership' does correctly return true. So this looks like a GW bug/issue?

taers232c commented 1 year ago

Looks like it to me. When I try Check membership I gst: You don't have permission to check this membership.

On Fri, May 19, 2023 at 7:55 AM Hello @.***> wrote:

I see that 'List all groups for a member' does not return any results, but 'Check membership' does correctly return true. So this looks like a GW bug/issue?

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/362#issuecomment-1554713308, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL55BI4DVK3A5FIBSP3XG6CVFANCNFSM6AAAAAAYGSK66I . You are receiving this because you commented.Message ID: @.***>

-- Ross Scroggs @.***

bepearson commented 1 year ago

I'm checking with Google support and will update if anything changes.

taers232c commented 1 year ago

Thanks

On Fri, May 19, 2023 at 8:13 AM Hello @.***> wrote:

I'm checking with Google support and will update if anything changes.

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/362#issuecomment-1554737516, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL3XG3WDLWERYJ3WO2DXG6EZPANCNFSM6AAAAAAYGSK66I . You are receiving this because you commented.Message ID: @.***>

-- Ross Scroggs @.***

taers232c commented 1 year ago

Fixed in 6.59.13

bepearson commented 1 year ago

Works great!