please try this and take a look if the PrimaryProxyAddress
property contains the value you expected:
Get-ADUser -SearchBase "ou=Test OU,dc=domain,dc=com" -Properties *
You should check if the name PrimaryProxyAddress
is correct. Could it be the property name is PrimaryProxyAddresses
?
----------
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten