Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

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

(1) ShareShare
ReportReport
Posted on by
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
  • Suggested answer
    Anthony Blake Profile Picture
    Anthony Blake 2,184 Super User 2024 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:
     
     
  • Griet Profile Picture
    Griet 2 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?
  • Hana Xue Profile Picture
    Hana Xue 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
  • Martin Dráb Profile Picture
    Martin Dráb 230,235 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.)

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans