rss feed email us
show/hide menu

effectual IT

effectual

Install Microsoft Online Services Directory Synchronization Tool (dirsync.exe) using a separate SQL server

shaun molnar on December 8th, 2011 with 0 Comments »

If you want to take advantage of an existing SQL server to install the Directory Sync tool like me here are the steps involved:

Install Microsoft Online Services Directory Syncroization Tool (dirsync.exe) using a separate SQL server

Download the x64 version of dirsync.exe from https://portal.microsoftonline.com

To download the updated version, go to your Office 365 administration portal and go to the User Management section\Active Directory synchronization and click Setup.

Open a command prompt with elevated privilages

Run dirsync.exe /fullsql

Click Next.

Select I accept.

Click Next.

Click Next.

Click Next.

Click Finish.

Launch the following file as an administrator:

C:\Program Files\Microsoft Online Directory Sync\DirSyncInstallShell.psc1

From the shell, type in the following command:

Install-OnlineCoexistenceTool –UseSQLServer –SQLServer <SQLSERVERNAME> -ServiceCredential (Get-Credential) –verbose

When prompted for your credentials, enter an Office 365 admin account.

Close the Shell.

Log off, then log back on.

Launch Directory Sync Configuration from the desktop shortcut.

Click Next.

Enter your Microsoft Online Services Administrator Credentials.

Click Next.

Enter your Active Directory Enterprise Administrator Credentials.

Click Next.

Check – Enable Exchange hybrid deployment

Click Next.

Click Next.

Click Finish.