Arc Server agent installation with group policy

Stefano Colombo 221 Reputation points
2021-08-18T06:51:38.533+00:00

I'm trying to deploy the ARC Server agent via group policy but it fails.
We have created the onboarding.ps1 script on the azure portal and used it interactively to onboard some servers and it works.
The we tried to use it in a computer's Start group policy but the execution fails with the following error, which is too generic.

Startup script failed.
GPO Name : GPO-SERVER-ONBOARD-ARC
GPO File System Path : \xxx.loc\SysVol\cdmlab.loc\Policies{BE0412FF-7793-4193-B6E1-68BD450DC95B}\Machine
Script Name: OnboardingScript.ps1

anyone can give me an hint on how to solve the issue ?
thanks

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,099 questions
Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
382 questions
{count} votes