Steps to follow while reinstalling Server OS & then installing Office 365/AD sync

What steps should be followed to properly decommission the Server 2016 AD/Office 365 sync before the Server 2016 Datacenter OS is reinstalled?

The Server 2016 Datacenter OS will be reinstalled but the organization's AD infrastructure will be preserved since we will reimport the Server 2016 Hyper-V virtual servers to fully restore the AD infrastructure and database.

I just want to make sure that and find out if there are any other things that need to be done before reinstalling the Server 2016 Datacenter OS Hyper-V base OS, adding the Hyper-V base OS and other servers back to Active Directory, and then reinstalling the Server 2016 AD/Office 365 sync utility.

What steps should be followed during this process?
IT GuyNetwork EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Cliff GaliherCommented:
You seem to be sending mixed signals. If yous re importing VMs then you aren't reinstalling AD nor AADConnect. If you are installing those  that would imply that you aren't importing existing VMs with those already configured.
IT GuyNetwork EngineerAuthor Commented:
Sorry for the delay in following up on this.

The current environment has Server 2016 Active directory running on a Hyper-V base server and this is where the Office 365 AD sync program is installed.

This Hyper-V base OS is corrupted and will be completely reinstalled. However, it is still bootable and is fully accessible.

The Hyper-V role will be enabled on this server and then an existing Server 2016 Active Directory Hyper-V virtual server will be reimported and the Hyper-V base server will be joined back to the Active Directory domain.

Then we will be reinstalling the Office 365 AD sync program.

I'm just wondering if there are any steps or methods to do this gracefully that will minimize the number of problems or fixes that need to be applied once the Hyper-V virtual server/Active Directory environment is restored.

I don't want to wind up with any duplicated entries or problems that can be avoided within either Active Directory or Office 365.
Cliff GaliherCommented:
Hyper-V servers should only ever be Hyper-V servers.  Full stop.  Don't install AADConnect on it.  Don't re-install AADConnect on it.  Just.  Don't.

Make a backup.  Of the host.  Of the guest.  Don't skip this.

If you can still access the guest and it is healthy, migrate AADConnect before you do anything else (except the backups, of course, they come first.)

Its very straightforward and safe.

Then shut down the VM.  Don't take snapshots.  Never snapshot a domain controller.
Export the VM.

Wipe and install your host.  This will be very fast.

Import your VM.

Done.  Celebrate.  Be happy.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
IT GuyNetwork EngineerAuthor Commented:
That is what I'm going to do.

In the new configuration, the Office 365/AD connector will be installed on a Hyper-V virtual AD server and not on the base server.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2016

From novice to tech pro — start learning today.