Install Sana inside Microsoft Dynamics 365

Open the wizard "Sana for Microsoft Dynamics 365" to see more information.

Set up Azure Authorization

Step 1: Sign in to Microsoft Azure portal.

Step 2: Select your subscription associated with the LCS project.


If your Azure subscription and Dynamics 365 (Office 365) subscription are in different active directories, for example Azure -, Office 365 -, then you need to associate your Dynamics 365 (Office 365) account with Azure. For more information, read how to associate an existing Azure subscription with your Office 365 account on the Microsoft website.

Step 3: Go to the Active Directory and click on App registrations.

Step 4: Click New application registration at the top of the page.

Step 5: In the Name field, enter any application name. In the Application type field, select Native. In the Redirect URI field, enter any URL. It is used only by native Azure Active Directory applications, but not by Sana. Thus, it can be any valid URL, for example your web store URL.

Step 6: Once the application has been created, click on it and open the Settings page.

Step 7: Open Required permissions. Set up Microsoft Dynamics ERP permissions as shown on the screenshot below.

Step 8: See the Application ID for the Sana application.

This application ID must be entered in the ERP connection settings in Sana Admin. It must be entered in the Extra parameters field in the following format:

clientid=[application ID of the Sana application]

Therefore, send the application ID of the Sana application to the person who is responsible for Sana Commerce installation on Web and database server.