I've recently started using Azure Arc, but so far we've been manually installing the Arc agent while exploring automation options. The suggested Microsoft solutions seem less than ideal; the GPO method isn't straightforward since it requires moving machines to a specific OU, waiting for GPO to apply, then disabling it to prevent the script from running again. This feels pretty cumbersome, especially in an environment with frequently changing machines. How are others managing the onboarding process, and do you have any automated solutions in place?
4 Answers
I use a superscript that automates the entire onboarding process. It resets WSUS, checks for and installs Winget, Azure CLI, the Arc agent, and even sets up an onboarding tag in Arc to alert my team for patching. It took a bit of tweaking, but it's been running smoothly since.
We're integrating the installation of the Arc agent into our existing provisioning process. This way, it's set up automatically as new machines are added, which saves a lot of manual effort.
We have a device collection that automatically adds certain servers, and then we deploy a PowerShell script through a package to handle onboarding. It’s part of our build process, and we always verify that it's onboarded successfully.
I rely on Ansible for onboarding. It checks if the agent is present, verifies its state, and runs the script only if necessary, which keeps things efficient.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures