26 Apr’17

Dynamics 365, EnterpriseDeploy Package in Dynamics 365 Operations Environment

In this blog article, we will see how we can deploy package in Dynamics 365 Operations. This Package can be any latest update, hotfix or deployment package you have created.

Prerequisites:

  • LCS login
  • VM Instance

Steps:

1. Download, Extract and Unblock Package
2. Update topology configuration data
3. Generate a runbook from the topology
4. Execute runbook

Download, Extract and Unblock Package
a. Login to LCS and download the Zip file of Deployable Package.
b. After downloading, go to downloaded Zip file properties and select unblock.
c. Extract the Zip file to a non–user folder.

Update topology configuration data
a. Go to extracted folder and open the file “DefaultTopologyData.xml”
b. Populate the file with VM name.
  i. Go to This PC -> Properties. Find the name of the machine.
  ii. Update the VM name with the machine name in the file.
c. Populate the file with installed components
  i. Open a command prompt as an administrator.
  ii. Run the command from extracted folder path to see a list of all installed components on the computer.

  iii. Update the file with a list of components.

3. Generate a runbook from the topology
a. Run the command to generate a runbook.

AXUpdateInstaller.exe generate -runbookid=[runbookID] -topologyfile=[topologyFile] -servicemodelfile=[serviceModelFile] -runbookfile=[runbookFile]

Example:

b. Runbook will contain instructions in sequential steps to deploy the package.

4. Execute Runbook
a. Import the runbook.

AXUpdateInstaller.exe import -runbookfile=[runbookFile]

Example:

b. Verify the runbook.

c. Execute the runbook.

AXUpdateInstaller.exe execute -runbookid=[runbookID]

Example:

d. Export the runbook.

Export the runbook for future reference, you can use it to refer the steps, time to execute each step and logs for each step.

UpdateInstaller.exe export -runbookid=[runbookID] -runbookfile=[runbookFile]

Example:

Written by

Sohagani Shah

ERP Developer

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.

Want to streamline your business processes?

  • This field is for validation purposes and should be left unchanged.

Recent Articles

  • Reading more then 10K records in D3FOE OData API

    11 July’ 2018

    Introduction: We all know Dynamics 365 Finance and Operations has limitation of 10K records to be fetched at a time usi...

    Read more
  • Paging in D365 Customer Engagement v9.0

    10 July’ 2018

    Introduction: The Xrm.retrieveMultipleRecords method is used to retrieve a collection of records in Dynamics 365 Custom...

    Read more
  • Set up Dynamics 365 connection in Microsoft Social Engagement

    10 July’ 2018

    Introduction: This blog explains how to Set up Dynamics 365 connection in Microsoft Social Engagement. Steps to be follo...

    Read more
  • Voice of the Customer failed to install

    10 July’ 2018

    Introduction: Many people face issues in installing Voice of Customer solution on v9 environment and trying repeatedly ...

    Read more
  • Scribe Insight AX as a Web Service Find Block issue

    10 July’ 2018

    Introduction: If we need to look up for any value from AX then we do it by using a Find Block in Scribe Insight Eg: Basi...

    Read more