--
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/7d03ad0f-023f-4645-8e5d-eaa2f78be7c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Rick,Please post: gam versionRoss
On Mon, Feb 13, 2017 at 3:56 PM, Rick Garcia <rick.garcia@royaltechnologies.com> wrote:
Hello,I'm trying to create several organizational units(sub) using a text file with the following gam command:gam batch Security-Groups.txtThe text file contains the following commands per organization:gam create org "Accounting Department" parent /Users/ADgam create org "Accounting MGRs" parent /Users/ADgam create org "Accounting Payroll Manager" parent /Users/ADgam create org "Admin Department" parent /Users/ADgam create org "Administrative Assistants" parent /Users/ADgam create org "AFM Department" parent /Users/ADThe following error message appears when I try and run the batch command:Using 2 processes...gam.py:6467: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequalgam.py:6467: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequalERROR: Assistants” is not a valid argument for "gam create org"ERROR: Department” is not a valid argument for "gam create org"If I were to put those commands in one-by-one, they work but they don't work with the batch command. Is there a limitation of how many OU's I can create at a time? I cannot seem to find anywhere that states that that is the case. Any help would be greatly appreciated. Thank You.
--
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+unsubscribe...@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/7d03ad0f-023f-4645-8e5d-eaa2f78be7c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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/CAJkvRS_mLdhR2k6k8Ts8n5x2T3ViUhudVtwTpuji0driXq70Rw%40mail.gmail.com.
To post to this group, send email to google-ap...@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/7d03ad0f-023f-4645-8e5d-eaa2f78be7c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I am not sure if this would work for you, but I would use the CSV command. I believe the batch command is meant for running different commands, all in one go.. since you will be running the same command with different data, you should use the CSV command.gam csv org_list.csv gam create org ~newOrg ~parentOrgI would then create the CSV as followsorg_list.csvparent,newOrg/Users/AD,Accounting Department/Users/AD,Accounting MGRsLet me know if this works for you.Thanks.
On Mon, Feb 13, 2017 at 7:09 PM, Ross Scroggs <ross.s...@gmail.com> wrote:
Rick,Please post: gam versionRoss
On Mon, Feb 13, 2017 at 3:56 PM, Rick Garcia <rick....@royaltechnologies.com> wrote:
Hello,I'm trying to create several organizational units(sub) using a text file with the following gam command:gam batch Security-Groups.txtThe text file contains the following commands per organization:gam create org "Accounting Department" parent /Users/ADgam create org "Accounting MGRs" parent /Users/ADgam create org "Accounting Payroll Manager" parent /Users/ADgam create org "Admin Department" parent /Users/ADgam create org "Administrative Assistants" parent /Users/ADgam create org "AFM Department" parent /Users/ADThe following error message appears when I try and run the batch command:Using 2 processes...gam.py:6467: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequalgam.py:6467: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequalERROR: Assistants” is not a valid argument for "gam create org"ERROR: Department” is not a valid argument for "gam create org"If I were to put those commands in one-by-one, they work but they don't work with the batch command. Is there a limitation of how many OU's I can create at a time? I cannot seem to find anywhere that states that that is the case. Any help would be greatly appreciated. Thank You.
--
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-ap...@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/7d03ad0f-023f-4645-8e5d-eaa2f78be7c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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-ap...@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/CAJkvRS_mLdhR2k6k8Ts8n5x2T3ViUhudVtwTpuji0driXq70Rw%40mail.gmail.com.
I would then create the CSV as followsorg_list.csvparent,newOrg/Users/AD,Accounting Department/Users/AD,Accounting MGRs
gam csv org_list.csv gam create org "~newOrg" parent "~parent"
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.
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/3455a6c6-ea9a-4876-af26-a7d743b1fc7f%40googlegroups.com.
<batch results.png>
Rick,
Kevin,
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsubscri...@googlegroups.com.
To post to this group, send email to google-ap...@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/7d03ad0f-023f-4645-8e5d-eaa2f78be7c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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+unsubscri...@googlegroups.com.
To post to this group, send email to google-ap...@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/CAJkvRS_mLdhR2k6k8Ts8n5x2T3ViUhudVtwTpuji0driXq70Rw%40mail.gmail.com.
--Kevin MelilloElectronic Communications AnalystInformation Technology445 Hoes LanePiscataway, NJ 08854
--
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/3455a6c6-ea9a-4876-af26-a7d743b1fc7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<batch results.png>
--
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/E649FABB-96A2-47BB-9CDF-D763BE352912%40gmail.com.