Creating E-mail Address Policy that uses UPN as Secondary SMTP addresss
We are trying to set up an e-mail address policy that sets the primary SMTP address as firstname.middleinitial.lastname@domain.com (this is complete). I want to make the secondary SMTP address based on the UPN which is the employee number. I am not having any luck finding this information anywhere. Is there an easy way to do this? Accounts/mailboxes are already created.
April 28th, 2011 11:58am

Email Address Policies cannot do this, as they are limited to the following customizations: Variable Value %g Given name (first name) %i Middle initial %s Surname (last name) %d Display name %m Exchange alias %xs Uses the first x letters of the surname. For example, if x = 2, the first two letters of the surname are used. %xg Uses the first x letters of the given name. For example, if x = 2, the first two letters of the given name are used. Src: http://technet.microsoft.com/en-us/library/bb232171.aspx You could however, use a script to manually stamp each of the users with this additional address. Mike Crowley | MVP My Blog -- Planet Technologies
Free Windows Admin Tool Kit Click here and download it now
April 29th, 2011 4:10pm

Email Address Policies cannot do this, as they are limited to the following customizations: Variable Value %g Given name (first name) %i Middle initial %s Surname (last name) %d Display name %m Exchange alias %xs Uses the first x letters of the surname. For example, if x = 2, the first two letters of the surname are used. %xg Uses the first x letters of the given name. For example, if x = 2, the first two letters of the given name are used. Src: http://technet.microsoft.com/en-us/library/bb232171.aspx You could however, use a script to manually stamp each of the users with this additional address. Add Proxy Addresses to Many Users' Accounts with Windows PowerShell Mike Crowley | MVP My Blog -- Planet Technologies
April 29th, 2011 4:23pm

Hi, Mike is right. You could aslo use this command to add the UPN as secondary Email address. $1=get-mailbox test $2=$1.UserPrinciPalName $1.EmailAddresses += ("SMTP: $2") Set-mailbox –identity test –EmailAddresses $1.EmailAddresses More information Add an E-Mail Address for a User Mailbox Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
May 3rd, 2011 1:43am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics