taers232c / GAMADV-XTD3

Command line tool to manage Google Workspace
703 stars 87 forks source link

Bulk Processing with double tilde pattern match (~~pattern~~) failing #278

Closed stephengale801 closed 2 years ago

stephengale801 commented 2 years ago

When performing a bulk user rename, the following command returned an error: gam print users emailparts | gam csv - update user ~primaryEmail primaryEmail ~~primaryEmailLocal~~@newdoma.in

We've used this in the past to update users in bulk without issue. Upon trying today, we got the following issue: "Update failed: Invalid Input: primary_user_email" for each line. redacted

taers232c commented 2 years ago

Send me a Meet/Zoom invitation and we'll sort this out.

Ross

On Fri, Jun 24, 2022 at 2:33 PM stephengale801 @.***> wrote:

When performing a bulk user rename, the following command returned an error: gam print users emailparts | gam csv - update user ~primaryEmail primaryEmail @.***

We've used this in the past to update users in bulk without issue. Upon trying today, we got the following issue: "Update failed: Invalid Input: primary_user_email" for each line. [image: redacted] https://user-images.githubusercontent.com/14339317/175695752-848664f3-acd3-4c91-9cfe-42b0687e4e0b.png

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/278, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLYCNPQXEHGZSGXIVN3VQYSRFANCNFSM5ZZBPPHA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Ross Scroggs @.***

taers232c commented 2 years ago

There is a missing gam keyword in front of update.

gam print users emailparts | gam csv - gam update user ~primaryEmail primaryEmail @.*** Ross

On Fri, Jun 24, 2022 at 2:33 PM stephengale801 @.***> wrote:

When performing a bulk user rename, the following command returned an error: gam print users emailparts | gam csv - update user ~primaryEmail primaryEmail @.***

We've used this in the past to update users in bulk without issue. Upon trying today, we got the following issue: "Update failed: Invalid Input: primary_user_email" for each line. [image: redacted] https://user-images.githubusercontent.com/14339317/175695752-848664f3-acd3-4c91-9cfe-42b0687e4e0b.png

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/278, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLYCNPQXEHGZSGXIVN3VQYSRFANCNFSM5ZZBPPHA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Ross Scroggs @.***

stephengale801 commented 2 years ago

Hey Ross - Here's the literal command we entered:

gam csv ./staff.csv gam update user ~primaryEmail primaryEmail @.***

It did include the gam keyword after the csv reference. I can check on another domain as well to see if this is replicable. Stephen Gale - (801) 900-3921

On Fri, Jun 24, 2022 at 4:25 PM Ross Scroggs @.***> wrote:

Send me a Meet/Zoom invitation and we'll sort this out.

Ross

On Fri, Jun 24, 2022 at 2:33 PM stephengale801 @.***> wrote:

When performing a bulk user rename, the following command returned an error: gam print users emailparts | gam csv - update user ~primaryEmail primaryEmail @.***

We've used this in the past to update users in bulk without issue. Upon trying today, we got the following issue: "Update failed: Invalid Input: primary_user_email" for each line. [image: redacted] < https://user-images.githubusercontent.com/14339317/175695752-848664f3-acd3-4c91-9cfe-42b0687e4e0b.png

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/278, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ACCTYLYCNPQXEHGZSGXIVN3VQYSRFANCNFSM5ZZBPPHA

. You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Ross Scroggs @.***

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/278#issuecomment-1165989534, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNMZ5KWAKAEYYBTZ4IODNTVQYYUTANCNFSM5ZZBPPHA . You are receiving this because you authored the thread.Message ID: @.***>

taers232c commented 2 years ago

Send Meet/Zoom invitation.

On Fri, Jun 24, 2022 at 3:36 PM stephengale801 @.***> wrote:

Hey Ross - Here's the literal command we entered:

gam csv ./staff.csv gam update user ~primaryEmail primaryEmail @.***

It did include the gam keyword after the csv reference. I can check on another domain as well to see if this is replicable. Stephen Gale - (801) 900-3921

On Fri, Jun 24, 2022 at 4:25 PM Ross Scroggs @.***> wrote:

Send me a Meet/Zoom invitation and we'll sort this out.

Ross

On Fri, Jun 24, 2022 at 2:33 PM stephengale801 @.***> wrote:

When performing a bulk user rename, the following command returned an error: gam print users emailparts | gam csv - update user ~primaryEmail primaryEmail @.***

We've used this in the past to update users in bulk without issue. Upon trying today, we got the following issue: "Update failed: Invalid Input: primary_user_email" for each line. [image: redacted] <

https://user-images.githubusercontent.com/14339317/175695752-848664f3-acd3-4c91-9cfe-42b0687e4e0b.png

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/278, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ACCTYLYCNPQXEHGZSGXIVN3VQYSRFANCNFSM5ZZBPPHA

. You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Ross Scroggs @.***

— Reply to this email directly, view it on GitHub < https://github.com/taers232c/GAMADV-XTD3/issues/278#issuecomment-1165989534 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ADNMZ5KWAKAEYYBTZ4IODNTVQYYUTANCNFSM5ZZBPPHA

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/278#issuecomment-1165994421, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL4RQU5ATUW7XNSDXSDVQYZ5LANCNFSM5ZZBPPHA . You are receiving this because you commented.Message ID: @.***>

-- Ross Scroggs @.***

stephengale801 commented 2 years ago

https://meet.google.com/znd-vxqq-hkt Stephen Gale - (801) 900-3921

On Fri, Jun 24, 2022 at 4:38 PM Ross Scroggs @.***> wrote:

Send Meet/Zoom invitation.

On Fri, Jun 24, 2022 at 3:36 PM stephengale801 @.***> wrote:

Hey Ross - Here's the literal command we entered:

gam csv ./staff.csv gam update user ~primaryEmail primaryEmail @.***

It did include the gam keyword after the csv reference. I can check on another domain as well to see if this is replicable. Stephen Gale - (801) 900-3921

On Fri, Jun 24, 2022 at 4:25 PM Ross Scroggs @.***> wrote:

Send me a Meet/Zoom invitation and we'll sort this out.

Ross

On Fri, Jun 24, 2022 at 2:33 PM stephengale801 @.***> wrote:

When performing a bulk user rename, the following command returned an error: gam print users emailparts | gam csv - update user ~primaryEmail primaryEmail @.***

We've used this in the past to update users in bulk without issue. Upon trying today, we got the following issue: "Update failed: Invalid Input: primary_user_email" for each line. [image: redacted] <

https://user-images.githubusercontent.com/14339317/175695752-848664f3-acd3-4c91-9cfe-42b0687e4e0b.png

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/278, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ACCTYLYCNPQXEHGZSGXIVN3VQYSRFANCNFSM5ZZBPPHA

. You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Ross Scroggs @.***

— Reply to this email directly, view it on GitHub <

https://github.com/taers232c/GAMADV-XTD3/issues/278#issuecomment-1165989534

, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ADNMZ5KWAKAEYYBTZ4IODNTVQYYUTANCNFSM5ZZBPPHA

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/taers232c/GAMADV-XTD3/issues/278#issuecomment-1165994421 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ACCTYL4RQU5ATUW7XNSDXSDVQYZ5LANCNFSM5ZZBPPHA

. You are receiving this because you commented.Message ID: @.***>

-- Ross Scroggs @.***

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/278#issuecomment-1165995369, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNMZ5NC6YDEAVUFZHN3RJ3VQY2FVANCNFSM5ZZBPPHA . You are receiving this because you authored the thread.Message ID: @.***>