Microsoft has recently announced application version 10 (Platform update 24) (Platform build: 7.0.5179.35390) for Dynamics 365: Finance and Operations. For those of you still using application version 8.1xx and do not want to deploy a new vhd in fear of losing their code metadata can follow below steps to upgrade their existing environment to latest update:
- On your VM environment, download “Generally available – Dynamics 365 for Finance and Operations version 10.0” or whichever is latest from LCS, it should be under the shared asset library if you have relevant privileges.
- Download “DataUpgrade-10-0” from the same location as above.
- Unblock the archive file from step 1 from file properties, extract the file and navigate to the extracted folder. (e.g: C:\D365-v10)
- Make sure all instances of Visual Studio are closed, if your environment has multiple users connected, make sure their VS instances are closed as well.
- Now in your extracted folder, run powershell/command prompt with admin privileges, for this tutorial I will be using powershell.
- Execute the following command:
.\AXUpdateInstaller.exe generate -runbookid="OneBoxDev" -topologyfile="DefaultTopologyData.xml" -servicemodelfile="DefaultServiceModelData.xml" -runbookfile="OneBoxDev-runbook.xml" AXUpdateInstaller.exe import -runbookfile=OneBox-runbook.xml
This will generate a runbook xml file in the current folder. - Next, we need to import the newly created runbook file. To do this, execute the following command:
AXUpdateInstaller.exe import -runbookfile=[runbookFile]Where [runbookFile] is the name of your runbook file in xml - Verify that your runbook file has been successfully imported:
AXUpdateInstaller.exe list
Your runbook file id should show up here, “OnceBoxDev” in our case. - Finally, execute the runbook file using below command:
AXUpdateInstaller.exe execute -runbookid=[runbookID]
This will execute the runbook topology one step at a time, it will take some time so no need to panic. - Once the platform update has been deployed, it is time to apply the data upgrade package. Follow steps 3 to step 9 again for the data upgrade package, make sure you provide a different runbook id than the one provided previously while importing.
That’s pretty much it, say hello to your upgraded D365FO version 10 VM:
Common issues:If for some reason, if any of your steps fail, execute below command to rerun it:AXUpdateInstaller.exe execute -runbookid=[runbookID] -rerunstep=[stepID]
Where [stepID] is the failed step number.
References:




Tidak ada komentar:
Posting Komentar