taers232c / GAMADV-XTD3

Command line tool to manage Google Workspace
728 stars 85 forks source link

Configuring GAM Project #442

Open RaisinBread241 opened 1 week ago

RaisinBread241 commented 1 week ago

Hello!

I was able to follow the Windows portion of the guide until the "Enable GAM7 service account access" entering the command "gam user admin@domain.com check serviceaccount" with my workspace admin email I get the following error:

"ERROR: Service Account OAuth2 File: C:\GAMConfig\oauth2service.json, Does not exist or has invalid format, ('Could not deserialize key data. The data may be in an incorrect format, the provided password may be incorrect, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters).', [<OpenSSLError(code=503841036, lib=60, reason=524556, reason_text=unsupported)>]) Please run

gam create|use project gam user check serviceaccount

to create and authorize a Service account."

I have tested this with two seperate super admin accounts both with all the permissions asked from here the "Authorize Service Account Key Uploads" section.

Lastly I ran the "gam oauth create" command and after selecting the APIs I needed I get this message:

"The authentication flow has completed. Client OAuth2 File: C:\GAMConfig\oauth2.txt, Created"

Not sure where to go from here.

taers232c commented 1 week ago

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

Ross

Ross Scroggs Ross.Scroggs @ gmail.com

On Oct 18, 2024, at 9:07 AM, RaisinBread241 @.***> wrote:

Hello!

I was able to follow the Windows portion of the guide https://github.com/taers232c/GAMADV-XTD3/wiki/How-to-Install-GAM7 until the "Enable GAM7 service account access" entering the command "gam user @. @.> check serviceaccount" with my workspace admin email I get the following error:

"ERROR: Service Account OAuth2 File: C:\GAMConfig\oauth2service.json, Does not exist or has invalid format, ('Could not deserialize key data. The data may be in an incorrect format, the provided password may be incorrect, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters).', [<OpenSSLError(code=503841036, lib=60, reason=524556, reason_text=unsupported)>]) Please run

gam create|use project gam user check serviceaccount

to create and authorize a Service account."

I have tested this with two seperate super admin accounts both with all the permissions asked from here the "Authorize Service Account Key Uploads https://github.com/taers232c/GAMADV-XTD3/wiki/Authorization#authorize-service-account-key-uploads" section.

Lastly I ran the "gam oauth create" command and after selecting the APIs I needed I get this message:

"The authentication flow has completed. Client OAuth2 File: C:\GAMConfig\oauth2.txt, Created"

Not sure where to go from here.

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/442, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL5I25QLV6AW5SBQCHLZ4EW3RAVCNFSM6AAAAABQGIKAT2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGU4TOOJRGAYTIMY. You are receiving this because you are subscribed to this thread.