How can I register my ActiveGate to run synthetics on a private location using powershell?

Currently I am trying to deploy an ActiveGate and run Synthetics in a private location, but the powershell command does not seem to work.

provisioner "powershell" {<br>  inline <span>= </span>[<br>    <span>"Write-Output 'Installing Dynatrace ActiveGate into </span><span>${</span>var<span>.</span>synthetic_location_id<span>}</span><span> location and </span><span>${</span>var<span>.</span>dynatrace_group<span>}</span><span> group...'"</span>,<br>    <span>"if (Test-Path 'C:/DeployTemp/Dynatrace-ActiveGate-Windows-x86-1.307.29.exe') {"</span>,<br>    <span>"  Start-Process -FilePath 'C:/DeployTemp/Dynatrace-ActiveGate-Windows-x86-1.307.29.exe' -Wait -ArgumentList 'ENABLE_SYNTHETIC=true --set-property=dt.synthetic.private_location_id==</span><span>${</span>var<span>.</span>synthetic_location_id<span>}</span><span> --set-group=</span><span>${</span>var<span>.</span>dynatrace_group<span>}</span><span>'"</span>,<br>    <span>"} else {"</span>,<br>    <span>"  Write-Output 'Dynatrace ActiveGate installer not found.'"</span>,<br>    <span>"  exit 1"</span>,<br>    <span>"}"<br></span>  ]<br>}

Hi @asanchez_tfal ,

Since Monday Dynatrace is notifying issue related to v.1.307 for OA Windows Hosts (operational) and Synthetic Activegate (partial service disruption).

Maybe you should download AG 1.305 till the issue was fixed.

Hope it helps.

Regards,

Elena.