Bulk Changes to Directory sharing - Set to OFF

582 views
Skip to first unread message

Paul Follan

unread,
Jul 21, 2022, 6:10:26 AM7/21/22
to GAM for Google Workspace
Hi,

I am looking to make a bulk change to users who are unlicenced on our system.

I want to set their Directory Sharing status to OFF.

I would look to do this from a CSV File containing the to be impacted users.

Is there a known GAM command to set the directory sharing to OFF?

The users are all in their own OU - so there may also be a command i can use at an OU level - negating the need for a CSV file?

Any assistance would be welcomed and appreciated.

Regards

Paul







The information contained in this email and any files transmitted with it are confidential and intended for the addressee only. If you have received this email in error please accept our apologies and notify us on 01722 343989. Disclosure, copying, distribution or other use of this communication is strictly prohibited. Any opinions expressed in this email are those of the sender only and should not be taken to represent those of the company.

Abicare Services Ltd, AbiHouse Unit 1a, Brunel Road, Salisbury, Wiltshire, SP2 7PU | Registered no. 5597217, Registered in England | www.abicare.co.uk

Ross Scroggs

unread,
Jul 21, 2022, 9:11:14 AM7/21/22
to google-ap...@googlegroups.com
Paul,

There is no Google API support for this thus GAM can't help.

--
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/94a4674c-864e-4279-bc96-d8ff6b8c0c1fn%40googlegroups.com.

Jay Lee

unread,
Jul 21, 2022, 9:13:42 AM7/21/22
to google-ap...@googlegroups.com

Paul Follan

unread,
Jul 21, 2022, 9:14:46 AM7/21/22
to google-ap...@googlegroups.com
Ross,

Thank you for the feedback.

Regards

Paul

You received this message because you are subscribed to a topic in the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/pC4JLRN6prs/unsubscribe.
To unsubscribe from this group and all its topics, 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/FBA4B379-F8D0-4D2C-9DB0-6A0D11B6D625%40gmail.com.

Paul Follan

unread,
Jul 21, 2022, 9:15:10 AM7/21/22
to google-ap...@googlegroups.com
I do.

You received this message because you are subscribed to a topic in the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/pC4JLRN6prs/unsubscribe.
To unsubscribe from this group and all its topics, 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/CA%2BVVBp-MsWiMYTAsSNirETTjTkf_A-%2BdiO2%3DF0A22gYD4kcLCQ%40mail.gmail.com.

Ross Scroggs

unread,
Jul 21, 2022, 9:22:51 AM7/21/22
to google-ap...@googlegroups.com
Paul,

I misunterstood what you meant by directory sharing.

gam ou "/Path/to/OU" update user gal off

Paul Follan

unread,
Jul 21, 2022, 9:24:40 AM7/21/22
to google-ap...@googlegroups.com

Jay Lee

unread,
Jul 21, 2022, 9:33:28 AM7/21/22
to google-ap...@googlegroups.com

Paul Follan

unread,
Jul 21, 2022, 9:35:07 AM7/21/22
to google-ap...@googlegroups.com
Thanks Jay,

I was looking for the bulk update option..and it is working a treat.

Regards

Paul

Reply all
Reply to author
Forward
0 new messages