I have a policy pointed to a script and it's unable return it when I query. It just appears blank.
The targeted VA is a multi-valued Directory String.
the simple script
function onPostGet($Request)
{
if ($Request.Class -eq "user")
{
if($Request.IsAttributeRequested("my-custom-attribute"))
{
if($Request.Get("my-custom-attribute") -eq $null)
{
$Request.Put("my-custom-attribute", "myValue")
}
}
}
}
Nothing is erroring from what I can tell but when I look at the user, the attribute is blank.