
Go to the %ProgramFiles%\Microsoft Azure AD Sync\Data folder and copy the ADSync.mdf and ADSync_log.ldf files to the computer running remote SQL Server. On the Azure AD Connect server, go to Services and stop the Microsoft Azure AD Sync service. Use the following steps to move the Azure AD Connect database to a computer running remote SQL Server: The database will be moved to a SQL Server 2017 server. Azure AD Connect is using the built-in SQL Server 2012 Express Edition for its database. In this scenario, Azure AD Connect version 1.1.819.0 is installed on a single Windows Server 2016 domain controller. You can use the steps described in this article to accomplish this task. This article describes how to move the Azure AD Connect database from the local SQL Server Express server to a computer running remote SQL Server.
