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

Exchange Recipient Policies don't work when enabled with QAD commands.

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.