Send password reset link when creating new users

426 views
Skip to first unread message

Meagan Autrey

unread,
Mar 13, 2024, 11:44:39 AM3/13/24
to GAM for Google Workspace
Hi, I'm trying to find a way to send a "welcome" email for new users with a password reset link (instead of the password being in plain text in the email) similar to how is done when you create a user through the admin console. Is this possible? 

I'm currently using advanced GAM: 
gam csv create-users.csv gam create user ~email firstname ~first_name lastname ~last_name password ~password changepassword true notify ~personal_email htmlfile /app/files/password_reset_template.html

The password is currently included in the email template because I don't know how else for the user to be able to login. 

Also tried this method (For after the user is already created) - but it also sends the password in plain text in the email. 
gam update user te...@test.com password random notify pers...@test.com subject "New Google Workspace Account Password" from notifi...@test.com changepassword true

Thanks for any help!

Brian Kim

unread,
Mar 14, 2024, 12:43:35 AM3/14/24
to GAM for Google Workspace
The password reset email that Google sends is only possible from the admin console. You could use some other forms of secret distribution to provide a link to a password and change the body of the email (1Password CLI, Google Secret Manager, etc.) instead of sending the password by email.
Reply all
Reply to author
Forward
0 new messages