[D365FO] Retail - Retail tenant installation/update guide after database restore

Retail tenant installation/update guide after database restore

  1. Download the latest service update file from LCS.

  2. Modify the exiting DefaultTopologyData.xml in the service update folder. Include missing retail service model list in the XML file as shown below. For more info, you may refer to below link: https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/deployment/install-deployable-package#collect-topology-configuration-data

<ServiceModelList>
        <string>AOSService</string>
        <string>DevToolsService</string>
	<string>ALMService</string>
	<string>DIXFService</string>
	<string>MROneBox</string>
	<string>PayrollTaxModule</string>
	<string>PerfSDK</string>
	<string>ReportingService</string>
	<string>RetailCloudPOs</string>
	<string>RetailHQConfiguration</string>
	<string>RetailSDK</string>
	<string>RetailServer</string>
	<string>RetailStorefront</string>
  </ServiceModelList>
  1. Before run the service update, kindly ensure below database schema and roles are NOT exist in D365FO database.

    Schema:
    * cdx
    * ax
    
    Database Roles:
    * DeployExtensibilityRole
    * DataSyncUsersRole
    * db_executor
    * PublishersRole
    * ReportUsersRole
    * UsersRole
    

    Note: Press F9 Object explorer details screen on Microsoft SQL Studio to check the above scheme and roles.

  2. Run the following commands in command prompt. Change the directory and navigate the service update folder.

    Example: CD C:\Temp\FinanceAndOperations_10.0.886.48_Application>

    AXUpdateInstaller.exe generate -runbookid="dev-runbook" -topologyfile="DefaultTopologyData.xml" -servicemodelfile="DefaultServiceModelData.xml" -runbookfile="dev-runbook.xml"
    
    AXUpdateInstaller.exe import -runbookfile="dev-runbook.xml"
    
    AXUpdateInstaller.exe execute -runbookid="dev-runbook"
    
  3. Once D365FO service update successfully, please verify and ensure the database schema ax tables created in D365FO database

  4. Next run RetailTenantUpdateTool.ps1 in command prompt

    CD C:\Windows\System32\WindowsPowerShell\v1.0
    
    PowerShell.exe -File C:\RetailSDK\Tools\RetailTenantUpdateTool.ps1
    
  5. Next, setup the CPOS/MPOS in D365FO.

Was this article helpful? Votes: 0
Article details:
Published date: 12/08/2021 3:16PM
Last updated: 13/08/2021 9:04AM (LS Mark)
Share article: 
Author: steven.chan@daxonet.com
Permalink: https://doc.daxonet.com/kb/697371