Wednesday, June 11, 2025

D365 F&O Service Update failure DevToolsService

Recently when upgrading tier 1, cloud hosted, environments from 10.0.41 to 10.0.42,43, or 44 I received the following error:
 
Update script for service model: DevToolsService on machine

On some of my environments I would receive an error indicating it couldn't find VS 2022 and others that had VS 2022 it was another error.  
In order to get past this I would do the following:

  1. If missing VS 2022, install it.
    1. If it is already installed, update it.
    2. Remove the D365 F&O extension if it is installed.
  2. Install D365 F&O extension from K:\DeployablePackages\[ID]\DevToolsService\Scripts\Microsoft.Dynamics.Framework.Tools.Installer.17.0
  3. In the same 'Scripts' folder, run the powershell command '.\AutoUpdateDevToolsService.ps1'
  4. If that is successfull, copy and make a duplicate of that command.
  5. Delete all code in the original .ps1 file and then resume your service update.


No comments:

Post a Comment