Recently, I had to configure with the Active Directory (AD) guy of our organisation the DirSync tool to sync the on-premises user attributes to the cloud. The Windows Azure Active Directory team regularly updates the DirSync client with new features and functionality. Not all additions are applicable to all audiences.
On each blogpost that you can find on the Internet has the same PowerShell commands to kick off a Directory Synchronization:
- Open PowerShell
- Add-PSSnapin Coexistence-Configuration
More in detail
At the Windows PowerShell prompt, one of the following cmdlets are necessary:
Install-OnlineCoexistenceTool -UseSQLServer -Verbose
- To install the Directory Synchronization tool on the same server that has SQL Server 2008 Express
Install-OnlineCoexistenceTool -UseSQLServer -SqlServer <SQLServerName> -ServiceCredential (Get-Credential) –Verbose
- To install the Directory Synchronization tool by using a remote installation of SQL Server 2008 Express
Install-OnlineCoexistenceTool -UseSQLServer -SqlServer <SQLServerName> -ServiceCredential (Get-Credential) -SqlServerInstance <SqlInstanceName>
- To install the Directory Synchronization tool by specifying the installation of SQL Server, add the “-SqlServerInstance” parameter.
Well, this is not true anymore. Since the 6268.0000 version, relased on 6/5/2014 this way has changed.
Be aware! The new way now is
Install-OnlineCoexistenceTool -UseSQLServer –SqlServer <ServerName> -Upgrade -Verbose -ServiceCredential (Get-Credential)
Please check this TN Wiki page to see all the changes on the Directory Synchronization tool: http://social.technet.microsoft.com/wiki/contents/articles/18429.microsoft-azure-active-directory-sync-tool-version-release-history.aspx