Exchange 2010 - Update Address Policy - Wont update primary SMTP address

Status
Not open for further replies.
D

DVDKEA

I have about 800 users in Exchange 2010 that when their mailbox was created their alias was formatted incorrectly, so their primary smtp address was also formatted incorrectly. I want their alias to equal their samaccountname.

I ran the script below and fixed all of their aliases.

#get a list of your mailboxes

$list = Get-Mailbox

#process the list of mailboxes

ForEach ($item in $list)

{

#get the user's SamAccountName

$user = Get-User $item

$sam = $user.samaccountname

#set the alias

Set-Mailbox $item -Alias " $sam"

}

That worked…

But the problem I am having is that the address policy did not update their primary address to reflect their new alias@domain.com to be their primary smtp address. The policy is set to %m@domain.com as the primary reply to address.

I manually reapplied the policy, and it does not change the existing primary addresses. However, if I create a new user, it does create them correctly.

Any suggestions?
 
A

AndyD_ [MVP]

Is Automatically update e-mail addresses based on e-mail address policy (–EmailAddressPolicyEnabled:$true) checked for those users?
 
D

DVDKEA

yes it is. I verified that. If i go in and manually remove all the smtp addresses besides the primary from the mailbox and click apply, the policy will create the correct addresses. But, it will not update the primary since the users alias has been chaged to match the samaccountname.
 
B

Brian Day MCITP

Did you edit the EAP with EMC or EMS? If it was done with EMS then try running...

Update-EmailAddressPolicy -Identity <policyname>

If you used EMC I think that command should have been run automatically, I'll have to go check.

Microsoft Premier Field Engineer, Exchange
MCSA 2000/2003, CCNA
MCITP: Enterprise Messaging Administrator 2010
Former Microsoft MVP, Exchange Server
My posts are provided "AS IS" with no guarantees, no warranties, and they confer no rights.
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
I Event ID 2937 after update to Exchange 2010 SP1 ArbitrationMailbox Exchange Server Administration 4
I Event ID 2937 after update to Exchange 2010 SP1 Exchange Server Administration 8
R Dynamic DNS update requirement for Exchange 2010 (SP1 RU1) on server 2008 r2 Exchange Server Administration 8
H Exchange server 2010 cannot update default offline address book Exchange Server Administration 2
K Question about Exchange 2010 SP1 RU2 update Exchange Server Administration 3
L Does Exchange 2010 SP1 update any Schema objects Exchange Server Administration 2
J pemissions to update titles and phone numbers in the GAL for Exchange 2010 Exchange Server Administration 2
J How to uninstall Exchange 2003 in Exchange 2010 co-exist environment - Error: Recipient Update Servi Exchange Server Administration 4
S Removal of Interim Update packages before installing any Exchange Server 2010 service pack Exchange Server Administration 1
N Exchange 2010 Update rollup Installation Order Exchange Server Administration 11
M Cant get Exchange 2010 Update Roll up 4 to install. Error: the upgrade patch cannot be installed by Exchange Server Administration 8
B Owners cannot update distribution lists or groups after Exchange 2010 migration Exchange Server Administration 2
K Released: Update Rollup 1 for Exchange Server 2010 SP1 Exchange Server Administration 1
J Outlook in cached mode with exchange 2010 doesn't update Using Outlook 4
S Exchange 2010 update rollup 4 - installation problem Exchange Server Administration 5
T OWA broken after Exchange 2010 SP1 update (invalid accepted domain fixes already applied) Exchange Server Administration 2
S Exchange 2010 SP1 update issues Exchange Server Administration 22
S How do you update definitions of Exchange 2010 anti spam agents? Exchange Server Administration 7
T Exchange 2010 Rollup Update changing customized OWA pages Exchange Server Administration 3
J Does Exchange 2010 Bèta Service Pack 1 supersedes the Update Rollup 4? Exchange Server Administration 5
E Can't install Update Rollup 3 for Exchange 2010 Exchange Server Administration 12
B Update Rollup 1 for Exchange Server 2010 is out. Exchange Server Administration 23
Diane Poremsky Organizational Forms Library in Exchange 2010 New Slipstick.com Articles 0
V Recover exchange 2010 edb Exchange Server Administration 2
B Exchange 2010 / Outlook 20070 "client error in synchronization log" Exchange Server Administration 1
T Renaming an Resource in Exchange 2010 Exchange Server Administration 1
P Outlook 2010 MS Exchange Calendar to Android- ical or webdav? Using Outlook 1
Fozzie Bear Outlook 2010 or 2013 Dual Configuration Exchange + IMAP Exchange Server Administration 6
H In Exchange 2010, how to block an email containing an attachment that has foreign characters Exchange Server Administration 1
Digitally Hip Outlook 2010 (32) and Exchange 2010 (sp3) sender info not displaying in Outlook Using Outlook 1
A give User Read Only access to secondary mailbox in Exchange 2010 via AD Exchange Server Administration 1
N Outlook 2010 exchange - auto-move emails from @domain Exchange Server Administration 1
V Outlook 2013 cant stay connected to exchange 2010 Exchange Server Administration 5
D cleaning up old Exchange 2003 data on Exchange 2010 Exchange Server Administration 2
L Weird Inbox problems Outlook 2010/13 and Exchange Exchange Server Administration 2
R Exchange 2013/Outlook 2010 Slow Startups Exchange Server Administration 8
Z Outlook 2010 client to Exchange ,,,,search not working proparly Exchange Server Administration 0
M First post -help with managing two calendars Outlook 2010 /Exchange 2010 Using Outlook 0
T Outlook INBOX emails gone back 2-3 weeks after Exchange Server 2010 Restart Using Outlook 0
A Exchange 2003 Outlook 2010 64 Bit- AutoDiscover Connection Err - Certificate Exchange Server Administration 9
C Outlook 2010, two exchange mailboxes configured.Unable to see 2ndrymeeting req Using Outlook 2
C Exchange 2010 / Emails received show with display name and not email address Using Outlook 2
P correct public folder migration exchange 2003 to 2010 Exchange Server Administration 1
S Unable to send or reeceive email in new Exchange 2010 Exchange Server Administration 0
A File - Save Attachments does nothing in Outlook 2003 with Exchange 2010 ... Using Outlook 3
B Sharing Multiple Outlook 2010 Calendars (Exchange) Exchange Server Administration 4
P can't set IRM configuration in Exchange 2010 Exchange Server Administration 2
B Using hosted exchange to sync outlook 2010 calendars and contacts to BB Z10 Using Outlook 4
S Outlook 2010/Exchange 2010 Multi Mailboxes (Server unavailable) Using Outlook 6
O outlook 2010, owa, exchange Exchange Server Administration 2
Similar threads


















































Top