WARNING: dd.MM.yyyy is not one of dd.MM.yyyy2
New-AtwsClientPortalUser: Cannot validate argument on parameter 'DateFormat'. The "
$set = (Get-AtwsPicklistValue -Entity ClientPortalUser -FieldName DateFormat -Label) + (Get-AtwsPicklistValue -Entity ClientPortalUser -FieldName DateFormat -Value)
if ($_ -in $set) { return $true}
else {
Write-Warning ('{0} is not one of {1}' -f $_, ($set -join ', '))
Return $false
}
" validation script for the argument with value "dd.MM.yyyy" did not return a result of True. Determine why the validation script failed, and then try the command again.
I am trying to add new client portal user:
I get a vaildation error:
The picklist seems fine to me:
I have tried Powershell v5 and v7 with the same result.