Share via

Wanted to upgrade exchange server from 2010sp2 to 2019

jadav Suresh 0 Reputation points
2026-01-06T10:48:10.6133333+00:00

I have code implemented for 2010sp2 used to connect with customer inbox using hosted url and basic credentials like user name and password.

Now as support for this version ended, wanted to migrate or upgrade to new latest version 2019 on-premise version or cloud hosted version. so wanted to know the process that changes needed at code level and what customer has to do at their end?

Exchange | Exchange Server | Other
Exchange | Exchange Server | Other

A robust email, calendaring, and collaboration platform developed by Microsoft, designed for enterprise-level communication and data management.Miscellaneous topics that do not fit into specific categories.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Kudos-Ng 15,050 Reputation points Microsoft External Staff Moderator
    2026-01-06T14:41:08.82+00:00

    Hi jadav Suresh,

    Thank you for posting your question in the Microsoft Q&A forum.

    Based on your description (“hosted URL” + “basic credentials” to connect to a customer inbox), could you please confirm whether the hosted URL you’re using is an EWS endpoint (for example, a URL ending with /EWS/Exchange.asmx)? This is important because the required code and configuration changes depend heavily on the protocol and authentication method you’re using.

    Given that Exchange Server 2010 is out of support, you mentioned you are considering either moving to a newer on‑premises version or moving to Exchange Online (cloud hosted). From a “code change” perspective, there are two common scenarios:

    • If you choose to migrate to Exchange Server 2019 (on‑premises), please note that Exchange Server 2019 has reached end of support on October 14, 2025, so the longer-term on‑premises direction is now Exchange Server Subscription Edition (Exchange SE) rather than starting new on 2019. In addition, there is no direct migration path from Exchange 2010 to Exchange 2019. The commonly referenced guidance is a “double hop” approach (2010 > 2016 > 2019). If you are currently on Exchange 2010 SP2, there is also a prerequisite in this readiness checks before you can introduce Exchange 2016 into the organization: all Exchange 2010 servers must be upgraded to Exchange 2010 SP3 + RU11 (or later) for coexistence with Exchange 2016.
      For your application, if it is truly using EWS with Basic authentication against on‑premises Exchange, then in many environments EWS and Basic authentication can still exist on-premises, so you may not need immediate code changes purely for credentials (subject to your customer’s security policy). Your main work in this scenario is likely to be endpoint/namespace updates, certificate/TLS considerations, and validating authentication settings as you move to the new servers. For deployment and upgrade considerations, you can check these references:
    • If you choose the more future-facing option and migrate to Exchange Online (cloud hosted), then Basic authentication is now disabled in all tenants and cannot be re-enabled. This impacts EWS, Autodiscover, POP/IMAP, and other protocols that previously allowed Basic auth. In this case, you should expect code changes at the authentication layer at minimum. Microsoft also recommends that applications accessing Exchange Online via legacy EWS move toward Microsoft Graph (modern OAuth-based access, more granular permissions). For the tenant/mailbox migration planning itself (separate from the app code), these Exchange Online admin references can help you choose the best migration approach and execute it:

    I hope these references help you. If you have any further questions, please feel free to share.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    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.

    Was this answer helpful?


  2. AI answer

    2026-01-06T10:48:21.2+00:00

    To upgrade from Exchange Server 2010 SP2 to Exchange Server 2019, you will need to follow a structured migration process as direct upgrades from 2010 to 2019 are not supported. Here are the steps you should consider:

    1. Plan the Upgrade Path: You will need to first upgrade to Exchange Server 2013 or 2016 before moving to Exchange Server 2019. This means you will have to set up a new Exchange Server 2013 or 2016 instance, migrate mailboxes and data, and then proceed to upgrade to Exchange 2019.
    2. Prepare the Environment: Ensure that your current environment meets the prerequisites for Exchange 2019. This includes hardware requirements, software prerequisites, and ensuring that Active Directory is prepared for the new version.
    3. Migrate Mailboxes: After setting up Exchange 2013 or 2016, you can begin migrating mailboxes from Exchange 2010 to the new server. Use the Exchange Management Shell or the Exchange Admin Center to facilitate this process.
    4. Upgrade to Exchange 2019: Once all mailboxes are migrated to Exchange 2016 or 2013, you can then install Exchange Server 2019 on a new server or perform an in-place upgrade if you are using Exchange 2016.
    5. Update Code: At the code level, you will need to ensure that your application is compatible with the APIs and protocols supported by Exchange 2019. This may involve updating any references to deprecated APIs and ensuring that your authentication method (basic credentials) is still supported. Exchange 2019 supports modern authentication methods, so consider updating your code to use OAuth if applicable.
    6. Customer Actions: Customers will need to ensure that their email clients and any integrations are compatible with Exchange 2019. They may also need to update their configurations to point to the new server URLs and ensure that any necessary firewall or security settings are adjusted to allow access to the new Exchange server.

    It's recommended to consult the official Microsoft documentation for detailed steps and best practices for each phase of the upgrade process.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.