web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Error in step 27: Update script for service model: DevToolsService on machine: DevVM

(1) ShareShare
ReportReport
Posted on by 269
Hi, 
 
Tried to update the Dev vm from version .39 to .44, got the below error,
Error in step 27: Update script for service model: DevToolsService on machine: DevVM
bec of this error VS is not working - AOT objects and projects are not opening got the below error
 
 
tried all the solutions given in community but still the error is not solved,
Solution 1:
  • Go to Service Drive, on the cloud deployments it is k:\
  • Go into Deployable Packages Folder and Find the Package that failed, you can find it using date/time sorting.
  • Find the DevToolsService Scripts and there is a PowerShell Script named as AutoUpdateDevToolsService
  • Run this script manually and resume the update from the LCS.
Solution 2:
VSIX Installer
 
anyone have solution for this?
Categories:
I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    298,669 Super User 2025 Season 2 on at
    Error in step 27: Update script for service model: DevToolsService on machine: DevVM
    Hi Saran,
     
    Have you checked the error logs from the deployment about why it might fail? Note that your original version was quite old. Does this VM already have Visual Studio 2022 installed? If you keep having issues, the most easy would be deploying a new VM, connect to DevOps, get latest and continue. You might want to backup the database from this environment to be restored in the new VM.
  • Sohaib Cheema Profile Picture
    48,482 User Group Leader on at
    Error in step 27: Update script for service model: DevToolsService on machine: DevVM
    Remember facing it in the pass.
    What the outcome of running the PS script ? Did it all went fine?  I would normally run the PS in parts/chunks to understand, what it doing at every step and verify the outcome.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,352

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 810 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 616 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans