Onboard a machine to Automanage with an Azure Resource Manager (ARM) template
Article
Caution
On September 30, 2027, the Azure Automanage Best Practices service will be retired. As a result, attempting to create a new configuration profile or onboarding a new subscription to the service will result in an error. Learn more here about how to migrate to Azure Policy before that date.
Caution
Starting February 1st 2025, Azure Automanage will begin rolling out changes to halt support and enforcement for all services dependent on the deprecated Microsoft Monitoring Agent (MMA). To continue using Change Tracking and Management, VM Insights, Update Management, and Azure Automation, migrate to the new Azure Monitor Agent (AMA).
Overview
Follow the steps to onboard a machine to Automanage Best Practices using an ARM template.
You must be in a supported region and supported VM image highlighted in these prerequisites
ARM template overview
The following ARM template will onboard your specified machine onto Azure Automanage Best Practices. Details on the ARM template and steps on how to deploy are located in the ARM template deployment section.
Run this ARM template deployment with az deployment group create --resource-group myResourceGroup --template-file azuredeploy.json
Provide the values for machineName, and configurationProfileName when prompted
You're ready to deploy
As with any ARM template, it's possible to factor out the parameters into a separate azuredeploy.parameters.json file and use that as an argument when deploying.
Plan and execute an endpoint deployment strategy, using essential elements of modern management, co-management approaches, and Microsoft Intune integration.