"Failed to download: https://<cloud proxy ip or fqdn>:443/downloads/salt/config-utils.bat. errcode=1, errmsg=. Please check C:<telegraf agent log path>\\uaf_bootstrap.log on the endpoint VM."uaf.bootstrap.log and before that below messages are also observed:File ignoreSSLcheck_Downloadfile.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.At line:1 char:1+ C:\<telegraf agent installation path>\VMware-UCP_Bootstrap_Scriptsvmwa ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : SecurityError: (:) [], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccesshttps://<cloud proxy ip or fqdn>:443/downloads/salt/config-utils.batAria Operations 8.18.X
The execution of powershell script is forbidden because execution policy is set to "Restricted" on windows client.
Change the execution policy on windows client to "RemoteSigned":
Set-ExecutionPolicy RemoteSignedThe execution policy applied currently can be checked with command: Get-ExecutionPolicy
Once the telegraf agent installation completes, the policy can be set back to "Restricted" if required: Set-ExecutionPolicy Restricted
For prerequisites and steps to install telegraf agent please refer to: OS and Application Monitoring
For more information to troubleshoot telegraf agent installation failure due to connection issue, please refer to: Telegraf Agent Installation failure due to Proxy Settings.