Hello,
Based on the error logs you provided, it seems the upgrade process is failing due to issues with connecting to the internet to download necessary update files. This could be due to network configuration issues, proxy settings, or permission problems when the script is run through your Endpoint Management System (EMS).
Here are some steps to troubleshoot this issue:
Proxy and Internet Access:
Ensure that the EMS agent has the correct proxy configuration if your network requires a proxy server for internet access.
Make sure the firewall and antivirus settings on the workstation and within your network allow access to Microsoft update services and do not block the executable files used by the upgrade process (setup.exe, etc.).
Agent Permissions:
Check that the EMS agent service is running with an account that has sufficient permissions to access the internet and perform the upgrade.
EMS Agent Troubleshooting:
Check the logs of the EMS agent to see if it provides any additional information about the failure or if there are any known issues with running upgrade scripts through your particular EMS.
Review the EMS configuration to see if there are any settings or policies that may restrict the upgrade process, such as limited access to system folders or network restrictions that apply only to the EMS agent.
Best Regards,
Hania Lian
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.