-
Notifications
You must be signed in to change notification settings - Fork 468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error work is not a valid argument for gam update user #1586
Comments
Check that $NewUser is defined; if not, the command looks like this and you get the error.
$ gam update user otheremail work ***@***.***
ERROR: work is not a valid argument for "gam update user"
Ross
----
Ross Scroggs
***@***.***
… On Dec 16, 2022, at 1:27 AM, anon238 ***@***.***> wrote:
The issue tracker is for reporting product deficiencies. "How do I?" questions should be posted to the discussion forum at https://groups.google.com/group/google-apps-manager <https://groups.google.com/group/google-apps-manager>. When in doubt, start at the discussion forum and return here only when instructed to do so.
Please confirm the following:
I have upgraded to the latest GAM release from https://github.com/GAM-team/GAM/releases <https://github.com/GAM-team/GAM/releases> and I still have this issue.
I am typing the command as described in the GAM Wiki at https://github.com/GAM-team/GAM/wiki <https://github.com/GAM-team/GAM/wiki>
Full steps to reproduce the issue:
gam update user $NewUser otheremail work $NewUserEmail
ERROR: work is not a valid argument for gam update user
Expected outcome (what are you trying to do?): Updating the otheremail with label work.
Actual outcome (what errors or bad behavior do you see instead?): ERROR: work is not a valid argument for gam update user
—
Reply to this email directly, view it on GitHub <#1586>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACCTYL3OZ7EBQXAS6DDSVL3WNQYYDANCNFSM6AAAAAATAVZRIU>.
You are receiving this because you are subscribed to this thread.
|
Yeah this variable is defined. Before that it’s running |
It's getting undefined somehow; but to solve the problem just add |
I will test this in a bit. However the next command is |
What is Any valid option in update user is valid in create user. |
When you create a new user in Workspace you have an option to send a resetlink to a provided email address. I try to do this in GAM too. |
It's not available in GAM. |
Damn!! Writing the script for nothing 🤣 |
Hi, I need to disable the general settings tab for specific users. Preferibly using gam. I looked for an option "gam update user gmailsetting disable_general_settings true" I received an error "gam update user gmailsetting disable_general_settings true" |
There is no API support for disabling this tab, thus GAM can'r help.
Ross
----
Ross Scroggs
***@***.***
… On Mar 26, 2024, at 4:30 PM, The Answer Company ***@***.***> wrote:
Hi, I need to disable the general settings tab for specific users. Preferibly using gam. I looked for an option "gam update user gmailsetting disable_general_settings true" I received an error "gam update user gmailsetting disable_general_settings true"
—
Reply to this email directly, view it on GitHub <#1586 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACCTYLZI72CNIKM2WKQLIVLY2IAKRAVCNFSM6AAAAAATAVZRIWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRRGY2DAMRVHA>.
You are receiving this because you commented.
|
The issue tracker is for reporting product deficiencies. "How do I?" questions should be posted to the discussion forum at https://groups.google.com/group/google-apps-manager. When in doubt, start at the discussion forum and return here only when instructed to do so.
Please confirm the following:
Full steps to reproduce the issue:
gam update user $NewUser otheremail work $NewUserEmail
ERROR: work is not a valid argument for gam update user
Expected outcome (what are you trying to do?): Updating the otheremail with label work.
Actual outcome (what errors or bad behavior do you see instead?):
ERROR: work is not a valid argument for gam update user
The text was updated successfully, but these errors were encountered: