Bulk Change user OU from x to y

68 views
Skip to first unread message

Srivastava, Harshit

unread,
Jun 22, 2017, 4:50:28 PM6/22/17
to google-ap...@googlegroups.com

Hi Guys,

                I have a list of user emails for whom I want to change their OU’s in bulk from a csv file.

They are in OU X currently and I want to move them to OU Y?

How can we do that?

 

 

 

Best

Harshit

 

 

Ross Scroggs

unread,
Jun 22, 2017, 4:58:48 PM6/22/17
to google-ap...@googlegroups.com
Given CSV file users.csv with header Email:
gam csv users.csv gam update user ~Email org Y


Ross

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/MWHPR11MB171051519FF6ED4071C21E2192DB0%40MWHPR11MB1710.namprd11.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.



--

Srivastava, Harshit

unread,
Jun 27, 2017, 3:20:57 PM6/27/17
to google-ap...@googlegroups.com

The org that I am trying to use doesn’t work:

 

It says doesn’t exist. I suspected this to be some issue with my clientsecret.json but rest of the OUs show up. I tried all P&Cs to get my OU details for OU- Ldo Suspended. Where am I going wrong. Please see below:

 

 

 

 

Best

Harshit

|(+91-8-513-3318 |(: 91-9620266233

 

From: google-ap...@googlegroups.com [mailto:google-ap...@googlegroups.com] On Behalf Of Ross Scroggs
Sent: Friday, June 23, 2017 2:29 AM
To: google-ap...@googlegroups.com
Subject: Re: [GAM] Bulk Change user OU from x to y

 

Given CSV file users.csv with header Email:

gam csv users.csv gam update user ~Email org Y

 

 

Ross

On Thu, Jun 22, 2017 at 1:50 PM, Srivastava, Harshit <harshit.s...@intel.com> wrote:

Hi Guys,

                I have a list of user emails for whom I want to change their OU’s in bulk from a csv file.

They are in OU X currently and I want to move them to OU Y?

How can we do that?

 

 

 

Best

Harshit

 

 

--

You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.

To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.



 

--

Ross Scroggs

--

You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.

To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.

Ross Scroggs

unread,
Jun 27, 2017, 3:32:29 PM6/27/17
to google-ap...@googlegroups.com
Just use double quotes: gam info org "LDO Suspended"

Ross

--

To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.



 

--

Ross Scroggs

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Srivastava, Harshit

unread,
Jun 27, 2017, 3:35:59 PM6/27/17
to google-ap...@googlegroups.com

Thanks Ross. That worked.

I suspected that since my OU name had a space so I had to specifically use separate quotes for the names.

Thanks again. Much help.

 

 

 

Best

Harshit

|(+91-8-513-3318 |(: 91-9620266233

 

From: google-ap...@googlegroups.com [mailto:google-ap...@googlegroups.com] On Behalf Of Ross Scroggs
Sent: Wednesday, June 28, 2017 1:02 AM
To: google-ap...@googlegroups.com
Subject: Re: [GAM] Bulk Change user OU from x to y

 

Just use double quotes: gam info org "LDO Suspended"

 

Ross

 

--

To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.



 

--

Ross Scroggs

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.

To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.

To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.


For more options, visit https://groups.google.com/d/optout.



 

--

Ross Scroggs

--

You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.

To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages