This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Get-QADUser -IncludedProperties 'attribute' returning a different value than if using -IncludeAllProperties

Hello all,

 

I am having some trouble returning a value using Get-QADUser and the -IncludedProperties switch. It seems that there is a difference in the value returned if using the -IncludeAllProperties switch.

In my example this is my difference:

Get-QADUser "domain\user123" -IncludedProperties "edsva-msexch-protocolsettings-owa-enable"

And return:

edsva-msexch-protocolsettings-owa-enable                   : True

 

However, if I run this:

Get-QADUser "domain\user123" -IncludeAllProperties

I return: 

edsva-msexch-protocolsettings-owa-enable                         : False

 

The IncludeAllProperties switch returns the correct value that is stored in ARS while the IncludedProperties returns the incorrect value. Does anyone know why this may be happening? I would like to be able to query an account without using the IncludeAllProperties switch as it takes much longer to gather all of the information.

 

Any help is greatly appreciated!

Jacob

Parents
  • I believe that this resource is relevant:

    Title: Cannot return values for virtual attributes starting with "edsva-MsExch-" through PowerShell or Advanced Find
    Solution Number: 195944
    URL: support.oneidentity.com/.../195944

    These are calculated attributes, and are need to be handled a little differently. Try to assign the results of your cmdlet to a PowerShell variable and then examine the values of the variable.

    So, something like this:

    $Results = Get-QADUser "domain\user123" -IncludedProperties "edsva-msexch-protocolsettings-owa-enable" -proxy
    $Results."edsva-msexch-protocolsettings-owa-enable"

Reply
  • I believe that this resource is relevant:

    Title: Cannot return values for virtual attributes starting with "edsva-MsExch-" through PowerShell or Advanced Find
    Solution Number: 195944
    URL: support.oneidentity.com/.../195944

    These are calculated attributes, and are need to be handled a little differently. Try to assign the results of your cmdlet to a PowerShell variable and then examine the values of the variable.

    So, something like this:

    $Results = Get-QADUser "domain\user123" -IncludedProperties "edsva-msexch-protocolsettings-owa-enable" -proxy
    $Results."edsva-msexch-protocolsettings-owa-enable"

Children
No Data