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

Search-TSSSecretPermission - Thycotic.PowerShell.SecretPermissions.Permission class missing property #365

Closed
skywayskase opened this issue Aug 4, 2023 · 3 comments · Fixed by #366
Labels
bug Something isn't working triage needed new issues that are still in state of triage

Comments

@skywayskase
Copy link
Contributor

Verified issue does not already exist?

Yes

What error did you receive

Cannot convert value "@{id=235; secretId=35; groupId=3; groupName=; userId=3; userName=Administrator; secretAccessRoleId=11; secretAccessRoleName=Owner; knownAs=Administrator; domainName=}" to type "Thycotic.PowerShell.SecretPermissions.Permission". Error: "Cannot convert the "@{id=235; secretId=35; groupId=3; groupName=; userId=3; userName=Administrator; secretAccessRoleId=11; secretAccessRoleName=Owner; knownAs=Administrator; domainName=}" value of type "System.Management.Automation.PSCustomObject" to type "Thycotic.PowerShell.SecretPermissions.Permission"."

Please run the command using -Verbose

VERBOSE: Command invocation: Search-TssSecretPermission -TssSession:TssSessionObject -SecretId:TssSessionObject -Verbose:True
VERBOSE: Filters: filter.secretId=35
VERBOSE: Performing the operation GET https://smartsheet.secretservercloud.com/api/v1/secret-permissions?sortBy[0].direction=asc&sortBy[0].name=Id&take=2147483647&filter.secretId=35

Provide a test case or steps to reproduce

Search-TssSecretPermission -TssSession $session -SecretId $secretID

Expected behavior

Returns array of permission objects

What Edition of Secret Server?

Cloud Subscription

What version of Secret Server

Secret Server Cloud

What PowerShell host was used when producing this error

PowerShell Core (pwsh)

PowerShell Host Version

7.3.6

@skywayskase skywayskase added bug Something isn't working triage needed new issues that are still in state of triage labels Aug 4, 2023
@jmackxiii
Copy link

jmackxiii commented Aug 8, 2023

Will these changes be rolled up in a new release? We are experiencing the exact same issue and ideally get it resolved asap

@jmackxiii
Copy link

Any ETA on this being rolled into the next update? Wed have been hit hard with this bug with some of our scripts that deal with permissions, not working property.

@skywayskase
Copy link
Contributor Author

I would also be interested in an ETA on when this will be released. The rest of my team needs this and I don't really want to walk them all through making the changes locally on each of their machines. @tylerezimmerman any chance you can give us an estimate, or is there a threshold for number of updates that need to be submitted before a new release can be rolled out?

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.

2 participants