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

New-TssFolderPermission - throws error converting object #215

Closed
wsmelton opened this issue Jul 27, 2021 · 1 comment · Fixed by #216
Closed

New-TssFolderPermission - throws error converting object #215

wsmelton opened this issue Jul 27, 2021 · 1 comment · Fixed by #216
Labels
bug Something isn't working

Comments

@wsmelton
Copy link
Contributor

Verified issue does not already exist?

Yes

What error did you receive

New-TssFolderPermission: Cannot convert value "@{id=81; folderId=23; folderAccessRoleId=7; folderAccessRoleName=Edit; secretAccessRoleId=11; secretAccessRoleName=Owner; groupId=7; groupName=Sync Process Group; userId=0; userName=; knownAs=Sync Process Group}" to type "Thycotic.PowerShell.FolderPermission.General". Error: "Cannot convert the "@{id=81; folderId=23; folderAccessRoleId=7; folderAccessRoleName=Edit; secretAccessRoleId=11; secretAccessRoleName=Owner; groupId=7; groupName=Sync Process Group; userId=0; userName=; knownAs=Sync Process Group}" value of type "System.Management.Automation.PSCustomObject" to type "Thycotic.PowerShell.FolderPermission.General"."

Please run the command using -Verbose

N/A

Provide a test case or steps to reproduce

Create a new folder permission on a folder

Expected behavior

Outputs the folder permission object

What Edition of Secret Server?

Professional

What version of Secret Server

10.9

What PowerShell host was used when producing this error

PowerShell Core (pwsh)

PowerShell Host Version

PowerShell 7.1.3

@wsmelton wsmelton added the bug Something isn't working label Jul 27, 2021
@wsmelton
Copy link
Contributor Author

This fix is in 0.49.1-alpha1 pre-release via GitHub if anyone hits it before I get the release pushed out to PS Gallery.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant