taers232c / GAMADV-XTD3

Command line tool to manage Google Workspace
723 stars 86 forks source link

Hi I'm trying to Use an existing project for GAM authorization #394

Closed PrashantDSE closed 3 months ago

PrashantDSE commented 8 months ago

Hi I'm trying to Use an existing project for GAM authorization. but I'm facing an error while using: gam use project [<EmailAddress>] [project <ProjectID>] WARNING: Config File: C:\GAMConfig\gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: C:\GAMConfig\oauth2.txt, Not Found. Screenshot 2024-01-17 215320

what should I update inside oauth2.txt file

taers232c commented 8 months ago

You should do: gam oauth create

Ross

On Wed, Jan 17, 2024 at 8:22 AM Prashant Dwivedi @.***> wrote:

Hi I'm trying to Use an existing project for GAM authorization. but I'm facing an error while using: gam use project [] [project ] WARNING: Config File: C:\GAMConfig\gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: C:\GAMConfig\oauth2.txt, Not Found.

what should I update inside oauth2.txt file

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

-- Ross Scroggs @.***

PrashantDSE commented 8 months ago

I don't have admin email address All I have is client secret, oauth service json files .

I have all creds file provided by admin, and now I'm trying to run it on my local machine. can you example of how Oauth.txt file have content inside.

taers232c commented 8 months ago

Send me a Meet/Zoom invitation and I'll help.

Ross

Ross Scroggs @.***

On Jan 17, 2024, at 9:09 PM, Prashant Dwivedi @.***> wrote:

I don't have admin email address All I have is client secret, oauth service json files .

I have all creds file provided by admin, and now I'm trying to run it on my local machine. can you example of how Oauth.txt file have content inside.

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/394#issuecomment-1897809975, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL4NE2GYCFXN6IZM6QTYPCVCNAVCNFSM6AAAAABB62KZD2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJXHAYDSOJXGU. You are receiving this because you commented.

taers232c commented 8 months ago

I've joined, talk to you in a few minutes.

Ross

Ross Scroggs @.***

On Jan 17, 2024, at 9:14 PM, Prashant Dwivedi @.***> wrote:

GAM update Thursday, January 18 · 11:00am – 12:00pm Time zone: Asia/Kolkata Google Meet joining info Video call link: https://meet.google.com/rwm-dsub-qfb https://meet.google.com/rwm-dsub-qfb Or dial: ‪(US) +1 267-483-7904‬ PIN: ‪484 594 587‬# More phone numbers: https://tel.meet/rwm-dsub-qfb?pin=9140920246156 https://tel.meet/rwm-dsub-qfb?pin=9140920246156 — Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/394#issuecomment-1897813658, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLYZAXBRVEUMFUDM7U3YPCVTFAVCNFSM6AAAAABB62KZD2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJXHAYTGNRVHA. You are receiving this because you commented.

PrashantDSE commented 6 months ago

Hey Ross, Can we connect today ,let me know your availability. Thanks. Prashant

taers232c commented 6 months ago

It's 7:22AM PDT, I'm available now for about an hour and then will be unavailable for the rest of theday.

Ross

Ross Scroggs @.***

On Mar 12, 2024, at 3:25 AM, Prashant Dwivedi @.***> wrote:

Hey Ross, Can we connect today ,let me know your availability. Thanks. Prashant

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/394#issuecomment-1991299199, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL2HJHH77SUXEK4B6X3YX3J2XAVCNFSM6AAAAABB62KZD2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJRGI4TSMJZHE. You are receiving this because you commented.

PrashantDSE commented 6 months ago

Sorry I got carried away. 1. So normally I’m able to create users in gsuite. Now how can I extract the list of users ,active, inactive ,suspended and how do I perform CRUD activities using gam.  2. How do I disable some accounts 3. And if i need to update some changes   Cn you provide some info on that. Thanks. Prashant On 12-Mar-2024, at 7:54 PM, Ross Scroggs @.***> wrote: It's 7:22AM PDT, I'm available now for about an hour and then will be unavailable for the rest of theday.

Ross


Ross Scroggs

@.***

On Mar 12, 2024, at 3:25 AM, Prashant Dwivedi @.***> wrote:

Hey Ross,

Can we connect today ,let me know your availability.

Thanks.

Prashant

Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/394#issuecomment-1991299199, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL2HJHH77SUXEK4B6X3YX3J2XAVCNFSM6AAAAABB62KZD2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJRGI4TSMJZHE.

You are receiving this because you commented.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

DISCLAIMER: The contents of this email, including any attachments that it may contain, are privileged and confidential information, and may also constitute as proprietary, and are intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by email and delete the original message. Unintended recipients are strictly prohibited from copying, disclosing, and/or distributing such contents in any manner or form. Opinions, conclusions, and other information in this transmission that do not relate to the official business of Amagi, including all its affiliates, shall be understood as neither given nor endorsed by it. Any statements made herein that are tantamount to contractual obligations, promises, claims or commitments shall not be binding on the Company unless expressly and specifically stated as otherwise, or followed by written confirmation, by an authorized signatory of the Company.

taers232c commented 6 months ago

See:https://github.com/taers232c/GAMADV-XTD3/wiki/Users

Ross

On Tue, Mar 12, 2024 at 8:42 AM Prashant Dwivedi @.***> wrote:

