SOLVED
Home

Migrate Exchange Hybrid Server to other domain

%3CLINGO-SUB%20id%3D%22lingo-sub-93773%22%20slang%3D%22en-US%22%3EMigrate%20Exchange%20Hybrid%20Server%20to%20other%20domain%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-93773%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20At%20a%20customer%20we%20have%20migrated%20almost%20all%20of%20the%20mailboxes%20from%20two%20different%20domains%20to%20One%20Office365%20tenant.%20Now%20that%20we%20are%20almost%20done%20we%20are%20looking%20into%20the%20posibilities%20of%20migrating%20the%20Hybrid%20server%20to%20another%20AD%20domain.%20Is%20there%20anyone%20who%20has%20experience%20with%20this%20and%20can%20give%20me%20some%20global%20steps%20or%20recommendations%20on%20how%20to%20do%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECurrently%20we%20have%2010%20Exchange%20Cashub%20servers%20and%201%20Hybrid%20server.%20This%20is%20represented%20in%20domain%20A.%20The%20Users%20are%20in%20Domain%20B%20(our%20new%20AD%20Domain)%20and%20had%20Linked%20mailboxes%20to%20the%20exchange%20environment%20in%20domain%20A.%20All%20the%20mailboxes%20have%20been%20moved%20towards%20Office%20365.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20users%20are%20currently%20synced%20from%20Domain%20(mail%20resource%20domain)%20A%20and%20Domain%20B%20(New%20user%20domain)%20towards%20the%20Office%20365%20tenant.%20I%20hope%20someone%20can%20advise%20me.%20For%20additional%20info%20please%20let%20me%20know%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-93773%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHybrid%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-123239%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20Exchange%20Hybrid%20Server%20to%20other%20domain%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-123239%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20already%20send%20you%20a%20personal%20message.%20I%20don't%20know%20if%20it%20allowed%20but%20i%20have%20worked%20out%20this%20case%20on%20my%20personal%20blog.%20I%20am%20not%20sure%20if%20it%20is%20allowed%20to%20share%20this%20here.%20But%20you%20can%20finde%20the%202%20project%20within%20the%20urls%20bellow.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fjerrymeyer.nl%2F2017%2F10%2F20%2Foffice-365-migrating-azure-ad-connect-new-ad-domain%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20AD%20connect%20migration%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fjerrymeyer.nl%2F2017%2F10%2F23%2Fmigrate-exchange-hybrid-server-another-domain%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EExchange%20Hybrid%20Migration%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20have%20any%20question%20please%20let%20me%20know.%20Also%20feedback%20on%20the%20blogposts%20are%20very%20welcome%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-122715%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20Exchange%20Hybrid%20Server%20to%20other%20domain%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-122715%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Jerry%2C%3C%2FP%3E%3CP%3EI%20am%20soon%20to%20face%20the%20same%20task..%3C%2FP%3E%3CP%3ESo%20we%20have%20an%20on-prem%20server%20and%20all%20users%20are%20remote-mailbox%20users%20(according%20to%20it)%20so%20O365%20online%20users%20and%20they%20are%20sync'd%20from%20domain%20A%20using%20AADSYNC%20currently.%3C%2FP%3E%3CP%3EWe%20probably%20also%20do%20have%20a%20few%20local%20security%20groups%2C%20mail%20contacts%20and%20the%20like%20in%20on-prem%20environment.%3C%2FP%3E%3CP%3EThe%20active%20directory%20domain%2C%20users%20have%20been%20synchronized%20using%20ADMT%20to%20domain%20B%20in%20preparation%20for%20domain%20migration%20(for%20the%20users)%20..%3C%2FP%3E%3CP%3ESo%20now%20I%20have%20to%20plan%20adding%20an%20on-prem%20exchange%20presence%20in%20Domain%20B%20also..%20again%20to%20allow%20for%20management%20of%20certain%20attributes%20that%20Exchange%20online%20doesn't%20make%20easy..%3C%2FP%3E%3CP%3ESo%20I'm%20looking%20for%20a%20fool%20proof%2Fsimple%20!%20way%20to%20do%20this..%20and%20would%20be%20keen%20to%20hear%20of%20any%20difficulties%20you%20had.%3C%2FP%3E%3CP%3EI%20do%20not%20have%20a%20test%20lab..%20and%20so%20must%20tread%20carefully%20in%20this%20task..%3C%2FP%3E%3CP%3Eany%20help%2Fdirection%20would%20be%20wonderful.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-103674%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20Exchange%20Hybrid%20Server%20to%20other%20domain%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-103674%22%20slang%3D%22en-US%22%3E%3CP%3EStatus%20update%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECurrently%20we%20have%20reduced%20our%20Exchange%20farm%20to%20a%20much%20smaller%20environment%20from%2015%20Exchange%20server%20to%202%20exchange%20servers.%20One%20Hybrid%20and%20One%20Cashub.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20now%20testing%20a%20couple%20of%20scenarios%20in%20our%20test%20lab.%26nbsp%3B%20Currently%20we%20have%20a%20succesfull%20move%20but%20it%20takes%20a%20lot%20of%20scripting%20before%20everything%20works.%20For%20instance%20the%20MSexchangerecepientdetails%20needs%20to%20be%20copied%20over%20to%20the%20user%20in%20the%20new%20domain.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20will%20get%20into%20more%20details%20when%20we%20are%20further%20with%20testing%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-95776%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20Exchange%20Hybrid%20Server%20to%20other%20domain%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-95776%22%20slang%3D%22en-US%22%3E%3CP%3EGoedemiddag%20Jerry.%20We%20have%20the%20same%20situation%20at%20a%20customer%20and%20%26nbsp%3Bjust%20posted%20a%20question%20on%20this%20as%20well%20at%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FExchange%2Fdecommision-resource-forest-and-install-Exchange-2016-in-account%2Fm-p%2F95766%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FExchange%2Fdecommision-resource-forest-and-install-Exchange-2016-in-account%2Fm-p%2F95766%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20you%20have%20a%20look%20and%20maybe%20have%20an%20answer%20on%20this%3F%20Thanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-94337%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20Exchange%20Hybrid%20Server%20to%20other%20domain%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-94337%22%20slang%3D%22en-US%22%3E%3CP%3EKeep%20in%20mind%20that%20you%20have%20to%20export%20the%20MailboxGUID%20from%20Exchange%20Online%20to%20your%20migrated%20user%20accounts%26nbsp%3Bin%20domain%20b%20in%20order%20to%20offboard%20users%20(if%20required).%3C%2FP%3E%3CP%3EAnd%2C%20to%20avoid%20downtime%2C%20change%20your%20MX%20and%20Autodiscover%20record%20to%20Office%20365%2C%20migrate%20everything%20to%20domain%20b%2C%20switch%20records%20(if%20required)%20back%20to%20your%20new%20on-premise%20infrastructure.%3C%2FP%3E%3CP%3ETest%20lab%20is%20a%20good%20approch%20%3A)%3C%2Fimg%3E%20Make%20sure%20your%20your%20identities%20will%20be%20matched%20correctly%20and%20everything%20will%20work.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-94241%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20Exchange%20Hybrid%20Server%20to%20other%20domain%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-94241%22%20slang%3D%22en-US%22%3EThanks%20for%20your%20response%20we%20will%20start%20testing%20this%20next%20week%20in%20our%20test%20lab%20%3A)%3C%2Fimg%3E%20i%20will%20keep%20you%20posted.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-94218%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20Exchange%20Hybrid%20Server%20to%20other%20domain%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-94218%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Jerry%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20have%20to%20Setup%20a%20new%20Installation%20of%20Exchange%20Server%20on%20Domain%20B.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAfter%20instalation%20of%20the%20new%20Exchange%20Setup%2C%20you%20have%20to%20Uninstall%20Exchange%20on%20Domain%20A%20and%20then%20Run%20the%20AD%20Connect%20Again%20to%20discover%20the%20new%20Exchange%20and%20after%20that%20changes%20you%20Have%20to%20setup%20a%20new%20Hybrid%20Configuration%20Wizard%20on%20Exchange%20on%20Domain%20B.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-94210%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20Exchange%20Hybrid%20Server%20to%20other%20domain%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-94210%22%20slang%3D%22en-US%22%3E%3CP%3EStatus%20updat%3A%20we%20now%20have%20migrated%20everybody%20over%20to%20Exchange%20online.%3C%2FP%3E%3CP%3ESo%20the%20situation%20now%20is%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAll%20mailboxes%20are%20in%20Office%20365%3C%2FP%3E%3CP%3EUsers%20are%20synced%20from%202%20domains%20(DomainA%20(mailresource%20domain)%20and%20DomainB%20(userresource%20domain).%3C%2FP%3E%3CP%3EThe%20hybrid%20server%20is%20still%20in%20domain%20A.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20question%20now%20is%20can%20we%20and%20how%20do%20we%20move%20the%20Hybrid%20server%20over%20From%20DomainA%20to%20DomainB.%20And%20does%20this%20impact%20our%20AzureAd%20Connect%20which%20is%20syncing%20from%20DomainA%20and%20DomainB%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-94150%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20Exchange%20Hybrid%20Server%20to%20other%20domain%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-94150%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Jerry%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20just%20want%20to%20manage%20the%20users%20in%20Exchange%20Online%20and%20you%20want%20to%20keep%20Exchange%20Hybrid%2C%20you%20have%20to%20keep%20only%20one%20hybrid%20server%20connected%20to%20your%20Office%20365.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20have%20to%20migrate%20the%20rest%20of%20the%20mailboxes%20that%20you%20need%20to%20migrate%20to%20Office%20365%20than%20Install%20other%20Exchange%20on%20the%20other%20domain%20an%20turn%20it%20hybrid.%20Note%3A%20You%20have%20to%20change%20your%20configuration%20of%20your%20AD%20Connect%20to%20acomplish%20that.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-93983%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20Exchange%20Hybrid%20Server%20to%20other%20domain%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-93983%22%20slang%3D%22en-US%22%3EThe%20Hybrid%20server%20will%20only%20be%20used%20to%20manage%20users%20in%20Exchange%20online.%20All%20users%20will%20be%20moved%20to%20Office%20365%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-93980%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20Exchange%20Hybrid%20Server%20to%20other%20domain%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-93980%22%20slang%3D%22en-US%22%3EFrom%20a%20hybrid%20perspective%20-%20do%20you%20plan%20to%20leave%20any%20users%20or%20resources%20in%20Exchange%20on-premises%3F%20Or%20is%20the%20hybrid%20%22server%22%20purely%20for%20GUI%20management%20of%20Exchange%20Online%20users%3F%3C%2FLINGO-BODY%3E
Jerry Meyer
Contributor

Hi, At a customer we have migrated almost all of the mailboxes from two different domains to One Office365 tenant. Now that we are almost done we are looking into the posibilities of migrating the Hybrid server to another AD domain. Is there anyone who has experience with this and can give me some global steps or recommendations on how to do this?

 

Currently we have 10 Exchange Cashub servers and 1 Hybrid server. This is represented in domain A. The Users are in Domain B (our new AD Domain) and had Linked mailboxes to the exchange environment in domain A. All the mailboxes have been moved towards Office 365.

 

The users are currently synced from Domain (mail resource domain) A and Domain B (New user domain) towards the Office 365 tenant. I hope someone can advise me. For additional info please let me know

11 Replies
From a hybrid perspective - do you plan to leave any users or resources in Exchange on-premises? Or is the hybrid "server" purely for GUI management of Exchange Online users?
The Hybrid server will only be used to manage users in Exchange online. All users will be moved to Office 365

Hi Jerry,

 

If you just want to manage the users in Exchange Online and you want to keep Exchange Hybrid, you have to keep only one hybrid server connected to your Office 365.

 

You have to migrate the rest of the mailboxes that you need to migrate to Office 365 than Install other Exchange on the other domain an turn it hybrid. Note: You have to change your configuration of your AD Connect to acomplish that.

Status updat: we now have migrated everybody over to Exchange online.

So the situation now is

 

All mailboxes are in Office 365

Users are synced from 2 domains (DomainA (mailresource domain) and DomainB (userresource domain).

The hybrid server is still in domain A.

 

The question now is can we and how do we move the Hybrid server over From DomainA to DomainB. And does this impact our AzureAd Connect which is syncing from DomainA and DomainB

Solution

Hi Jerry,

 

You have to Setup a new Installation of Exchange Server on Domain B.

 

After instalation of the new Exchange Setup, you have to Uninstall Exchange on Domain A and then Run the AD Connect Again to discover the new Exchange and after that changes you Have to setup a new Hybrid Configuration Wizard on Exchange on Domain B.

Thanks for your response we will start testing this next week in our test lab :) i will keep you posted.

Keep in mind that you have to export the MailboxGUID from Exchange Online to your migrated user accounts in domain b in order to offboard users (if required).

And, to avoid downtime, change your MX and Autodiscover record to Office 365, migrate everything to domain b, switch records (if required) back to your new on-premise infrastructure.

Test lab is a good approch :) Make sure your your identities will be matched correctly and everything will work.

