Removing on-prem Exchange 2013

Bob Pants 256 Reputation points
2024-06-12T06:28:36.4966667+00:00

We have an old Exchange 2013 server still hanging around which I want to get rid of. We have migrated all mailboxes to EXO years ago and all the public MX records point to our in-line mail filter. There's still a fair few DG left that haven't been migrated yet. - Outside of management which we can do with PS, do these still depend on the CAS server being up at all?. It has not been used for SMTP relay for many years either.

What are the minimum steps I need to do to get rid of this CAS box with the least likelihood of breaking things? Note, we still have on-prem AD and sync local AD to MSO via Azure AD Connect. I've also installed the Ex2019 PS tools on another server if they are needed to manage anything left.

Theres a lot of lengthy articles than can be complex and they don't always say the same things. I wasn't intending to "uninstall" Exchange, I am just going to switch it off and make it disappear so the Schema attributes aren't removed.

Some steps I think would be

  • Remove-HybridConfiguration
  • Get-IntraOrganizationConnector (returns no result)
  • Outodiscover already points to outlook.office365.com for Outlook clients. Idc about the internal config since I'm turning it off
  • Delete the send/receive connectors in EXO

Is there a dummies guide to the required steps?

Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
2,140 questions
0 comments No comments
{count} votes

Accepted answer
  1. Bruce Jing-MSFT 5,870 Reputation points Microsoft Vendor
    2024-06-12T07:37:28.5+00:00

    Hi,@Bob Pants

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

    Based on your questions, I will answer them in turn.

    1. Some DGs have not yet been migrated, in addition to being manageable via PS, do these still rely on the CAS server being up and running?

    DG is just a user group that you can fully manage using PowerShell. This process does not rely on the CAS server.

    Based on your current environment, it is recommended that you delete the on-pre DG and then recreate the DG in Exchange Online.

    2. Is there any documentation on deactivating Exchange Sever?

    According to your situation, I checked the official documentation and found that the steps you provided are very correct.

    A screenshot of a computerDescription automatically generated

    To deactivate the Exchange server, refer to this URL: How and when to decommission your on-premises Exchange servers in a hybrid deployment | Microsoft Learn

    If my answer is helpful to you, please mark it as the answer so that other users can refer to it. Thank you for your support and understanding.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Bob Pants 256 Reputation points
    2024-07-12T05:34:02.58+00:00

    Can I clarify this point which is at the bottom of the linked article.

    How and when to decommission your on-premises Exchange servers in a hybrid deployment | Microsoft Learn

    "if you maintain identity synchronization from Active Directory, you'll need to continue to maintain at least one Exchange server on-premises."

    I see a lot of conflicting info about this. Some articles say you can remove the last Exchange server some say you can't. Which is it?

    As stated before, we still run an on-premise AD and run AAD sync and will for the foreseeable future. And I've installed the Exchange PS tools on another server in case something needs to be managed on-prem. We are already doing all of our new user and mailbox setup via PS.

    Our only local Exchange server has been turned off for a month now. why do I need to keep it?

    0 comments No comments

Your answer

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