Bulk update contacts in Exchange 2007?

Hello,
Our Italian division has changed their domain name, so we need to update all their smtp addresses with the new domain name, is their an easier method to do this than a manual update?
Sorry I'm not an Exchange admin.
Thanks

Point 1:
I understand that you have mail contacts in your Exchange 2007 database for the Italian division of your company and you need to change the STMP address of these contacts.
Point 2:
If that is the case, I think you will also need to change the "ExternalEmailAddress" attribute of those contacts if you want to continue to send email to them.
If my understanding is correct, I believe the following script may work for you:
Script starts after next row of pound signs
$contacts = get-mailcontact | where { $_.PrimarySMTPAddress -match "olddomain.com" }
foreach($contact in $contacts)
$newsmtp = $contacts.primarysmtpaddress.tostring()
$newsmtp = $newsmtp -replace "olddomain.com","newdomain.net"
get-mailcontact $contact | set-mailcontact -PrimarySMTPAddress $newsmtp -externalemailaddress $newsmtp
Script ends with bracket above pound signs
I tested it in my lab (yes, on Exchange 2007 SP3) with a user named "Thomas Jefferson" and obtaining the following results. Between the two "Get-MailContact" commands, I run the script.
[PS] C:\Scripts>get-mailcontact | where { $_.PrimarySMTPAddress -match "olddomain.com" } | fl name,primarysmtpaddress,externalemailaddress
Name                 : Thomas Jefferson
PrimarySmtpAddress   :
[email protected]
ExternalEmailAddress : SMTP:[email protected]
[PS] C:\Scripts>.\newsmtp.ps1
[PS] C:\Scripts>
[PS] C:\Scripts>get-mailcontact | where { $_.PrimarySMTPAddress -match "newdomain.net" } | fl name,primarysmtpaddress,externalemailaddress
Name                 : Thomas Jefferson
PrimarySmtpAddress   :
[email protected]
ExternalEmailAddress : SMTP:[email protected]
Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.

