Exception setting "StartTime using New-PASSession #555
abiurrunc2S
started this conversation in
General
Replies: 1 comment
-
|
Hi @ll. Resolved: I was using PowerShell Version 5.1.22621.4391. Have a nice weekend, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi.
When I'm using:
$Session = New-PASSession -IdentityTenantURL https://xxxxxxxxx.id.cyberark.cloud -PrivilegeCloudURL https://xxxxxxx.privilegecloud.cyberark.cloud -Credential $Cred -IdentityUser -Verbose
I always received this error:
`VERBOSE: Performing the operation "Logon" on target "https://xxxxxxx.id.cyberark.cloud".
Email sent to xxxx@xxxxxxx.com. Click the link or manually enter the code to authenticate.
Exception setting "StartTime": "The property 'StartTime' cannot be found on this object. Verify that the property exists and can be set."
At line:788 char:6
$psPASSession.StartTime = Get-Date
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
+ FullyQualifiedErrorId : ExceptionWhenSetting
Exception setting "ApiURI": "The property 'ApiURI' cannot be found on this object. Verify that the property exists and can be set."
At line:794 char:6
$psPASSession.ApiURI = $PrivilegeCloudURL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
+ FullyQualifiedErrorId : ExceptionWhenSetting
VERBOSE: GET with 0-byte payload`
I click in the link due to I never receive the option to type it manually.
I tested it with a domain account and a CyberArk Account and the behaviour is the same.
I will appreciate your help.
Have a nice weekend,
Angel BC.
Beta Was this translation helpful? Give feedback.
All reactions