thycotic.secretserver icon indicating copy to clipboard operation
thycotic.secretserver copied to clipboard

Find-TssSecret -IncludeInactive does not work

Open miked1313 opened this issue 1 year ago • 0 comments

Verified issue does not already exist?

Yes

What error did you receive

Warning no secrets found

Please run the command using -Verbose

VERBOSE: Command invocation: Find-TssSecret -TssSession:TssSessionObject -FolderId:TssSessionObject -IncludeInactive:True -Verbose:True
VERBOSE: Filters: filter.folderId=324704
VERBOSE: Performing the operation GET https://ssURL/api/v1/secrets/lookup?sortBy[0].direction=asc&sortBy[0].name=Name&take=2147483647&filter.includeRestricted=true&filter.folderId=324704

Provide a test case or steps to reproduce

$secretsToMove = Find-TssSecret -TssSession $session -FolderId 324616 -IncludeInactive

Expected behavior

Inactive secrets are included in this search

What Edition of Secret Server?

Professional

What version of Secret Server

Current GA release

What PowerShell host was used when producing this error

PowerShell Core (pwsh)

PowerShell Host Version

Name                           Value
----                           -----
PSVersion                      7.4.6
PSEdition                      Core
GitCommitId                    7.4.6
OS                             Microsoft Windows 10.0.26100
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

miked1313 avatar Jan 03 '25 15:01 miked1313