ShoreTel AD – sync Email Address From the SMTP Email Field instead of UPN

  • Home
  • Blog
  • ShoreTel AD – sync Email Address From the SMTP Email Field instead of UPN

By default ShoreTel uses the UPN (User Principal Name) field to populate the e-mail address in the ShoreTel Director when syncing AD users. If you would like to sync using the AD SMTP E-mail field instead, then make the following changes to the registry:
 
For 32-bit Windows OS, navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Shoreline Teleworks\

Or for 64-bit server OS:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Shoreline Teleworks

For ST Versions before ST13 just add the DWORD 32-bit value: UseADSMTPFieldForEMail

  • If the “UseADSMTPFieldForEMail” exists fetch from the “email” field of AD
  • If “UseADSMTPFieldForEMail” is NOT present fetch the “UserPrincipalName” field from AD

Version 13 and newer:

  • Add DWORD 32-bit value, as above: UseADSMTPFieldForEMail
  • Assign a value 1 to Enable fetching the AD SMTP email field instead of the UPN (value 0=disabled)