≡ Menu




Deploy and configure Dev/ Test Retail essential environment on Azure Dynamics Ax 2012 R3 Part 1

Dev and test Retail essential is single VM based environment, On which everything need for Retail customization is available.  Yesterday I successfully configured for me. following are some step by step notes for its deployment and configuration.

 

Login in on following link to login in you Lifecycle services for Dynamics. For this you must have partner source or customer source credentials

https://lcs.dynamics.com/Logon/Index?redirectUrl=https%3A%2F%2Flcs.dynamics.com%2F%3Flc%3D1033

Lcs

 

After successful login create a new Project.

 

 

 

For Example I created a new project “Azure On Ax” with following configuration

Create Ax

New Project

Now go on at new Azure based environment a click on this. Here add Guid for you Azure subscription.

New Azure deployment

Click on next button.

4-28-2015 11-42-36 PM

Click on download button to download the certificate and now login in your azure from Azure management portal.

4-28-2015 11-44-33 PM

From setting menu, upload the certificate.

 

sss

 

ss

Now go back to Life cycle services page and click on next button.

4-28-2015 11-42-36 PM

Select location.

4-28-2015 11-49-07 PM

Click on Test / dev environment because we want test and dev environment.

 

4-28-2015 11-49-28 PM

From Advanced menu you can change environment form Dynamics Ax 2012 R3 CU8 to Dynamics AX 2012 R3. By default it will configure the Dynamics Ax 2012 R3.

dev

 

sqq

Wait it to deployment complete.

 

 

When Vm deployed, in Life cycle services you will find user name and password.

Login

I am more Interested in work with axlocalAdmin user so I want to make axlocalAdmin as system administrator ,  You can skip the following step.

If you saw in above picture you find that DynamicsInstallUser is built in user is used to configure the AX.

 

Login with SQL server user in VM and set axlocalAdmin as System Administrator In AX.

Run the PowerShell and run the following command.

 

So create user as log in with following command

 

$AdObj = New-Object System.Security.Principal.NTAccount(“axlocaladmin”)

 

$strSID = $AdObj.Translate([System.Security.Principal.SecurityIdentifier])

 

$strSID.Value

This command return the SID id of axlocalAdmin.

 

Copy the sid id update the following command and open the Dynamics Ax database in SQL server and run the update sql command.

 

update userinfo set

networkdomain = ‘contoso’,

 

networkalias = ‘dynamicAdmin’,

 

name = ‘axlocaladmin’

 

SID = ‘S-1-5-21-602381161-1523875512-907902364-500’

 

where ID = ‘Admin’

 

 

 

 

 

 

 

Now back login in with axlocaladmin

And first step to compile the Dynamics Ax with AX build command. For this

 

Open cmd run as administrator

axbuild.exe xppcompileall /s=01 /altbin=”C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin” /log:”C:\Temp”

axbuild.exe found at following location

 

C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin

Build

 

 

 

When above step is successfully completed.

Open AX and complete the Initialization check list.

4-29-2015 10-29-14 AM

 

When Initialization check list is complete, Again log in with SQL server User and inject the demo data.

 

 

On Ax environment testTransfterTool found following location.

F:\TestTransferTool

 

Demo data files path is as

G:\DemoData

 

Stop the AOS services and run the following command.

 

“dp.exe import D:\DemoData MicrosoftDynamicsAx”

 

 

When data import completed. Login back axloginAdmin

 

And start configuring retail features.

 

Now go to retail sessional area page. If Retail essential area page enabled it. From File => Module=> Retail essentials.

 

Retail Parameters

Retail essentials => channels => retail parameters

Parameters

 

Retail parameter

 

From top menu click on Initialize

4-29-2015 10-55-41 PM

 

 

 

wait until info log show up

4-22-2015 1-03-28 AM

 

Retail subject

 

Retail Scheduler parameters:

 

No click on Data synchronization => setup =>Retail Scheduler parameters

4-29-2015 11-28-12 PM

 

In the next open screen, set following things

  • Server Name
  • Sync meta data button at the top of the form

Enter Sync metadata button and  click on yes to confirm it

 

Sychn

 

 

 

 

 

Real time services profiles setup:

4-30-2015 12-44-44 AM

 

 

Set server name and common name and close the form.

ss222

 

Working folder:

workingFolder

You can set download and upload folder. But as per documentation they are as follow.

And set download and upload folder as per following By default these are something like

C:\DemoFiles\Retail\CDX\Download.

C:\DemoFiles\Retail\CDX\Upload.

 

Paths

 

 

 

 

Now go to setup the Channel database

Retail database

 

 

As per MSDN select Houston and click on Full data Sync and select 9999 and click ok on it.

 

database 9999

 

 

Reference :  https://technet.microsoft.com/EN-US/library/dn798905.aspx

{ 0 comments… add one }

Leave a Comment