Sorry I got carried away. 1. So normally I’m able to create users in gsuite. Now how can I extract the list of users ,active, inactive ,suspended and how do I perform CRUD activities using gam. 2. How do I disable some accounts 3. And if i need to update some changes Cn you provide some info on that. Thanks. Prashant On 12-Mar-2024, at 7:54 PM, Ross Scroggs @.***> wrote: It's 7:22AM PDT, I'm available now for about an hour and then will be unavailable for the rest of theday.

Ross


Ross Scroggs

@.***

On Mar 12, 2024, at 3:25 AM, Prashant Dwivedi @.***> wrote:

Hey Ross,

Can we connect today ,let me know your availability.

Thanks.

Prashant

Reply to this email directly, view it on GitHub < https://github.com/taers232c/GAMADV-XTD3/issues/394#issuecomment-1991299199>, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ACCTYL2HJHH77SUXEK4B6X3YX3J2XAVCNFSM6AAAAABB62KZD2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJRGI4TSMJZHE>.

You are receiving this because you commented.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

DISCLAIMER: The contents of this email, including any attachments that it may contain, are privileged and confidential information, and may also constitute as proprietary, and are intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by email and delete the original message. Unintended recipients are strictly prohibited from copying, disclosing, and/or distributing such contents in any manner or form. Opinions, conclusions, and other information in this transmission that do not relate to the official business of Amagi, including all its affiliates, shall be understood as neither given nor endorsed by it. Any statements made herein that are tantamount to contractual obligations, promises, claims or commitments shall not be binding on the Company unless expressly and specifically stated as otherwise, or followed by written confirmation, by an authorized signatory of the Company.

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

-- Ross Scroggs @.***

PrashantDSE commented 6 months ago

Yes, it works! , But now i'm facing other roadblock:

Here I want to use these necessary fields :To create/update multiple users using JSON, and all mandatory fields need at the time account creations:

Firstname

Lastname

Email Address

Password

Org Unit Path

phoneNumber

Employee ID

Job title

Employee Type

Managers email

Department

Phone

Address

some fields like first & last name ,phone number, email address, org unit path.. learn in the tutorials , but when I'm trying to create using other fields its giving error,

On Wed, Mar 13, 2024 at 12:30 AM Ross Scroggs @.***> wrote:

See:https://github.com/taers232c/GAMADV-XTD3/wiki/Users

Ross

On Tue, Mar 12, 2024 at 8:42 AM Prashant Dwivedi @.***> wrote:

Sorry I got carried away. 1. So normally I’m able to create users in gsuite. Now how can I extract the list of users ,active, inactive ,suspended and how do I perform CRUD activities using gam. 2. How do I disable some accounts 3. And if i need to update some changes Cn you provide some info on that. Thanks. Prashant On 12-Mar-2024, at 7:54 PM, Ross Scroggs @.***> wrote: It's 7:22AM PDT, I'm available now for about an hour and then will be unavailable for the rest of theday.

Ross


Ross Scroggs

@.***

On Mar 12, 2024, at 3:25 AM, Prashant Dwivedi @.***> wrote:

Hey Ross,

Can we connect today ,let me know your availability.

Thanks.

Prashant

Reply to this email directly, view it on GitHub <

https://github.com/taers232c/GAMADV-XTD3/issues/394#issuecomment-1991299199>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ACCTYL2HJHH77SUXEK4B6X3YX3J2XAVCNFSM6AAAAABB62KZD2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJRGI4TSMJZHE>.

You are receiving this because you commented.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

DISCLAIMER: The contents of this email, including any attachments that it may contain, are privileged and confidential information, and may also constitute as proprietary, and are intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by email and delete the original message. Unintended recipients are strictly prohibited from copying, disclosing, and/or distributing such contents in any manner or form. Opinions, conclusions, and other information in this transmission that do not relate to the official business of Amagi, including all its affiliates, shall be understood as neither given nor endorsed by it. Any statements made herein that are tantamount to contractual obligations, promises, claims or commitments shall not be binding on the Company unless expressly and specifically stated as otherwise, or followed by written confirmation, by an authorized signatory of the Company.

— Reply to this email directly, view it on GitHub < https://github.com/taers232c/GAMADV-XTD3/issues/394#issuecomment-1991962565>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/ACCTYL7DPOSBRGJSI244DY3YX4O5NAVCNFSM6AAAAABB62KZD2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJRHE3DENJWGU>

. 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/394#issuecomment-1992343650, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCGGJNAY3OZEYFIL7VPIXJLYX5GDZAVCNFSM6AAAAABB62KZD2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJSGM2DGNRVGA . You are receiving this because you authored the thread.Message ID: @.***>

-- Prashant Dwivedi Python Developer Amagi Media Labs email : @.***


--

DISCLAIMER: The contents of this email, including any attachments that it may contain, are privileged and confidential information, and may also constitute as proprietary, and are intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by email and delete the original message. Unintended recipients are strictly prohibited from copying, disclosing, and/or distributing such contents in any manner or form. Opinions, conclusions, and other information in this transmission that do not relate to the official business of Amagi, including all its affiliates, shall be understood as neither given nor endorsed by it. Any statements made herein that are tantamount to contractual obligations, promises, claims or commitments shall not be binding on the Company unless expressly and specifically stated as otherwise, or followed by written confirmation, by an authorized signatory of the Company.