Unable to download asset 5xxxddd-9d7x-xxx-xxx-xxxx. The job state is failed.
This is an error message you likely faced while deploying a D365 Finance and Operations on-premises environment.
There are few things to check :
- Check Network Connectivity
You want to verify that there a great connectivity between your on-premises and LCS.
Test this by downloading the agent installer, usually below 50MB.
In my case here, the speed is very slow. We need to check the ISP and probably switch.
- Check the file server and ensure there is enough space.
If you are deploying a fresh environment application package from LCS is above 3GB, therefore have enough space to accommodate it.
- Update networkTimeoutInMinutes in localagent-config.json
If it happens that the internet speed fluctuates and the deployable package does not get completed in 60 minutes, Local agent stops trying to download. We can increase the network timeout from 60 mins to 240 mins :).
To do so, you need to update the following values:
networkTimeoutInMinutes
downloadBlockSizeMB
initialDownloadBlockSizeMB
Firstly, uninstall local agent
Now update the localagent-config.json
Re-install local agent and re-apply your package.