Longtime GAM user, but new to managing Chat with GAM. My company is getting rid of Slack, and moving to Chat.
We are not concerned about migrating content, just the channels and members. With 200 channels to duplicate, I really want to semi-automate the process with GAM. After updating my API authorizations, I can create Spaces, add managers and members, etc. I have also created the required Chat Bot. But I am having difficulty updating Chat Space permissions, such as
managemembersandgroups,
managewebhooks, and
modifyspacedetails.
gam user ad...@mycompany.com update chatspace spaces/ZzZzAx123456 managemembersandgroups managers When I use the above command, where
ad...@mycompany.com is the account I've been using for years with GAM, I get this error:
Chat Admin:
ad...@mycompany.com (asadmin), Chat Space: spaces/
ZzZzAx123456, Update Failed: Updating permission settings with admin access is not supported. To update permission settings, authenticate as a user without admin access.
I am really confused about the asadmin bit, as well as the authenticate as a user without admin access, which seems somewhat oxymoronic. I tried to setup GAM with my normal, non-admin user account, (after backing up the GAMconfig folder), but:
just results in:
Update Failed: Permission denied to perform the requested action on the specified resource, or the resource doesn't exist.
I think I might be missing steps in the GCP project, or something in GWS admin, but I'm not sure what to try next. Any guidance from the experts? TIA!