adding new users with csv

16 views
Skip to first unread message

Gershon Eisenberger

unread,
Jul 1, 2024, 12:33:24 PM (2 days ago) Jul 1
to GAM for Google Workspace
I am trying to add new users with with csv. 
This is the command I used:

gam csv /Users/gershoneisenberger/Desktop/Spreadsheets/GAM/newteacher2024.csv gam create user “~primary_user_email” firstname “~fname” lastname “~lname” org /Teachers/ password '******' changepassword on

This is the error I keep on getting: ERROR: 400: Invalid Input: primary_user_email - invalid

Any guidance would be appreciated,

Gershon Eisenberger


✉ Kevin Melillo

unread,
Jul 1, 2024, 12:38:53 PM (2 days ago) Jul 1
to google-ap...@googlegroups.com
The CSV file must have the following header row(based on your command):
primary_user_email,fname,lname


--
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/5c72788c-9bad-4259-999a-f37f45ed7a85n%40googlegroups.com.

Ross Scroggs

unread,
Jul 1, 2024, 12:44:12 PM (2 days ago) Jul 1
to google-ap...@googlegroups.com
The error is not about the column name, it says that the email address itself is invalid.

Show one of the email addresses.
Ross



--

Gershon Eisenberger

unread,
Jul 1, 2024, 12:47:14 PM (2 days ago) Jul 1
to GAM for Google Workspace

NBekritsky 
I left off the domain name on the csv

Reply all
Reply to author
Forward
0 new messages