Update Dynamics 365 Finance & Operations VM
Updating the Dynamics 365 Finance & Operations is straight-forward. In this post I’ll discuss how to update a local development VM.
The whole process last 10 minutes to run and execute the scripts, but the update itself may take several hours.
The full documentation can be found here: https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/deployment/install-deployable-package
Download the update files
Login to LCS and download the update files.
Go to Shared Asset Library > Software Deployable Package
Download the latest platform files. Here the latest file is Service Update – Version 10.0.0.9 with Platform update 33.
Before extracting the .zip file, ensure that you are unblocking the zip file contents. This will ensure that there are no security access issues.
The second step is to rename the file. When extracting the contents you may end up with errors stating the file path is too long. Rename the file to something simple like “update“.
Update and Run Scripts
The first step is to update the DefaultTopologyData.xml file. You will need to add the local machine name.
The VM that I was using was called MININT-F36S5EH.
Run the command:
AXUpdateInstaller.exe list > listcomponents.txt
This will save a file called listcomponents.txt that will output all the components running on the platform.
Update the DefaultTopologyData.xml so that the file looks as follows, adding in the list components from the previous step.
Note that on my VM, I did not have Reporting Service installed, therefore I removed the line <string>ReportingService</string>.
Run the following commands as Administrator:
Generate the runbook
AXUpdateInstaller.exe generate -runbookid="LocalDev-runbook" -topologyfile="DefaultTopologyData.xml" -servicemodelfile="DefaultServiceModelData.xml" -runbookfile="LocalDev-runbook.xml"
Import the runbook file
AXUpdateInstaller.exe import -runbookfile="LocalDev-runbook.xml"
Verify the runbook file
Execute the runbook
AXUpdateInstaller.exe execute -runbookid="LocalDev-runbook"
This step will take several hours.
List new installed components
AXUpdateInstaller.exe list > listcomponentsupdated.txt
Verify if the update has taken place by comparing the listcomponents.txt with the listcomponentsupdated.txt file.