DirSync is a short form of Windows Azure Active Directory Synchronization Tool. It allows admin to synchronize their accounts from the internal Active Directory out to the Windows Azure Active Directory that Microsoft office365 uses.
DirSync Runs in every 3 hours to push the changes from On-Premises directory to the cloud.
DirSync only goes in one way from On-Premises to Cloud. If an admin wants to create a new user on the Azure Active Directory tenant, that user would live only in the cloud and would never go down to the on-premises directory.
Active Directory – Contains our User Object, Group-Object that we want to replicate Over.
DirSync:- It Retrieves from an AD and it Pushes Out to Office 365
Office365:- Now office 365 Receives the Accounts, puts them in. The main thing it is not License the Accounts.
For Licenses we have to do our self or Automate the Process, It’s good – Sometimes we put the user in the active directory it doesn’t mean we need the license on them
In the Next Articles, We will show you how to install prerequisites and Install DirSyn.
Preparing and Installing prerequisites for DirSync – Office365
These are the list of things we need to install and configure before DirSync
These are the primary thing we need to make life easy for us.
Now I will show you how to install these all things.
Right now I am on DirSync Server. This is windows 2012 R2 Server. We will make sure that the pieces we need are installed there, and we have the permissions we need.
Open Server Manager, click manage then open Add Roles and Features
Now click Next and Move on to Installation Type – We need Feature so click Role-based or Feature-based installation.
Now click next
Select Our server from the server and make sure that it’s our server
Now click next
From Features open .net 3.5 and 4.5 feature tree
And make sure that both .net 3.5 and 4.5 frameworks checked and installed
Now Click install.
After that close this and open users and Groups.
Click on Administrators
DirSync Installation Process on a dedicated server for directory synchronization from on-premise to Office 365.
In the previous article, I have explained DirSync prerequisites, and now I am going to explain the DirSync Installation Process.
DirSync components – When we will install DirSync it will install the following components:-
Forefront Identity Manager(FIM):- FIM replicates information from On-premise to Cloud-based windows Azure Active Directory for office 365 which means everything that comes with it – services, local groups, security groups it will sync all of these from On-Premise to Online.
SQL Server 2012 Components:-
Why we have SQL server?
FIM – the whole management system, when it goes and grab information it needs a location to store it because of which SQL server 2012 components are required.
SQL Server 2008 Setup:- FIM uses only setup files from SQL server 2008.
DirSync Installation Process
Step1:-Open Office 365 Admin Center and then click on Active Users then click on Active Directory Synchronization Setup.
Now when you click on setup, it will take you to the next page as shown below.
Step2:- Now you have to click on activate button to Activate the Active Directory Synchronization.
After Activation, it will take you to below page.
Step3:- Click Download to Install and Configure the DirSync Tool.
Make sure to install it as an Administrator.
Step4:-Click Finish to complete the installation.
Now Open Control panel to make sure whether DirSync has installed or not.
As you will see ton of different programs installed here – FIM, Microsoft Online Service Sign-on Assistant, SQL Server 2012 and SQL Server 2008 Setup files, SQL Browser, c++, Windows Azure Directory Sync Tool and most Important is FIM.
Now if you Open Users and Groups, you will see FIMSyncAdmins group. You have to be a member of this Admin group to work on DirSync Server.
You need to be FIMSyncAdmin to be able to run it, Now next step is just Signout and lets sign in and that way it will recognize that you are FIMSyncAdmin.