You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
InvalidArgument: C:\Program Files\WindowsPowerShell\Modules\Thycotic.SecretServer\0.61.8\functions\secrets\Get-TssSecretPasswordStatus.ps1:65
Line |
65 | … [Thycotic.PowerShell.Secrets.PasswordStatus]$restResponse …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot convert value "@{status=Fail; lastRpcDate=9/4/2024 4:19:17 PM; rpcMessage=Unable to successfully connect to the server.; failedAttempts=5; nextRpcDate=9/4/2024 4:20:17 PM; failedDependency=}" to
| type "Thycotic.PowerShell.Secrets.PasswordStatus". Error: "Cannot convert the "@{status=Fail; lastRpcDate=9/4/2024 4:19:17 PM; rpcMessage=Unable to successfully connect to the server.;
| failedAttempts=5; nextRpcDate=9/4/2024 4:20:17 PM; failedDependency=}" value of type "System.Management.Automation.PSCustomObject" to type "Thycotic.PowerShell.Secrets.PasswordStatus"."
Please run the command using -Verbose
PS C:\Users\redacted\Documents\PowerShell\Scripts\CriticalPasswords> TssSecretPasswordStatus -TssSession $session -Id 8251 -Verbose
VERBOSE: [Get-TssSecretPasswordStatus] calling an internal endpoint.
VERBOSE: Command invocation: TssSecretPasswordStatus -TssSession:TssSessionObject -Id:System.Int32[] -Verbose:True
VERBOSE: Performing the operation GET https://hostname-redacted/SecretServer/internals/secret-detail/8251/password-status
InvalidArgument: C:\Program Files\WindowsPowerShell\Modules\Thycotic.SecretServer\0.61.8\functions\secrets\Get-TssSecretPasswordStatus.ps1:65
Line |
65 | … [Thycotic.PowerShell.Secrets.PasswordStatus]$restResponse …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot convert value "@{status=Fail; lastRpcDate=9/4/2024 4:24:54 PM; rpcMessage=Unable to successfully connect to the server.; failedAttempts=8; nextRpcDate=9/4/2024 4:25:54 PM; failedDependency=}" to
| type "Thycotic.PowerShell.Secrets.PasswordStatus". Error: "Cannot convert the "@{status=Fail; lastRpcDate=9/4/2024 4:24:54 PM; rpcMessage=Unable to successfully connect to the server.;
| failedAttempts=8; nextRpcDate=9/4/2024 4:25:54 PM; failedDependency=}" value of type "System.Management.Automation.PSCustomObject" to type "Thycotic.PowerShell.Secrets.PasswordStatus"."
Verified issue does not already exist?
Yes
What error did you receive
Running
returns
Please run the command using -Verbose
Provide a test case or steps to reproduce
TssSecretPasswordStatus -TssSession $session -Id 8251
Expected behavior
Should return valid powershell object with fields etc.
What Edition of Secret Server?
Professional
What version of Secret Server
Current GA release
What PowerShell host was used when producing this error
Windows PowerShell (powershell)
PowerShell Host Version
$PSVersionTable
Name Value
PSVersion 7.4.5
PSEdition Core
GitCommitId 7.4.5
OS Microsoft Windows 10.0.22631
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
The text was updated successfully, but these errors were encountered: