thycotic-ps / thycotic.secretserver

PowerShell module for automating with Thycotic Secret Server REST API
https://thycotic-ps.github.io/thycotic.secretserver
MIT License
68 stars 22 forks source link

Need to add domainName property to Thycotic.PowerShell.FolderPermissions.Permission class #376

Closed jagger closed 10 months ago

jagger commented 11 months ago

Verified issue does not already exist?

Yes

What error did you receive

| Cannot convert value "" to type "Thycotic.PowerShell.FolderPermissions.Permission". Error: "Cannot | convert the "" value of type "System.Management.Automation.PSCustomObject" to type | "Thycotic.PowerShell.FolderPermissions.Permission"."

Please run the command using -Verbose

| Cannot convert value "" to type "Thycotic.PowerShell.FolderPermissions.Permission". Error: "Cannot | convert the "" value of type "System.Management.Automation.PSCustomObject" to type | "Thycotic.PowerShell.FolderPermissions.Permission"."

Provide a test case or steps to reproduce

search-tssfolderpermission

Expected behavior

returns valid object

What Edition of Secret Server?

Platinum

What version of Secret Server

Secret Server Cloud

What PowerShell host was used when producing this error

PowerShell Core (pwsh)

PowerShell Host Version

7

jagger commented 11 months ago

src/Thycotic.SecretServer/classes/folder-permissions/Permission.cs

add string value