WHO_CAN_VIEW_MEMBERSHIP_CANNOT_BE_BROADER_THAN_WHO_CAN_SEE_GROUP

203 views
Skip to first unread message

Wouter Cools

unread,
Oct 1, 2024, 6:04:39 AM10/1/24
to GAM for Google Workspace
Hello,

I want to pass this command to hide a group from the group directory:
gam update group ***groupname*** show_in_group_directory false

I keep getting this answer back:
ERROR: 400: Failed request validation in update settings: WHO_CAN_VIEW_MEMBERSHIP_CANNOT_BE_BROADER_THAN_WHO_CAN_SEE_GROUP - badRequest

This used to work, but not anymore.
My service account is fully authorized, all scopes passed.

What's the problem here?

Thanks,
Wouter.

Ross Scroggs

unread,
Oct 1, 2024, 10:29:29 AM10/1/24
to google-ap...@googlegroups.com
--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/4cd4c0f3-1c9e-4aa8-834a-6bd3e977738en%40googlegroups.com.

Wouter Cools

unread,
Oct 2, 2024, 5:33:02 AM10/2/24
to GAM for Google Workspace
Thanks for the link.

It must be a recent change in policy, because I did this before and ik worked without this error.

regards,
Wouter.

Reply all
Reply to author
Forward
0 new messages