Skip to content
Kim Nilsson edited this page Aug 21, 2020 · 20 revisions

SetPasswordOnGroupOfUsers (SPOGOU)

How to set passwords on users provided only an address to a G Suite group, and share the results back to the teacher who asked for it.

Link to copyable SPOGOU.

https://docs.google.com/spreadsheets/d/1OE74rUE4zpgu9c_3ks8zuBaq-ACmWIeNKRvZNTvDsDQ/copy

Click the link with your Chromebook admin (often superadmin) account.

Remove Copy of and - Template from name of spreadsheet.

Try to run Set password on group of users / Prepare sheets. It should ask for authorisation.

Allow access to your superadmin/CB Admin account. Else nothing will work.

The script will run, create and prepare a number of sheets.

Fill in the necessary data in the Indata sheet.

Then continue running the functions in the order they are listed. The script will move your view along to the active sheet, so you can see what is happening.

When you are done, you need to remove the project from the sheet. Open the Script Editor go to File menu and click Remove Project. If you don't, then the script will be available to the teacher you just shared the list with, and it will mess things up.

If you don't want to create a Sheet copy, the scripts are also available here in this repo.

DO NOTE! If you copy the scripts from here, instead of copying the entire Sheets file, you will have to enable the API manually. Here's how you do that. Click the following menus.

Tools / Script Editor Resources Advanced Google Services

Then click the button for

Admin Directory API

Ok and save.

PRIVACY POLICY

You are in full control of all the data. The script is only accessing data you yourself have access to. No data is sent anywhere, except between you and Google. No matter if you create a copy of my Sheet or my scripts, I will never gain access to any of your data. All data reading and writing is done by you on your own account.

paypal

Clone this wiki locally