If the basic troubleshooting steps do not resolve the error, consider the following advanced troubleshooting techniques:
If you previously downloaded the same version and it failed, residual files may cause permission conflicts. sccm download of office 365 file failed error 5