Hi, thanks for the reply.
Ok, maybe the spaces or "tab" or whatever it is comes from the way Adaxes prints out the parameter when I include Write-Warning "%param-practice2%".
The warning message displays as an empty space with a yellow exclamation point.
Why then, if that is indeed an empty string, am I not able to assign an empty string to a property though powershell?
Consider the following :
#In this example, %param-Practice2% is empty.
Set-AdmUser -Identity %sAMAccountName% -Replace @{
#Second Practice (FR)
"adm-CustomAttributeText11"=("%param-Practice2%");
} -AdaxesService localhost
The error message I get is specifically :
Processeur de modèles de propriétés: La propriété 'Seconde pratique' ne satisfait pas à la contrainte suivante: doit être l'un de: 'value1', 'value2', 'etc...'
which translates to :
Processor of property models : The property 'Second practice' does not satisfy the following constraint : Must be one of : 'value1', 'value2', 'etc...'.
How does Adaxes assign empty strings to properties when using the 'Modify user' action?
Is there some internal mechanism that checks each value being assigned to each property, and it skips over empty values?
Thanks for the help.
Louis