Similar Messages

  • Update Rollup in Exchange 2007 SCR environment.

    Dear Experts. 
    I am going to install Rollup 12 for Exchange 2007 SP3, so could you please confirm if any issue with Rollup 12 Exchange 2007 SP3?
    Could you please advise to update Rollup in Exchange 2007 SCR environment with CCR.? I would appreciate. If you provide step by step
    process, Thanks
    Regards Vijaya Babu S | MCITP | MCTS | MCP| MCSA

    Hi Vijaya,
    Based on my known, Exchange 2007 SP3 Rollup 12 doesn't have a known issue so far.
    About the steps of update Exchange 2007 SCR with CCR, please follow the above article Mike provided.
    What's more, I recommend you make a complete backup of the clustered mailbox server prior to applying the update rollup and again after successfully applying the update rollup.
    Here is an article for your reference.
    How to Install Update Rollups in a CCR Environment
    http://technet.microsoft.com/en-us/library/bb885047(v=exchg.80).aspx
    Hope it helps.
    If you need further assistance, please feel free to let me know.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • EWS 2.0 (Exchange 2007 ) - How to Bulk Update Contacts

    Hi 
    I have  afew hundred contacts that I need to auto-refresh in Exchange 2007 via EWS 2.0. Speed is not that great.
    Can someone please provide an example of how I could bulk update 25 contacts and clearly identify which ones failed because they did not exist? Which I wonder is even possible without knowing the ItemId before hand?
    Thanks

    How many contacts are in the source folder ?
    You could create a really complex SearchFilter using multiple OR statements it would be pretty ugly and possibly slow unless you have some massive number of contact you should generally just be able to enumerate the contacts with a restricted propertyset
    for the contact first. If you are updating all the contacts from a certain domain then just create a single search filter on that domain or try to find some other property you can create a simpler SearchFilter using. You can also create your own custom
    properties you can use in searches
    http://msdn.microsoft.com/en-us/library/office/dd633654%28v=exchg.80%29.aspx .
    Cheers
    Glen

  • Exchange 2007 SP3 latest update rollup

    I would like to install the latest update rollup for Exchange 2007 SP3.  I was reading and found Update Rollup 12, is this the latest version?  No other update rollups are installed.
    I did the SP3 update by installing on the hub transport first, then the 2 mailbox stores.

    Hi,
    Update Rollup 13 for Exchange 2007 SP3 has been released on 25th February 2014.
    Rollup 13 for Microsoft Exchange 2007 SP3 can be downloaded here:
    Update Rollup 13 for Exchange Server 2007 Service Pack 3 (KB2917522)
    Informations about changes you can find here:
    Description of Update Rollup 13 for Exchange Server 2007 Service Pack 3
    One thing we need to take into consideration is the order to apply update on our Exchange servers, it should be the following:
    1. CAS  (if you have multiple sites, internet facing sites first)
    2. Hub
    3. MBX
    Hope this helps.
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • Restore Exchange 2007 SP3 to Windows 2008 R2 from Windows 2003

    Perhaps I'm being dense, but I had Exchange 2007 SP3 installed on a Windows 2003 Server, and I've used "setup /mode:recoverserver" to restore it to a Windows 2008 R2 server... how do I restore the databases which I backed up with the Windows backup tool
    on 2003?
    I installed KB974674, the restore tool onto the 2008 R2 server but when I try and restore the backup it comes up with "this feature is no longer supported".  Something I'm missing here?

    These things marked as answers are not answers.
    I have now thoroughly tested using setup /mode:recoverserver and it works fine going from Windows 2003 to Windows 2008 R2 with Exchange 2007 SP3, done several installations now without a problem.
    "Setup /m:RecoverServer cannot be used across operating systems. A server that was originally running Windows Server 2003 can be recovered only on Windows Server 2003, and a server that was originally running Windows Server 2008 can
    be recovered only on Windows Server 2008."
    This appears to be wrong, unless someone can tell me why it's right (I haven't tried moving Unified Messaging yet).  I've done it to 2008 R2 several times now and also in the other direction, from 2008 R2 to 2003, I can't find anything that didn't work
    afterward, although I haven't really thoroughly tested OWA yet, I admit (but it does appear to be working).
    I think that documentation is out-of-date as it doesn't mention R2 plus I think it was written before SP3 came out and that paragraph is just wrong.
    Basically how I do it is like this:
    Dismount databases from the 2003 server and copy the storage group folders to a network location or removable media.
    Install the Windows 2008 R2 server using the same machine account that was being used by the 2003 server.  Install the prerequisites needed for Exchange 2007 SP3 installation on 2008 R2 (note in addition to the IIS components and RPC over HTTP this
    also requires the AD tools in RSAT, which I haven't found mentioned in technical documentation).  Install the relevant windows updates.
    Install Exchange 2007 SP3 using setup /mode:recoverserver  Install the update rollup.
    Copy the storage groups into the relevant folders on the new server and mount them.  Migrate any relevant certificates (e.g. for ActiveSync).
    Obviously then check it all over with the diagnostic tools and check it with EXBPA.  The backups are obviously totally different, but really I think you should be using DPM anyway.
    To me that was pretty easy to do, to be honest.  About 1.5 on a scale of one to ten.  Basically install it, recover it, copy over some files and mount them.
    Seriously on a halfway decent server I've done it in under an hour.

  • How to upgrade Exchange 2007 from Sp1 to SP3 RU13

    Hi everyone, I have a mail system Exchange 2007 SP1 CAS and HUB with 3 servers. 
    The mailboxes are on a Windows Server 2008 Failover Cluster. 
    Domain controllers are Windows Server 2003 SP2 
    I have to update the mail system with Service Pack 3 and RU13. 
    Does anyone can tell me the procedure? where I have to start by the CAS / HUB or cluster mailboxes? 
    How do I update the cluster of mailboxes, the resources on the active node and update it, or liability? 
    There's something I have to take intoaccount before upgrading? 
    I can upgrade directly to SP3? or I have to upgrade before SP2?  thank you very much
    Microsoft Certified IT Professional Server Administrator

    http://technet.microsoft.com/en-us/library/bb885043(v=exchg.80).aspx
    Applying Exchange 2007 Update Rollups to Clustered Mailbox Servers
    and
    http://technet.microsoft.com/en-us/library/ee221147(v=exchg.80).aspx
    How to Install the Latest Service Pack or Update Rollup for Exchange 2007
    and, yes, you can go straight to SP3
    Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

  • Cannot connect to OWA after Exchange 2007 SP3 and Rollup 13 install.

    Hi,
    Our OWA website isn't accessible after we installed SP3 and rollup update 13 for Exchange 2007.  When we attempt to visit the OWA URL, all we receive is HTTP 403.4 SSL is required to view this resource.  Doug

    Hi,
    I recommend you follow the steps below for troubleshooting:
    1. Open IIS Manager, click Default Web Site -> Authentication, make sure that Anonymous Authentication and Windows Authentication are enabled.
    2. Click Default Web Site -> SSL Settings, check "Require SSL" and click Ignore.
    3. Click Default Web Site -> HTTP Redirect, check Redirect (enter your
    https://URL), check "Only redirect" box and Status code Found 302.
    4. Expand Server Configuration -> Client Access ->double click owa ->Authentication tab. Check the Basic Authentication and check the Use forms-based authentication button Logon Format: Domain\user name.
    What's more, here is a thread for your reference.
    Exchange 2007 SP3 Rollup 2 installed - OWA stopped working
    http://social.technet.microsoft.com/Forums/en-US/8481eb3d-a6ab-42fc-b7ea-fa9a9a625e48/exchange-2007-sp3-rollup-2-installed-owa-stopped-working?forum=exchangesvrdeploylegacy
    Hope it helps.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • Compatibility between Exchange 2007 service packs

    Hi all, I have 5 servers Exchange:
    - 3 Servers CAS and HUB
    - 2 Servers Mailbox server in Microsoft Failover Cluster (MSCS)
    Domain Controllers are all
    Windows Server 2003 SP2
    The versions of Exchange 2007 SP1 servers are all:
    8.1 Build 240.6
    I have thought about installing SP3 and RU13 in all 5 servers for Exchange, but I'm going to install SP3 and RU13 on 2 servers CAS / HUB and the following week at the other CAS / HUB server.
    Finally, the following week in the two Mailbox Servers.
    Is there any problem if I miss 2 servers CAS / HUB with SP3 RU13 and the other CAS / HUB in SP1, this will only be for a few days?
    Is there any problem if I leave the servidors Mailbox Servers in SP1 while CAS / HUB are in SP3 RU13, this will only be for a few days?
    regards
    Microsoft Certified IT Professional Server Administrator

    Hi Yupikaiey.
    Only thing you should be concerned is if you have CAS-CAS proxy or the Mailbox Cluster part.
    Your current plan looks good. Just stay alert for any uncommon issues popping up, which would normally mean due to the difference.
    If you upgrade your servers in this order, you may avoid potential service interruptions.
    Details below:
    Version Constrains are more of between roles of 2007-2010-2013 and not between same version SPs or RUs.
    Exchange 2013 Server Role Architecture
    The Past: Exchange 2007 and Exchange 2010
    Our goal was to make these server roles autonomous units. Unfortunately, that goal did not materialize in either Exchange 2007 or Exchange 2010. The server roles were tightly coupled along four key dimensions:
    2.This also necessitated a tight versioning alignment – a down-level Hub Transport or Client Access shouldn’t communicate with a higher version Mailbox server; in some cases this was enforced (e.g., Exchange 2007 Hub Transport servers cannot deliver messages
    to Exchange 2010 Mailbox servers), but in other cases they were not (e.g., an Exchange 2010 SP1 Client Access server can render data from an Exchange 2010 SP2 Mailbox server).
    The versioning restriction also meant that you could not simply upgrade a single server role to take advantage of new functionality – you had to upgrade all of them.
    The Present: Exchange Server 2013
    If I upgrade the Mailbox server with a service pack or cumulative update, then for a given mailbox hosted on that server, all data rendering and content conversions for that mailbox will be local, thus removing version constraints and functionality issues
    that arose in previous releases.
    Exchange 2007 Servicing
    http://technet.microsoft.com/en-in/library/dd421853(v=exchg.80).aspx
    Deployment Order
    Our test infrastructure guarantees that Exchange hotfixes work across multiple server roles. The order in which you apply the update rollup to the servers is not important except if you are deploying CAS-CAS proxying. Because the update rollups are not segmented
    for different Exchange server roles or for specific file configurations, apply each update rollup package to all Exchange 2007 servers in your environment.
    If you have multiple Active Directory sites, and if you deploy a Client Access server in the proxy sites that do not face the Internet, you must
    apply the update rollup to the Internet-facing Client Access servers
    and to the non-Internet-facing Client Access servers in the proxy site simultaneously. For other Exchange 2007 configurations, we recommend that you
    apply the update rollup package to the Client Access servers before
    you apply it to servers that are running other Exchange 2007 server roles, such as the Mailbox server role, the Hub Transport server role, and the Edge Transport server role.
    Note:
    Applying service packs and update rollups to clustered Mailbox servers requires specific planning and application steps. For more information about how to apply service packs to Exchange 2007 clustered Mailbox servers, see
    Upgrading Clustered Mailbox Servers to Exchange 2007 SP1 or later. For more information about how to apply update rollups to Exchange 2007 clustered Mailbox servers, see
    Applying Exchange 2007 Update Rollups to Clustered Mailbox Servers.
    For Patching and compatibility between versions:
    Determine the service pack level of Exchange. 
    Update rollups are service pack dependent. For example, an Update Rollup 5 package is available for Exchange 2007 and for Exchange 2007 Service Pack 1. To determine the service pack level of Exchange, examine the
    ExchangeVersion property. For more information about how to view the
    ExchangeVersion property and about the build number that is associated with each Exchange version, see
    Exchange Server 2007: Platforms, Editions, and Versions.
    References:
    How to Install the Latest Service Pack or Update Rollup for Exchange 2007
    Exchange Server Updates: build numbers and release dates
    We are looking at doing the roll-up to SP3
    Coexistence of Exchange2007 SP1 and Exchange 2007 SP3
    Regards,
    Satyajit
    Please “Vote As Helpful”
    if you find my contribution useful or “Mark As Answer” if it does answer your question. That will encourage me - and others - to take time out to help you.

  • Move Mailbox from Exchange 2007 to 2013 creates additional Contacts and Junk E-mail folders in Outlook Clients

    I have moved a handful of mailboxes from my Exchange 2007 server to my new Exchange 2013 server.  When the users logon to Outlook, usually Outlook 2007 Pro, they have a new default Contacts folder and Junk Email folder that are empty.  I
    have to copy all the user's contacts into the new default folder and delete the old one.  Not sure why this is happening.  Any information would be appreciated.  Thanks.

    Are you sure your Outlook 2007 is compatible with Exchange 2013?
    http://technet.microsoft.com/en-us/library/aa996719(v=exchg.150).aspx
    http://support.microsoft.com/default.aspx?kbid=2687404
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • Exchange 2007,  Contacts and Calendar OK , Email only folder structure

    Hi, as i was reading many different topics I found that many of them had mixed answers between Exchange 2003, Exchange 2003 and 2007. Because of this mess, i wanted to focus ONLY on *EXCHANGE 2007*. That´s been said...
    I have configured my iPhone with the user/pass/domain/address/SSL-ON, the iPhone connects to exchange and syncronize correctly Contacts and Calendar but not the Email. Email just shows folder structure.
    After this first failed attempt I installed the certificate (Unsigned according to iphone and contains "Root Certificate")... No Improvement
    I contacted my IT department , they said that Activesync was supposedly ON in my user profile and that SSL was mandatory. They also said that they cannot start testing thoroughly because it would disroupt other users. They also argue that many users are using activesync service with no problem what-so-ever. However they incouraged me to keep looking for an answer.
    I couldnt find an apple guide to configuration for Exchange 2007, the enterprise deployment guide is just to vague.
    _This info comes from "About" in OWA_
    +Mailbox Owner: Juan I*** ****** [**@*****.net]+
    +User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-AR; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1+
    +OWA Experience: Basic+
    +User Language: English (United States)+
    +User Timezone: (GMT-03:00) Buenos Aires, Georgetown+
    +Exchange Mailbox Address: /o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=*+
    +OWA Host Address: http://webmail.*****.net/owa+
    +OWA Version: 8.0.605.16+
    +Exchange Client Access Server .NET Framework Version: 2.0.50727.1433+
    +Exchange Client Access Server OS Version: Microsoft Windows NT 5.2.3790 Service Pack 2+
    +Exchange Client Access Server Version: 8.0.605.0+
    +Exchange Client Access Server Language: en-US+
    +Exchange Client Access Server Timezone: Hora estándar romance+
    +Exchange Client Access Server Flavor: 32bit+
    +Mailbox Server Name: exchange.*****.***+
    +Mailbox Server Exchange Version: 8.0.605.0+
    +Other roles currently installed on CAS server: Mailbox, Hub Transport+
    +Authentication type associated with this OWA session: Basic+
    +Public logon: Yes+
    *Does anyone have a Check-List for Microsoft Exchange 2007?*
    Please forgive my lousy English.
    Message was edited by: Nachiarg

    I don't think there will be a solution to this. Exchange 2003 just isn't supported.

  • Exchange 2007 SP3 RU13 showing RU8-v2 as an Important Update

    Hi, I'm curious about this update that's showing up.  The server is a physical Windows 2008 x64 with SP2, with Exchange 2007 (all roles) installed (it's a standalone Exchange server).  As of a couple months ago it was on Exchange 2007 SP1, and
    I manually installed the SP3 and then the RU13 for SP3 updates.  That all went smoothly.  Since doing that, though, RU8-v2 for SP3 shows up as an Important Update in Windows Update. 
    I've confirmed that it shows as version 08.03.0348.002 when checking the version of exsetup, and just doing help > about in EMC. 
    Any thoughts or places I might be able to look to answer why it wants to install this?  Also curious if it would be safe to approve this update?  Thanks for any help.

    I wouldn't worry if UR13 is installed and shows in Add/Remove program, exsetup.exe and help-about...
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • Receive Connector stopped working after Update Rollout 2 for Exchange 2007 SP2

    One of the Exchange 2007 servers receive connector has stopped working since installing the latest rollout update for Exchange 2007 SP2 - for some reason the following error is received (when troubleshooting on the adjacent server) :
    "Remote server server.domain.co.uk failed the mail acceptance test. MAIL FROM command: Respond = 530 5.7.1 Client was not authenticated."
    Most admins will know you usually get this when first setting up Exchange and the receive connector not allowing anonymous connections. But our setup has been working for well over a year with no problems. Even enabling anonymous connections still doesn't fix the problem.
    Our setup is 2 exchange servers across 2 sites, with the problematic server never receiving email from the internet, only from the other Exchange server (which is internet facing). The above error is received when the internet facing server is relaying email over to the problematic server. Though in the message queue the following error is received:
    "SMTPSEND.DNS.NonExistantDomain; nonecistant domain"
    After testing DNS that all seems fine, so I don't believe it's a DNS problem.
    Any ideas why this would happen?
    Thanks,
    Matt

    Hi Matt....
    To receive e-mails from the external servers or domains or clients, you can setup a new receive connector on Hub Transport Server. To do this task, you can go through the steps mentioned in this blog....
    https://mailsolutions.wordpress.com/2015/02/06/resolving-error-530-5-7-1-client-was-not-authenticated-with-receiver-connector/
    Hope this will work
    Thanks

  • Exchange 2007 : Users cannot add contact while using outlook anywhere

    Hey guys, i have a client with Exchange 2007 (standalone), when a user is connected through Outlook Anywhere or Activesync and they try to save a contact they get a little popup saying exchange is unavailable, outlook needs to be connected. 
    Any ideas on these error?
    Thanks in advance.

    Hi,
    In client side which is using Outlook Anywhere, please disable using Exchange Cached mode and restart Outlook to use Online mode. Then check whether the error occurs or not when saving a contact. Also do the test in OWA from external internet environment.
    If the issue doesn't happen in Outlook Online and OWA, please create a new Outlook profile for this Outlook Anywhere user.
    Regards,
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Winnie Liang
    TechNet Community Support

  • Changes in ical won't update my Exchange 2007 server

    If I make a change in ical, it doesn't update my server calendar. It works the other way round. Can anyone help? Is it possible to make this work? My server support line tell me Exchange 2007 doesn't support ical.

    bump... and please help. I'm really lost on this. My calanders say they are publishing to mobile me but they are not!

  • Incorrect Legacyexchangedn is being stamped only on contact objects created on Exchange 2007

    Environment
    Exchange 2007- All mailboxes are hosted on Exchange 2007 servers.
    Exchange 2000 - Only being used to relay emails, RUS is running on these servers.
    Abnormality what i have noticed is that contact objects being created on exchange 2007 server are getting legacyexchangedn as "OU=itca" which is name of Exchange 2000 administrative group. Ideally, any objects created on Exchange 2007 should get
    legacyexchangedn like "OU=Exchange administrative group (FYDI....)" .
    This happens only with contacts. Legacyexchangedn on mailbox is getting stamped correctly.
    I am trying to understand why contact objects are getting incorrect legacyexchangedn. Any help on this would be appreciated. 

    Hi,
    Can you change the OU when create contacts?
    Please try below link to create contact, for your reference:
    https://technet.microsoft.com/en-us/library/aa997220(v=exchg.80).aspx
    Meanwhile, we can modify the default OU by AD. More details about Redirecting the users and computers containers in Active Directory domains, please refer to:
    http://support.microsoft.com/kb/324949/en-us
    Best Regards,
    Allen Wang

Maybe you are looking for

  • Rebuild icon database

    Hello, Yesterday I spent a few hours sorting and organizing my photo library (2000+ pics). Once I finished, iPhoto told me it was appropriate to rebuild the icon (or thumbnail i can't remember) database. I clicked on OK when I should have clicked on

  • Aperture 2 is buggier than 1.5.6

    Aperture 1.5.6 under Leopard (fully updated) was buggy on my PowerMac G5 with 6.5 GB of RAM and Radeon 9650. The Viewer blackout bug was especially annoying, prohibiting A-B comparisons of edits and slowing my workflow. I bought the upgrade to 2.0, o

  • How to end user session correctly as sys or system user

    Hi, Database version Oracle 10.2.0.3 We have to end user sessions to update database content. We cant stop/shutdown the instance but we have to assure that some users are not logged on. So we are looking for a solution to end some arbitrary user sess

  • Terminate Portal User Login with JSessionID or MYSAPSSO2 Cookie

    Dear All, I know using Visual Administrator , we can terminate the session. Is it possible for the administrator to terminate a logged in portal user with his/her  JsessionID or MYSAPSSO2 cookie value or User Id programmatically.? Is it possible for

  • My emails are coming in on my ipad but the next time I go in they are gone .  Can i gete them to stay

    My emails are coming in on my ipad but the next time I go in they are gone.  How do I get them to stay