ERROR: invalid argument (LON) for account organization details
GAM 4.82 - https://git.io/gam
Jay Lee <jay...@gmail.com>
Python 3.7.3 64-bit final
google-api-python-client 1.7.8
oauth2client 4.1.3
Darwin-17.7.0-x86_64-i386-64bit x86_64
(location clear|(type default|desk|<String> area <String> [building|buildingid <String>] [floor|floorname <String>] [section|floorsection <String>] [desk|deskcode <String>] endlocation))|
Have you included enlocation at the end of the location attributes list?
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-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/d938ca9b-aa81-40e8-9fb1-a95cc4c01976%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
gam csv ./test-address.csv gam update user ~User addresses type ~type formatted ~formatted primary organization department ~department title ~title type ~type location building ~building floorName ~floorName endlocation
Using 1 processes...
ERROR: invalid argument (LON) for account organization details
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAJkvRS_bA3QHnqspoAa_J-oL4mjaCP8J6R46MLC14%3DvDJfbauQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
<UserMultiAttributes> ::=
(addresses clear|(type home|other|work|(custom <String>) [unstructured|formatted <String>] [pobox <String>] [extendedaddress <String>] [streetaddress <String>]
[locality <String>] [region <String>] [postalcode <String>] [country <String>] [countrycode <String>] notprimary|primary))|
(location clear|(type default|desk|<String> area <String> [building|buildingid <String>] [floor|floorname <String>] [section|floorsection <String>] [desk|deskcode <String>] endlocation))|
(organization clear|([type domain_only|school|unknown|work] [customtype <String>] [name <String>] [title <String>] [department <String>] [symbol <String>]
[costcenter <String>] [location <String>] [description <String>] [domain <String>] [fulltimeequivalent <Integer>] notprimary|primary))|
You're missing primary to end organization
gam csv ./test-address.csv gam update user ~User addresses type ~type formatted ~formatted primary organization department ~department title ~title type ~type primary location building ~building floorName ~floorName endlocation
Ross
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CA%2B4XKuOhpJ%2BweBSyb26Mfc-OUSbQ_MwiCr%2BgMXzLMgwcEO6PrA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAJkvRS-Ns36CN0sqycONNuFDXe6qt0KizGKcDbjGToqFGAgWcg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.