Sign up for Office 365
Learn more about Office 365
By John Speare, Senior Technical Writer, Microsoft
This post describes how to install the Microsoft Online Services Directory Synchronization tool for Microsoft Office 365 onto a computer that is running SQL Server 2008.
By default, the Directory Synchronization tool in Office 365 comes with Microsoft SQL Server 2008 Express. SQL Server 2008 Express has size limitations which you should consider if you have a large organization.
We recommend running directory synchronization on a full installation of SQL Server 2008 if you will be synchronizing more than 50,000 objects. To determine how many objects your organization will be synchronizing, run the Microsoft Office 365 Deployment Readiness Tool.
If you determine that running the Directory Synchronization tool on a full installation of SQL Server is a requirement for your organization, follow the steps in this post. Otherwise, install the default version of the Directory Synchronization tool by following the guidance here.
The administrative credentials that are used to perform this installation must have rights within SQL Server to create the directory synchronization database.
See the help topic, Synchronize your directories.
-ServiceCredential <PSCredential> Credential to be assigned to the Forefront Identity Manager Synchronization service. When this parameter is not specified, an MIIS_Service account will be created on the local machine. The credential is also used by the Microsoft Online Services Directory Synchronization Service.
-UseSQLServer This flag causes the install to skip installation of SQL Express. Use this flag with one or both of the following parameters: SqlServer, SqlServerInstance.
-InstallPath <String> Optional parameter to specify the path to the folder that contains the files to be installed. These files include the SQL Express Setup program, SQLEXPR32_x86_ENU.exe, and the Microsoft Identity Integration Server.msi and DirectorySync.msi files.
-SqlServerInstance <String> The name of the SQL Instance that Forefront Identity Manager will use.
-SqlServer <String> The name of the server that is hosting SQL for Forefront Identity Manager .
I found out that to use a Remote SQL server for your Directory Synchronization there is an additional step that is REQUIRED, otherwise DirSync will NOT be able to connect, create the DirSync DB and properly perform its function.
Can you add the following to your above material:
Before beginning the installation process you will need to download and install the latest SQL version X client onto the DirSync machine. This is required in order for DirSync to properly connect to remote SQL server, create the database, set the proper permissions etc.
Bing Search for SQL Native Client: www.bing.com/search
1. As administrator, open a command prompt, and then navigate to the directory where you saved the installation program.
2. At the command prompt, enter dirsync /fullsql.
If you are using the default instance of your SQL Server, DO NOT use the SQLServerInstance verb.