/ Microsoft / Apply platform update to D365FO VM

Apply platform update to D365FO VM

Learn, share and spread knowledge

Few days ago, I have updated two local development environments (VMs) that are not connected to LCS. I have decided to share the knowledge with my community members. So, to apply platform update to D365FO VM, follow my this tutorial.

The table below shows the before and after updating product and platform versions which I have updated:

Before updating After updating
Product Version Platform Version Product Version Platform Version
8.0 Platform Update 15 8.1 Platform Update 20
8.1 Platform Update 20 8.1 Platform Update 23

First of all you need to download the platform update package from LCS. For this, follow these steps:

  • Sign in to your LCS account,
  • Go to the Shared Asset Library.
  • Find out the update you want to do.
  • Before downloading, please read the details about the package
    • Select the package.
    • Details about the package will be shown on the right side of your screen.
  • If you are comfortable with the details, start downloading the package.
  • After downloading it, copy it to the D365FO VM.
  • Extract the compressed folder
  • Paste it in a folder in C drive of VM and as near as to the AOS folder.

After successfully completing the above steps, now do the following:

  1. Run command prompt (CMD) as administrator
  2. Go into the package folder (uncompressed) through CMD
  3. Now run the following commands in the same order:
    • Step 1: AXUpdateInstaller.exe list
    • Step 2: As per Microsoft, you need to add four components in DefaultTopologyData.xml file withing the ServiceModelList tags. See the code below:
  • Note: As per Nikolaos Mäenpää, a very senior MS D365FO Consultant, he says that we need to add following components in ServiceModelList tag in DefaultTopologyData.xml file. These components are as follows:
  • Step 3: AXUpdateInstaller.exe generate -runbookid=”8.1.3PU23″ -topologyfile=”DefaultTopologyData.xml” -servicemodelfile=”DefaultServiceModelData.xml” -runbookfile=”8.1.3PU23.xml”
  • Step 4: AXUpdateInstaller.exe import -runbookfile=8.1.3PU23.xml
  • Step 5: AXUpdateInstaller.exe execute -runbookid=8.1.3PU23
  • Step 6: AXUpdateInstaller.exe list

Note: RunBookId and RunBookFile names can be any name. I have used the name 8.1.3PU23 because I am updating to 8.1.3PU23. It is just to remember. But you can use any name. And the commands would be changed accordingly.

For example, if you use the RunBookId as MoeenPU24, then the RunBookFile would be as MoeenPU24.xml. So, you have to use them in the commands.

Moreover, where the double inverted commas are written, you have to write them and where they are not written you don’t have to write them.

Remember that when you execute the command written in Step 4, it will take some time to upgrade and sync. After executing Step 4, be patient and relax.

Once all the steps are completed successfully. Now, you are good to run the D365FO in the browser. Check the version from the About page in D365FO.

I hope, this article helps you to apply platform update to D365FO VM. If you have any question or found any ambiguity. Please let me know.

If this helps you, please like, comment and share to help others as well.

Microsoft Documentations:

Blog: Click here

YouTube: Click here

GitHub: Click here

You can if you think you can.


Send Us A Message Here

Your email address will not be published.