Hello there.
my company is using GAM to create Gmail accounts and i encounter the following problem in the console.
D:\GAM 3.5>gam create user testuser
Creating account for test...@1worldsync.com
D:\GAM 3.5>firstname "Test"
'firstname' is not recognized as an internal or external command,
operable program or batch file.
D:\GAM 3.5>lastname "User"
'lastname' is not recognized as an internal or external command,
operable program or batch file.
D:\GAM 3.5>organization name 1WorldSync GmbH costcenter 9123
'organization' is not recognized as an internal or external command,
operable program or batch file.
D:\GAM 3.5>phonetype work value +42 221 32473 0 primary
'phonetype' is not recognized as an internal or external command,
operable program or batch file.
D:\GAM 3.5>address type work Streetaddress Maarweg 165 postalcode 50825 locality
User countrycode Germany
'address' is not recognized as an internal or external command,
operable program or batch file.
D:\GAM 3.5>gal off
'gal' is not recognized as an internal or external command,
operable program or batch file.
D:\GAM 3.5>password '1234gdgdb'
'password' is not recognized as an internal or external command,
operable program or batch file.
D:\GAM 3.5>changepassword off
'changepassword' is not recognized as an internal or external command,
operable program or batch file.
D:\GAM 3.5>phonetype mobile value +49 231 93653 157 not primary
'phonetype' is not recognized as an internal or external command,
operable program or batch file.
D:\GAM 3.5>gam update group ab...@1worldsync.com add user user testuse
r...@1worldsync.com
adding member user@1worldsync.com...added us...@1worldsync.com to group
D:\GAM 3.5>
the first & last command line works, everything else has a error inside because the programm doesnt understand the commands. any idea why this doesnt work? i followed the guideline on the main project
thanks for feedback in advance
Sebastian
--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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.
Visit this group at http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/82a9c851-e347-4eb4-aa69-aa6b797ebbb1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jay Lee
adding member us...@1worldsync.com...added us...@1worldsync.com to group
adding member user@1worldsync.com...added us...@1worldsync.com to group
D:\GAM 3.5>
the first & last command line works, everything else has a error inside because the programm doesnt understand the commands. any idea why this doesnt work? i followed the guideline on the main project
thanks for feedback in advance
Sebastian
--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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.
Visit this group at http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/5cf1f7e5-4e49-4f90-9a20-579c6dc39e6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jay Lee
adding member us...@1worldsync.com...added us...@1worldsync.com to group
adding member user@1worldsync.com...added us...@1worldsync.com to group
D:\GAM 3.5>
the first & last command line works, everything else has a error inside because the programm doesnt understand the commands. any idea why this doesnt work? i followed the guideline on the main project
thanks for feedback in advance
Sebastian
--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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.
Visit this group at http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/9a4bbafd-b110-449f-a071-c082293f4583%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/1f207f50-9aab-46ce-a9d7-76d9c77a56f4%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/64944763-05b5-4650-a05f-198d75087fcb%40googlegroups.com.
On Fri, Oct 6, 2017 at 7:37 AM, Andrew Penner <andrew...@5565.ca> wrote:
Hi Ross, thanks for getting back to me.
Based on what I'd read elsewhere I thought that's how it would work, but the address information isn't being added to the user; the command works for Organizational information (Department, two words, Company, 4 words), but not the address.
It's not vital, as I can use another directory sync app, but I'd prefer to use Powershell and GAM to get this done.
If anyone's interested, here's the entirety of the command I'm using:
$list = Import-Csv c:\!User_Accounts\New_Staff.csv
foreach ($entry in $list)
{
c:\gam_spschools\gam.exe create user $($entry.Email) firstname $($entry.Firstname) lastname $($entry.Lastname) password $($entry.Password) org $($entry.Path) organization name $($entry.Company) title $($entry.Title) department $($entry.Department) primary address type work Streetaddress $($entry.Address) primary phone type work value $($entry.Telephone) primary phone type work fax value $($entry.Fax) notprimary
}
--
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/64944763-05b5-4650-a05f-198d75087fcb%40googlegroups.com.
Andrew,You may also want to try: gam.exe create user $($entry.Email) address type work unstructured $($entry.Address) primaryRoss
On Fri, Oct 6, 2017 at 9:24 AM, Ross Scroggs <ross.s...@gmail.com> wrote:
On Fri, Oct 6, 2017 at 7:37 AM, Andrew Penner <andrew...@5565.ca> wrote:
Hi Ross, thanks for getting back to me.
Based on what I'd read elsewhere I thought that's how it would work, but the address information isn't being added to the user; the command works for Organizational information (Department, two words, Company, 4 words), but not the address.
It's not vital, as I can use another directory sync app, but I'd prefer to use Powershell and GAM to get this done.
If anyone's interested, here's the entirety of the command I'm using:
$list = Import-Csv c:\!User_Accounts\New_Staff.csv
foreach ($entry in $list)
{
c:\gam_spschools\gam.exe create user $($entry.Email) firstname $($entry.Firstname) lastname $($entry.Lastname) password $($entry.Password) org $($entry.Path) organization name $($entry.Company) title $($entry.Title) department $($entry.Department) primary address type work Streetaddress $($entry.Address) primary phone type work value $($entry.Telephone) primary phone type work fax value $($entry.Fax) notprimary
}
--
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/64944763-05b5-4650-a05f-198d75087fcb%40googlegroups.com.
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-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/64944763-05b5-4650-a05f-198d75087fcb%40googlegroups.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.
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/7acc3170-f2c9-4080-97fe-d40833461afb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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/64944763-05b5-4650-a05f-198d75087fcb%40googlegroups.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-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/7acc3170-f2c9-4080-97fe-d40833461afb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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-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/64944763-05b5-4650-a05f-198d75087fcb%40googlegroups.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+unsubscribe...@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/7acc3170-f2c9-4080-97fe-d40833461afb%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/81308367-0c30-43ef-86f7-c611a6df8f4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
gam update user "x...@x.org" phone type work_fax value "(123) 456-7890" notprimary
--
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.
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/ec726b1d-56f8-4983-96ea-537779a82cdf%40googlegroups.com.