Dynamics 365 for finance and operations database synchronization using command line

You can either execute the script for cloud-hosted, onebox VHD, or UAT (Azure DB) environment.Open PowerShell, run following scriptK:\AOSService\webroot\bin\Microsoft.Dynamics.AX.Deployment.Setup.e...

You can either execute the script for cloud-hosted, onebox VHD, or UAT (Azure DB) environment. Open PowerShell, run following script

K:\AOSService\webroot\bin\Microsoft.Dynamics.AX.Deployment.Setup.exe -bindir "K:\AosService\PackagesLocalDirectory" metadatadir "K:\AosService\PackagesLocalDirectory" -sqluser "axdbadmin" -sqlserver "." -sqldatabase "AxDB" -setupmode "sync" -syncmode "fullall" -isazuresql "false" -sqlpwd "************"

AX DB user you can get from LCS, if you want to sync Azure DB please change -isazuresql to True