InstallationInstall Sana inside Microsoft Dynamics 365

Install Sana inside Microsoft Dynamics 365

Import Sana License

To import the Sana license into the target Microsoft Dynamics 365 environment:

Step 1: Execute the following command. First, specify the necessary parameters.

Microsoft.Dynamics.AX.Deployment.Setup.exe --setupmode importlicensefile --metadatadir j:\aosservice\packageslocaldirectory --bindir j:\aosservice\packageslocaldirectory --licensefilename c:\temp\license.txt --sqlserver . --sqldatabase axdb --sqluser axdbadmin --sqlpwd
Parameter Description
-metadatadir Use this parameter to specify the metadata directory. You should use the default packages directory.
-bindir Use this parameter to specify the binaries directory. You should use the default packages directory.
-sqluser Use this parameter to specify the SQL Server user. You should pass in AOSUser.
-sqlpwd Use this parameter to specify the SQL Server password.
-licensefilename Use this parameter to specify the license file that will be loaded.

 NOTE

The file "Microsoft.Dynamics.AX.Deployment.Setup.exe" is located in the "Bin" folder of the metadata directory, usually here: j:\AosService\PackagesLocalDirectory\Bin. You can check the SQL server user and password in your LCS project, in the deployed environment section.

Step 2: Start database synchronization from Microsoft Visual Studio.

Step 3: After successful database synchronization, refresh the home page of your Dynamics 365 environment. You should now see the Webshop module of the Sana Commerce solution.


 NOTE

On the production environment, you must install the Sana license from Microsoft Dynamics Lifecycle Services (LCS), using the deployable Sana package. Before applying the deployable Sana package, put the Sana license to the deployable package (c:\AOSService\Scripts\License). Create the "License" folder at the following location: c:\AOSService\Scripts\, and add the license file to the "License" folder.

InstallationInstall Sana inside Microsoft Dynamics 365