Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find-TssSecret -IncludeInactive does not work #415

Open
miked1313 opened this issue Jan 3, 2025 · 0 comments · May be fixed by #416
Open

Find-TssSecret -IncludeInactive does not work #415

miked1313 opened this issue Jan 3, 2025 · 0 comments · May be fixed by #416
Labels
bug Something isn't working triage needed new issues that are still in state of triage

Comments

@miked1313
Copy link

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 miked1313 added bug Something isn't working triage needed new issues that are still in state of triage labels Jan 3, 2025
@miked1313 miked1313 linked a pull request Jan 3, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage needed new issues that are still in state of triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant