Closed sphem1 closed 7 months ago
@jordan-violet-sp @tyler-mairose-sp Could you please help with this problem ? Thanks in advance!
Hey @sphem1,
This is fixed in the latest version. https://www.powershellgallery.com/packages/PSSailpoint/1.2.4
I've included an example below:
$NewMember = Initialize-BetaBulkWorkgroupMembersRequestInner -Id "2c918085840ffd5201841b62859f2d1f" -Name "Tyler Mairose" -Type "IDENTITY"
$WorkGroupMembersArray = [PSCustomObject[]]@($NewMember)
$Response = Update-BetaWorkgroupMembers -WorkgroupId "b0c131fa-5133-4efb-9bb2-e22529f44cad" -BulkWorkgroupMembersRequestInner $WorkGroupMembersArray -WithHttpInfo -Verbose
Hello, I can't get the "Update-BetaWorkgroupMembers" command to work correctly. I systematically get this error message
400.0 Bad request syntax, The request could not be parsed
I've tried using the script provided as an example, but it doesn't work. I think the problem lies with the "Initialize-BetaBulkWorkgroupMembersRequestInner" command, which returns a simple object, whereas the endpoint expects an array. The problem might also be present with "Remove-BetaWorkgroupMembers".