How can I add a proxy address to a user account using addaxes and a custom command or business rule? I have tried to use a powershell script to do it but since the active directory module uses a later version of PowerShell the script fails within addaxes. I did look at using set-admuser but it didn't look like it would work either? Below is the script I was using.
Import-Module ActiveDirectory
$User = "%SamAccountname%"
get-aduser $user | set-aduser -add @{ProxyAddress=sip:"%userPrincipalName%"}
Thanks!