I am getting an error when trying to connect to okta environments inside the customer's network. Suspect some type of firewall blockage. this works remotely on my laptop using the okta github configuration.
PS C:\windows\system32> oktaGetUserbyID -oOrg prev -uid cjones@plicards.com -Verbose
VERBOSE: GET https://plicards.okta.com//api/v1/users/cjones@plicards.com with 0-
byte payload
WARNING: Unable to find type [Microsoft.PowerShell.Commands.HttpResponseExceptio
n].
WARNING: Encountered error, returning limited or empty set
VERBOSE: This Page returned: 0, we've seen: 0 results so far
VERBOSE: 0 results returned, i predict an empty page coming up, lets skip it
VERBOSE: We see no or an invalid next link of: False
PS C:\windows\system32> $Error[0..($Error.count)]
Unable to find type [Microsoft.PowerShell.Commands.HttpResponseException].
At C:\windows\system32\WindowsPowerShell\v1.0\Modules\okta\Okta.psm1:491
char:38
Invoke-WebRequest : The underlying connection was closed: An unexpected error
occurred on a send.
At C:\windows\system32\WindowsPowerShell\v1.0\Modules\okta\Okta.psm1:473
char:29
I am getting an error when trying to connect to okta environments inside the customer's network. Suspect some type of firewall blockage. this works remotely on my laptop using the okta github configuration.
Ran this to get more infor
PS C:\windows\system32> $error.Clear()
PS C:\windows\system32> $oktaVerbose True
PS C:\windows\system32> oktaGetUserbyID -oOrg prev -uid cjones@plicards.com -Verbose
$Error[0..($Error.count)]
PS C:\windows\system32> oktaGetUserbyID -oOrg prev -uid cjones@plicards.com -Verbose VERBOSE: GET https://plicards.okta.com//api/v1/users/cjones@plicards.com with 0- byte payload WARNING: Unable to find type [Microsoft.PowerShell.Commands.HttpResponseExceptio n]. WARNING: Encountered error, returning limited or empty set VERBOSE: This Page returned: 0, we've seen: 0 results so far VERBOSE: 0 results returned, i predict an empty page coming up, lets skip it VERBOSE: We see no or an invalid next link of: False
PS C:\windows\system32> $Error[0..($Error.count)] Unable to find type [Microsoft.PowerShell.Commands.HttpResponseException]. At C:\windows\system32\WindowsPowerShell\v1.0\Modules\okta\Okta.psm1:491 char:38
Invoke-WebRequest : The underlying connection was closed: An unexpected error occurred on a send. At C:\windows\system32\WindowsPowerShell\v1.0\Modules\okta\Okta.psm1:473 char:29