Powershell and EAC still connects to old servers after migration

Michael Eriksson 126 Reputation points
2021-03-25T15:08:15.49+00:00

I just mygrated from Exchange 2013 to Exchange 2019 and everything went well. But one thing starts to annoy me. When I use EMS and/or EAC it still connects to the Exchange 2013 environment and the server on which my admin account "lived" before the migration.

I tried to logout and restart the computer from which I run the EMS from, I deleted the C:\Users\username\AppData\Roaming\Microsoft\Exchange\RemotePowerShell folder. I searched through the registry. Restarted the two powershell application pools on the old Exchange 2013 server etc...But no luck.

Anyone got Ideas?

Regards

Michael

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
6,098 questions
No comments
{count} votes

Accepted answer
  1. Andy David - MVP 110.4K Reputation points Microsoft MVP
    2021-03-25T15:41:54.097+00:00

    What does the connection string look like that you are using to connect? Did you update to point to the 2019 servers?

    I assume you moved all the arbitration mailboxes to 2019 as well.


1 additional answer

Sort by: Most helpful
  1. Kael Yao-MSFT 21,916 Reputation points Microsoft Employee
    2021-03-26T05:44:46.787+00:00

    Hi, Michael.

    To change the server EMS connects to, please follow these steps:

    1. locate the path of EMS, by default it should be like C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Exchange Server 2019
    2. right click on "Exchange Management Shell" and select "Properties"
    3. in "Target", change the "Connect-ExchangeServer -auto" part to "Connect-ExchangeServer <FQDN of Exchange 2019 server>"
      81765-03.png

    Launch EMS and check if it connects to the Exchange 2019 server instead of the Exchange 2013 server.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    No comments