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

update failed at step20 Update script for service model: AOSService on machine:

(1) ShareShare
ReportReport
Posted on by 2
I upgraded the environment of a virtual machine on LCS from 10.0.34 to 10.0.38, but when I reached Update script for service model: AOSService on machine step 20, I failed. How can I solve this problem
I have the same question (0)
  • Martin Dráb Profile Picture
    236,297 Most Valuable Professional on at
    update failed at step20 Update script for service model: AOSService on machine:
    A good idea is checking why it failed, because how you can choose a solution if you don't know the problem? You can download the logs from LCS.
     
    You can also try running it once more in the meantime, in case it was just a temporary problem.
     
    (Moved from Dynamics 365 general forum.)
  • Hana Xue Profile Picture
    Microsoft Employee on at
    update failed at step20 Update script for service model: AOSService on machine:
    Hi,
    The documentation mentions that you may have a database sync issue if you see the following steps failing: "GlobalUpdate script for service model: AOSService".
    Troubleshoot package application issues - Finance & Operations | Dynamics 365 | Microsoft Learn
    Best Regards,
    Hana
  • Griet Profile Picture
    31 on at
    update failed at step20 Update script for service model: AOSService on machine:
    I also struggle with the update to version 10.0.38 on one virtual machine (we are upgrading from 10.0.37).
     
    When I dig in the logs I can find something about a timeout value:
     
     
    [13:34:33.5565] Exception[196609] found.
    [13:34:33.5565] There are one or more failed step during the runbook execution, please check the runbook xml and log for more detail
    [13:34:33.5565] 
    [13:34:33.5565] The step 20 failed with the following error:
    [13:34:33.5565] The step execution time exceed the timeout value specified: 75min
     
    I had the same issue on the same environment with the previous update. After several retries the update then succeeded. This time I have no luck (yet).
     
    Is this issue familiar to anyone? Are there things I can try to fix this issue?
  • Suggested answer
    Anthony Blake Profile Picture
    2,728 Super User 2025 Season 2 on at
    update failed at step20 Update script for service model: AOSService on machine:
    If the environment is Cloud Hosted (Tier 1 in Azure) 10.0.34 to 10.0.38, it could well be the requirement for the new VC++ runtime requirement from 10.0.36 onwards:
     
     
  • RAGU Veelead Profile Picture
    6 on at
    update failed at step20 Update script for service model: AOSService on machine:

    please follow these steps:

    1. Navigate to the Service Drive (for cloud deployments, this is typically K:\).
    2. Open the Deployable Packages folder and locate the package that failed. You can identify it by sorting the files by date and time.
    3. Within the package, locate the DevToolsService scripts folder. Look for the PowerShell script named AutoUpdateDevToolsService.
    4. Run this script manually. After completion, resume the update process from LCS.
  • Anthony Blake Profile Picture
    2,728 Super User 2025 Season 2 on at
    update failed at step20 Update script for service model: AOSService on machine:
    Hi @RAGU Veelead, this is from over a year ago, at this point, I would suggest just redeploy the environment, end of service for 10.0.38 was August 2024.
     
    Anthony

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,167

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 617 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans