taers232c / GAMADV-XTD3

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

Move Devices to OU - new error #228

Closed spddemon905 closed 2 years ago

spddemon905 commented 2 years ago

Hi all, I have been successfully using the following command to move devices in bulk:

gam croscsvfile_sn cow2.csv:serial update orgunitpath "/COWS/COW2"

Now when running this command, I get an error "Invalid Input: Inconsistent Orgunit id and path in request".

I have validated the OU is correct. Has anyone seen this?

THanks,

Kevin

taers232c commented 2 years ago

Kevin,

What is your GAM version?

Ross

On Mon, Jan 3, 2022 at 11:38 AM Kevin Rice @.***> wrote:

Hi all, I have been successfully using the following command to move devices in bulk:

gam croscsvfile_sn cow2.csv:serial update orgunitpath "/COWS/COW2"

Now when running this command, I get an error "Invalid Input: Inconsistent Orgunit id and path in request".

I have validated the OU is correct. Has anyone seen this?

THanks,

Kevin

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/228, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL645OVF2FINMRZSBUTUUH3KXANCNFSM5LF3UZAQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

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

-- Ross Scroggs @.***

spddemon905 commented 2 years ago

6.11.02

taers232c commented 2 years ago

Kevin,

Get 6.13.04 After updating do: gam select default config update_cros_ou_with_id save

Then try your command.

Ross

On Mon, Jan 3, 2022 at 11:57 AM Kevin Rice @.***> wrote:

6.11.02

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/228#issuecomment-1004321292, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL2L7KQ45IOKSTR3BCTUUH5R3ANCNFSM5LF3UZAQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

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

-- Ross Scroggs @.***

spddemon905 commented 2 years ago

Thanks Ross. I had updated it to 13 while waiting for your response. I just tried the command you specified and get this: "ERROR: Invalid choice (save): Expected <true|false>"

I then added TRUE to the end of the command with same results.

spddemon905 commented 2 years ago

The command "gam select default config update_cros_ou_with_id true" and that worked.

spddemon905 commented 2 years ago

But issue remains.

spddemon905 commented 2 years ago

Hey Ross, are you able to get it working on your end?

taers232c commented 2 years ago

Kevin,

Send me a Meet/zoom invitation.

Ross

@.***

On Jan 4, 2022, at 11:47 AM, Kevin Rice @.***> wrote:

Hey Ross, are you able to get it working on your end?

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/228#issuecomment-1005120457, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL5PFUXOXHXKUEGS6QLUUNFFPANCNFSM5LF3UZAQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.

taers232c commented 2 years ago

Kevin,

gam select default config update_cros_ou_with_id true save

Ross

spddemon905 commented 2 years ago

Ross, that worked and my move command also worked!! Thanks as always my friend.