I'm trying to create a contact and ensure it's mail enabled. It appears Exchange doesn't recognize the object after it's creation and the policy is never applied.
How do I get QAD posh commands to do this without having to run Exchange commands?
$qadcontact = Get-QADObject -Identity "TESTPOSH" -Type "Contact" -IncludedProperties EmailAddressPolicyEnabled $qadcontact | Set-QADObject -objectattributes @{"edsva-MsExch-ApplyEmailAddressPolicy"="TRUE"}
I read mention of an Add-QADProxyAddress but I want the default policy in Exchange to do it's work.