Command for bulk backup codes

366 views
Skip to first unread message

Shivanshu Veer

unread,
Mar 10, 2022, 1:16:10 AM3/10/22
to google-ap...@googlegroups.com
Hello Team,

Can you please help finding the GAM command for bulk backup code generation for a user's list in csv format?

Regards
Shivanshu Veer

Samuel

unread,
Mar 10, 2022, 3:29:19 AM3/10/22
to GAM for Google Workspace
Hi,

in the documentation we have this for backup code
gam <UserTypeEntity> update backupcodes|backupcode|verificationcodes
gam <UserTypeEntity> delete|del backupcodes|backupcode|verificationcodes
gam <UserTypeEntity> show backupcodes|backupcode|verificationcodes

in bulk
where user.csv is your file and ~email is the header with the users emails

gam csv users.csv gam user ~email update backupcodes

Shivanshu Veer

unread,
Mar 11, 2022, 7:16:18 AM3/11/22
to google-ap...@googlegroups.com
Thanks Samuel .

--
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/69eb7f1b-46ff-4096-99c1-4068a72bf6a1n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages