-
Notifications
You must be signed in to change notification settings - Fork 3
Find-TssSecret -IncludeInactive does not work #415
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingtriage needednew issues that are still in state of triagenew issues that are still in state of triage
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriage needednew issues that are still in state of triagenew issues that are still in state of triage