Goedemiddag Jerry. We have the same situation at a customer and  just posted a question on this as well at https://techcommunity.microsoft.com/t5/Exchange/decommision-resource-forest-and-install-Exchange-201...

 

Can you have a look and maybe have an answer on this? Thanks!

Status update,

 

Currently we have reduced our Exchange farm to a much smaller environment from 15 Exchange server to 2 exchange servers. One Hybrid and One Cashub.

 

We are now testing a couple of scenarios in our test lab.  Currently we have a succesfull move but it takes a lot of scripting before everything works. For instance the MSexchangerecepientdetails needs to be copied over to the user in the new domain.

 

I will get into more details when we are further with testing

Hi Jerry,

I am soon to face the same task..

So we have an on-prem server and all users are remote-mailbox users (according to it) so O365 online users and they are sync'd from domain A using AADSYNC currently.

We probably also do have a few local security groups, mail contacts and the like in on-prem environment.

The active directory domain, users have been synchronized using ADMT to domain B in preparation for domain migration (for the users) ..

So now I have to plan adding an on-prem exchange presence in Domain B also.. again to allow for management of certain attributes that Exchange online doesn't make easy..

So I'm looking for a fool proof/simple ! way to do this.. and would be keen to hear of any difficulties you had.

I do not have a test lab.. and so must tread carefully in this task..

any help/direction would be wonderful.

 

 

 

I have already send you a personal message. I don't know if it allowed but i have worked out this case on my personal blog. I am not sure if it is allowed to share this here. But you can finde the 2 project within the urls bellow.

 

Azure AD connect migration

 

Exchange Hybrid Migration

 

If you have any question please let me know. Also feedback on the blogposts are very welcome :)

Related Conversations