Summary: This article contains step-by-step instructions on how to copy primary SMTP value from proxyAddresses to the extension attribute of an AD user.
Applies to: Cayosoft Administrator 8.4.0 or later
- Create AD Users | Set Attribute Value rule.
- Add proxyAddresses attribute to Returned Properties.
- In Attributes specify ExtensionAttribute in which you need to copy the SMTP value.
- In Value copy\paste this script: $(($FoundObject.proxyAddresses -cmatch "SMTP:*").Replace("SMTP:",""))
- Save changes.