Azure server - Premises domain - Office 365 DirSync

I was asked to do the following.
1. Set up an Azure server and join it to the on Premises domain.  
2. Install the Active Directory Synchronization tool in Office 365
3. configure DirSync
4. synchronize Microsoft 365 to the on premises domain controller using the Azure server as the go between.
I have never done this before and was wondering if anyone can help me know how to proceed.

There is a concern that since the Premises server is created first and then Microsoft 365 the existing mailboxes will be wiped out.

Is that a possibility or is there a better way to go about doing this task?
Who is Participating?
Cliff GaliherConnect With a Mentor Commented:
I've done this. Nothing particularly complicated. If you get stuck at a step, just let us know.

As far as wiping out mailboxes, dirsync is not destructive to accounts. Azure will attempt a soft match. If that succeeds then data is retained, if ansoft match fails. Either the sync for that account will fail reporting a conflict or a new account will be created and the old one left untouched... depending on the attributes, etc. Either way, no O365 account is destroyed.
kw66722Author Commented:
Do you have a link I can use for the steps?
Cliff GaliherCommented:
To my knowledge, no such thing exists. Like any large solution, it is being built from multiple parts. You can easily find walkthroughs on creating an Azure VM. Or a site to site VPN into azure. Or hoe to configure dirsync on a server.

Just take your steps, search for and act on each one, and move on to the next. If you are looking for a monolithic document that covers your exact scenario, topology, and layout, you might be asking for a bit much. There are just too many potential combinations to make such documents common or practical.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.