UserAllowList to restrict users allowed to login to device

938 views
Skip to first unread message

Jeffrey Kurpaska

unread,
Feb 15, 2022, 10:51:37 AM2/15/22
to google-ap...@googlegroups.com
Hello All,

I want to try and restrict logins to chromebooks to specific users and not allow logins by others. Looks like it's a policy setting ?

Is it possible via GAM to set values for DeviceUserAllowlist and DeviceAllowNewUsers ?

and have you seen any sample code ?

thanks as always !

--
Jeff Kurpaska

Ross Scroggs

unread,
Feb 15, 2022, 11:07:33 AM2/15/22
to google-ap...@googlegroups.com
Jeffrey,

You can only do this by OU.

gam update chromepolicy chrome.devices.SignInRestriction deviceAllowNewUsers RESTRICTED_LIST userAllowlist test...@domain.com,test...@domain.com ou /Test


Ross


--
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/CABYJDDGesDsG2zoAFScxsfpkUuB%2BH%3DOF_6KXaAGYJHQi3ENWMA%40mail.gmail.com.


--

Kim Nilsson

unread,
Feb 15, 2022, 1:17:45 PM2/15/22
to GAM for Google Workspace
Jeffrey,

So if you create individual OUs for all of your devices, you can use this setting to restrict each individual device.
If you have 50 devices, that's 50 OUs. If you have 25 000 devices, that's 25k OUs. It quickly gets out of hand.

An alternative is to use a Chrome extension called oneTwoOne, actually created by Jay Lee (creator of GAM).
Then you push the Chromebook owner email into the attribute Location on each device, and nobody else will enjoy using the device. :-)

No need for separate OUs.

Corey Schneer

unread,
Mar 3, 2023, 4:53:20 PM3/3/23
to GAM for Google Workspace
Kim, do you use this method? The chrome extension is quite out of date. When you say they won't enjoy it, how do you mean? There isn't much information out there on oneTwoOne

Kim Nilsson

unread,
Mar 3, 2023, 5:15:35 PM3/3/23
to google-ap...@googlegroups.com
No, I don't do any of this, as we don't consider it a problem, and just don't want to do the extra work, because it's not worth it.

Cost vs benefits just doesn't justify it.
--
/Kim
--
There is No Substitute!

Jay Lee

unread,
Mar 3, 2023, 5:21:18 PM3/3/23
to google-ap...@googlegroups.com
The oneTwoOne extension isn't terribly complex so if you have any understanding of programming it wouldn't take a ton of work to get it going for your needs.

I do agree with Kim that you should be asking if this is a good problem to solve with technology or if other processes may work better and be less time consuming.

Jay

--
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.
Message has been deleted

Kim Nilsson

unread,
Mar 3, 2023, 6:00:13 PM3/3/23
to google-ap...@googlegroups.com
There is the exact amount of documentation needed to make it work.--

Paul S

unread,
May 15, 2024, 6:07:08 PM5/15/24
to GAM for Google Workspace
Hello Jay,

I test tried this extension and it works pretty well. Only thing I would like to do is change the blocked text from "You are not allowed to use this device. Please log off." to something different like "This is not your assigned Chromebook. If you can't locate your assigned Chromebook, please check with your teacher or the tech department."

I would love to know if there is any way to do it, even if by hosting with a different extension ID.

Thank a lot for all these tools and support!

Paul

Ross Scroggs

unread,
May 16, 2024, 11:18:20 AM5/16/24
to google-ap...@googlegroups.com
I don't see a policy that let's you change the message.

Ross

This e-mail communication (including attachments) contains confidential and privileged information which is intended for the individual(s) or entity(ies) to whom this e-mail is addressed. If you are not an intended recipient, you are notified that any forwarding, copying, disclosure, distribution, or use of this e-mail and any of its contents or attachments is prohibited. The recipient should check this e-mail and any attachments for the presence of malware. Twin Rivers Charter School has taken reasonable precautions to ensure no viruses are present in this e-mail, it accepts no liability for any loss or damage arising from the use of this e-mail or attachments.

--
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.


--

Paul S

unread,
May 16, 2024, 12:11:02 PM5/16/24
to GAM for Google Workspace
Thanks for your reply, Ross!  Yes, I don't think there is any policy to change the message. The message is coming from the html file that's part of the extension. I was wondering if there is any way the message could be changed.

Kim Nilsson

unread,
May 16, 2024, 12:21:18 PM5/16/24
to google-ap...@googlegroups.com
Yes, you can copy Jay's, adjust and publish your own extension.

Alternatively, Jay could edit his to accept JSON information from the admin console.

Either way, someone has to publish a new version to adjust built-in text.

Paul S

unread,
May 16, 2024, 12:39:33 PM5/16/24
to GAM for Google Workspace
Thank you, Kim! I was wondering if it's okay to download, edit, and publish as your own?

Does Google/admin console allow extensions from alternate sources other than publishing to the Chrome store?

Kim Nilsson

unread,
May 16, 2024, 1:17:00 PM5/16/24
to google-ap...@googlegroups.com
Yes, but I don't know how.
You are also OK to publish it privately so it's only available for your organisation.

Paul S

unread,
May 16, 2024, 4:04:28 PM5/16/24
to GAM for Google Workspace
Yes, that's what I was thinking – publishing it privately and adding by ID. I don't have the developer account though.

I'm really interested in knowing if there's a way to install from a local source, google drive etc., or some other way without publishing it to the Store. I know you can enable the Chrome developer setting and install from local storage, but that's not a solution for production.

Thanks for all the help!

Paul

Kim Nilsson

unread,
May 16, 2024, 11:21:36 PM5/16/24
to google-ap...@googlegroups.com
Just sign up for one.
But it's best to do it with a impersonal utility account, and not your own accoun, in case you leave the organisation.

Paul S

unread,
May 17, 2024, 12:07:34 PM5/17/24
to GAM for Google Workspace
Thanks for all the help, Kim and Ross! I think that's the way to go.

Jay Lee

unread,
May 17, 2024, 12:32:08 PM5/17/24
to google-ap...@googlegroups.com
Note that One2One is using Chrome extension manifest v2 and when Google finally deprecates v2 for Chrome / ChromeOS the extension will break. GitHub pull requests to upgrade One2One to v3 are welcome...

Jay Lee


This e-mail communication (including attachments) contains confidential and privileged information which is intended for the individual(s) or entity(ies) to whom this e-mail is addressed. If you are not an intended recipient, you are notified that any forwarding, copying, disclosure, distribution, or use of this e-mail and any of its contents or attachments is prohibited. The recipient should check this e-mail and any attachments for the presence of malware. Twin Rivers Charter School has taken reasonable precautions to ensure no viruses are present in this e-mail, it accepts no liability for any loss or damage arising from the use of this e-mail or attachments.

--
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.
Reply all
Reply to author
Forward
0 new messages