When upgrading a tier 1 environment you could receive the following error:
GlobalUpdate script for service model: AOSService on machine
This usually means an issue with the DB sync, however, the log zip file doesn't always contain a file indicating the error. Here are some steps to fix this issue:
- Ensure VS 2022 is fully upgraded.
- If you had to upgrade VS 2022, uninstall D365 F&O extension
- Re-install extension from K:\DeployablePackages\ [ID]\DevToolsService\Scripts\Microsoft.Dynamics.Framework.Tools.Installer.17.0
- Full compile of ALL modules
- DB Sync
- Restart environment
- 'Resume' upgrade