Quickstart: Enable Azure Automanage for virtual machines in the Azure portal

Get started with Azure Automanage for virtual machines by using the Azure portal to enable automanagement on a new or existing virtual machine.

Prerequisites

If you don't have an Azure subscription, create an account before you begin.

Note

Free trial accounts do not have access to the virtual machines used in this tutorial. Please upgrade to a Pay-As-You-Go subscription.

Important

You need to have the Contributor role on the resource group containing your VMs to enable Automanage using an existing Automanage Account. If you are enabling Automanage with a new Automanage Account, you need the following permissions: Owner role or Contributor along with User Access Administrator roles on your subscription.

Sign in to Azure

Sign in to the Azure portal.

Enable Automanage for VMs on an existing VM

  1. In the search bar, search for and select Automanage – Azure virtual machine best practices.

  2. Select the Enable on existing VM.

    Enable on existing VM.

  3. On the Select machines blade:

    1. Filter the VMs list by your Subscription and Resource group.
    2. Check the checkbox of each virtual machine you want to onboard.
    3. Click the Select button.

    Select existing VM from list of available VMs.

  4. Under Configuration profile, click Browse and change profiles and preferences.

    Browse and change profiles and preferences.

  5. On the Select configuration profile + preferences blade:

    1. Select a profile on the left: Dev/Test for testing, Prod for production.
    2. Click the Select button.

    Browse production configuration profile.

  6. Click the Enable button.

Enable Automanage for VMs on a new VM

Sign into the Azure portal here to create a new VM and enable Automanage.

  1. Follow the creation steps in Quickstart - create a Windows VM in the Azure portal.

  2. After your VM is deployed, you will land on the deployment status page that has recommended Next steps at the bottom.

    Next steps section located at the bottom of deployment page.

  3. Under Next steps, select Enable Automanage virtual machine best practices.

  4. On the Automanage – Azure virtual machine best practices page, Machines will automatically be populated by your newly created VM.

    Newly created VM will show up as selected machine.

  5. Under Configuration profile, click Browse and change profiles and preferences.

  6. On the Select configuration profile + preferences blade:

    1. Select a profile on the left: Dev/Test for testing, Prod for production.
    2. Click the Select button.

    Browse production configuration profile.

  7. Click the Enable button.

Disable Automanage for VMs

Quickly stop using Azure Automanage for virtual machines by disabling automanagement.

Disabling Automanage on a virtual machine.

  1. Go to the Automanage – Azure virtual machine best practices page that lists all of your auto-managed VMs.
  2. Select the checkbox next to the virtual machine you want to disable.
  3. Click on the Disable automanagent button.
  4. Read carefully through the messaging in the resulting pop-up before agreeing to Disable.

Clean up resources

If you created a new resource group to try Azure Automanage for virtual machines and no longer need it, you can delete the resource group. Deleting the group also deletes the VM and all of the resources in the resource group.

Azure Automanage creates default resource groups to store resources in. Check resource groups that have the naming convention "DefaultResourceGroupRegionName" and "AzureBackupRGRegionName" to clean up all resources.

  1. Select the Resource group.
  2. On the page for the resource group, select Delete.
  3. When prompted, confirm the name of the resource group and then select Delete.

Next steps

In this quickstart, you enabled Azure Automanage for VMs.

Discover how you can create and apply customized preferences when enabling Automanage on your virtual machine.