When using Set-QADGroup on a multi-value attribute, I continue to get errors.

I have tried this a couple different ways. Each time I get the error: 
Set-QADGroup : Administration Service encountered an error when making changes to the object 'FQDN of the Group I am trying to update'.
Value does not fall within the expected range.

The field I am trying to populate allows multiple DNs. So I am adding them by FQDN in the code below.

Any ideas?
Thanks,
Rick

##Write the value back to the attribute in AD.
$newAttributeValue = @()
$newAttributeValue += $Value1
$newAttributeValue += $Value2
$newAttributeValue += $Value3

$Properties = @{}
$Properties.add("theMultiValueAttribute", $newAttributeValue)

try{
    Set-QADGroup -Identity $CurrentGroup `
        -objectAttributes $Properties `
        -ErrorAction Stop
    }
catch{
    Write-Host("ERROR: $($_.Exception.Message).")
}

Parents Reply Children
No Data