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

[Bug] Set-TssSecretField returning parameter error #198

Closed
harrychandrapdx opened this issue Jun 30, 2021 · 0 comments
Closed

[Bug] Set-TssSecretField returning parameter error #198

harrychandrapdx opened this issue Jun 30, 2021 · 0 comments
Assignees
Labels
accepted bug or feature request accepted bug Something isn't working fix released Fixed in latest release

Comments

@harrychandrapdx
Copy link

harrychandrapdx commented Jun 30, 2021

Describe the bug
Set-TssSecretField returns an error Parameter set cannot be resolved using the specified named parameters.
SecretServer module 0.46.1

To Reproduce
Steps to reproduce the behavior:

  1. PowerShell script:
Set-TssSecretField -TssSession $Sess -Id 36 -Slug "Password" -Value "password"
  1. Error/issue observed:
Set-TssSecretField : Parameter set cannot be resolved using the specified named parameters.
At line:1 char:1
+ Set-TssSecretField -TssSession $Sess -Id 36 -Slug "Password" -Value ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Set-TssSecretField], ParameterBindingException
    + FullyQualifiedErrorId : AmbiguousParameterSet,Set-TssSecretField
  1. Verbose output
Set-TssSecretField : Parameter set cannot be resolved using the specified named parameters.
At line:1 char:1
+ Set-TssSecretField -TssSession $Sess -Id 36 -Slug "Password" -Value ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Set-TssSecretField], ParameterBindingException
    + FullyQualifiedErrorId : AmbiguousParameterSet,Set-TssSecretField

Expected behavior
Expected behaviour should be the Password field to be updated with the new value. Works in SecretServer module ver 0.34.0

Environment (please complete the following information):

Secret Server
Build/Version: SecretServerVersion : 10.9.000002

PowerShell version

Name                           Value
----                           -----
PSVersion                      5.1.17763.1971
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17763.1971
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Host information:

[x] Windows PowerShell 5.1
[ ] PowerShell 7+
[ ] PowerShell ISE
[x] VS Code (Stable)

VSCode version: 1.57.1 507ce72a4466fbb27b715c3722558bb15afa9f48 x64

VSCode extensions:

[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

PSES version: 2.4.5.0

PowerShell version:

Name Value


PSVersion 5.1.17763.1971
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17763.1971
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Additional context
Set-TssSecretField does not work for any Slug.

@harrychandrapdx harrychandrapdx added bug Something isn't working triage needed new issues that are still in state of triage labels Jun 30, 2021
@harrychandrapdx harrychandrapdx changed the title [Bug] Set-TssSecretField returning parameter error[Bug] Jun 30, 2021
@wsmelton wsmelton changed the title Set-TssSecretField returning parameter error[Bug] [Bug] Set-TssSecretField returning parameter error Jul 1, 2021
@wsmelton wsmelton added accepted bug or feature request accepted fix released Fixed in latest release and removed triage needed new issues that are still in state of triage labels Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted bug or feature request accepted bug Something isn't working fix released Fixed in latest release
Projects
None yet
Development

No branches or pull requests

2 participants