taers232c / GAMADV-XTD3

Command line tool to manage Google Workspace
729 stars 85 forks source link

"makesecuritygroup" not functioning for gam update cigroup (existing dynamic group) #261

Closed itstom20 closed 2 years ago

itstom20 commented 2 years ago

Hey all,

Command: gam update cigroup staff@domain.com makesecuritygroup

This command sends the following: send: b'{"labels": {"cloudidentity.googleapis.com/groups.discussion_forum": "", "cloudidentity.googleapis.com/groups.security": ""}}'

Which gives: reply: 'HTTP/1.1 400 Bad Request\r\n'

staff@domain.com is a dynamic group. I think that GAM is sending only discussion_forum and security, which is causing the API to spit back a 400 since the request didn't include dynamic in the mapping. It thinks you're trying to remove the dynamic label so doesn't let you add security label.

(context: dynamic cigroups already successfully created by GAM)

taers232c commented 2 years ago

Send me a Meet/Zoom invitation

Ross

taers232c commented 2 years ago

Tom, 6.20.04 is available. Thanks for the help, Ross

itstom20 commented 2 years ago

Ross - initial testing is a success. You're the man!

I'll add it to the wiki.