Failed to distribute artifact to agent from execution server

Document ID : KB000117878
Last Modified Date : 19/10/2018
Show Technical Document Details
Issue:
While running a release that deploys artifacts we get the following error during the artifact distribution phase: 
Failed to distribute artifact [{artifact_store/releaseId_<releaseIdValue>/<ArtifactTypeName>/<ArtifactDefinitionName>/<ArtifactVersionName>/<ArtifactFileName>] to agent [<agentname>] from execution server [<agentname>]
Environment:
CA Release Automation v6.6 Manager
CA Release Automation v6.5 Agent on Windows
Cause:
The Nolio Agent service (found in services.msc) is configured to use a service account instead of the default "Local System account". The agent can use service accounts. But this service account did not have privileges to write new files/folders in the <NolioAgentInstallDir>. 
Resolution:
At a minimum the service account needs full control over the <NolioAgentInstallDir>. Adding the service account to the local administrators group is recommended as the agent is likely to need permissions to do more than just read/write in its own directory. 

If the agent will need to impersonate other users then please see the following KB article for required permissions: KB000035716