SCRT-HQ / PSGSuite

Powershell module for Google / G Suite API calls wrapped in handy functions. Authentication is established using a service account via P12 key to negate the consent popup and allow for greater handsoff automation capabilities
https://psgsuite.io/
Apache License 2.0
234 stars 66 forks source link

PSGSuite stop working shortly after install - Write-Error (An error occurred while sending the request) #250

Closed redrumdk closed 4 years ago

redrumdk commented 4 years ago

Describe the bug i install the module following the guide, also using a G Suite Admin. First couple of tries after install, the PSGSuite commands work. Then after a short while all commands start through the "Write-Error". And i have to uninstall/install again, and delete the config. and redo. Then it works shortly again.

AV has been disabled, DEP is off,

Test-Path (Show-PSGSuiteConfig).P12KeyPath = true Get-GSUser = Write-Error

To Reproduce Steps to reproduce the behavior:

  1. Install
  2. Import
  3. Run commands
  4. Fails after short while, tried Windows 2016/Windows 10

Expected behavior Hoping it should work longer

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context Add any other context about the problem here.