Skip to content

Commit 232bbe2

Browse files
authored
Merge pull request #186908 from mmccrory/fixpolicy
updated policy and template
2 parents e1a225b + 1b9b544 commit 232bbe2

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

articles/automanage/arm-deploy.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ ms.date: 12/10/2021
1111

1212

1313
## Overview
14-
Follow the steps below to onboard a machine to Automanage Best Practices using an ARM template.
14+
Follow the steps to onboard a machine to Automanage Best Practices using an ARM template.
1515

1616
## Prerequisites
17-
* You must have necessary [RBAC permissions](./automanage-virtual-machines.md#required-rbac-permissions)
17+
* You must have necessary [Role-based access control permissions](./automanage-virtual-machines.md#required-rbac-permissions)
1818
* You must be in a supported region and supported VM image highlighted in these [prerequisites](./automanage-virtual-machines.md#prerequisites)
1919

2020

2121
## ARM template overview
22-
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 [below](#arm-template-deployment).
22+
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](#arm-template-deployment).
2323
```json
2424
{
2525
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
@@ -38,27 +38,27 @@ The following ARM template will onboard your specified machine onto Azure Automa
3838
"apiVersion": "2021-04-30-preview",
3939
"name": "[concat(parameters('machineName'), '/Microsoft.Automanage/default')]",
4040
"properties": {
41-
"configurationProfile": "[parameters('configurationProfile')]",
41+
"configurationProfile": "[parameters('configurationProfile')]"
4242
}
4343
}
4444
]
4545
}
4646
```
4747

4848
## ARM template deployment
49-
The ARM template above will create a configuration profile assignment for your specified machine.
49+
This ARM template will create a configuration profile assignment for your specified machine.
5050

5151
The `configurationProfile` value can be one of the following values:
5252
* "/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesProduction"
5353
* "/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesDevTest"
5454

5555
Follow these steps to deploy the ARM template:
56-
1. Save the ARM template above as `azuredeploy.json`
57-
1. Run the ARM template deployment with `az deployment group create --resource-group myResourceGroup --template-file azuredeploy.json`
58-
1. Provide the values for machineName, automanageAccountName, and configurationProfileAssignment when prompted
59-
1. You are done!
56+
1. Save this ARM template as `azuredeploy.json`
57+
1. Run this ARM template deployment with `az deployment group create --resource-group myResourceGroup --template-file azuredeploy.json`
58+
1. Provide the values for machineName, and configurationProfileAssignment when prompted
59+
1. You're ready to deploy
6060

61-
As with any ARM template, it is possible to factor out the parameters into a separate `azuredeploy.parameters.json` file and use that as an argument when deploying.
61+
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.
6262

6363
## Next steps
6464
Learn more about Automanage for [Linux](./automanage-linux.md) and [Windows](./automanage-windows-server.md)

articles/automanage/virtual-machines-policy-enable.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ If you don't have an Azure subscription, [create an account](https://azure.micro
2626
> The following Azure RBAC permission is needed to enable Automanage: **Owner** role or **Contributor** along with **User Access Administrator** roles.
2727
2828
## Direct link to Policy
29-
The Automanage policy definition can be found in the Azure portal by the name of [Configure virtual machines to be onboarded to Azure Automanage](https://portal.azure.com/#blade/Microsoft_Azure_Policy/PolicyDetailBlade/definitionId/%2Fproviders%2FMicrosoft.Authorization%2FpolicyDefinitions%2F270610db-8c04-438a-a739-e8e6745b22d3). If you click on this link, skip directly to step 8 in [Locate and assign the policy](#locate-and-assign-the-policy) below.
29+
The Automanage policy definition can be found in the Azure portal by the name of [Configure virtual machines to be onboarded to Azure Automanage](https://portal.azure.com/#blade/Microsoft_Azure_Policy/PolicyDetailBlade/definitionId/%2Fproviders%2FMicrosoft.Authorization%2FpolicyDefinitions%2Ff889cab7-da27-4c41-a3b0-de1f6f87c550). If you click on this link, skip directly to step 8 in [Locate and assign the policy](#locate-and-assign-the-policy) below.
3030

3131
## Sign in to Azure
3232

@@ -38,21 +38,21 @@ Sign in to the [Azure portal](https://portal.azure.com/).
3838
1. Navigate to **Policy** in the Azure portal
3939
1. Go to the **Definitions** pane
4040
1. Click the **Categories** dropdown to see the available options
41-
1. Select the **Enable Automanage – Azure virtual machine best practices** option
42-
1. Now the list will update to show a built-in policy with a name that starts with *Enable Automanage*
43-
1. Click on the *Enable Automanage - Azure virtual machine best practices* built-in policy name
41+
1. Select the **Automanage** option
42+
1. Now the list will update to show a built-in policy with a name that starts with *Configure virtual machines to be onboarded to Azure Automanage*
43+
1. Click on the *Configure virtual machines to be onboarded to Azure Automanage* built-in policy name
4444
1. After clicking on the policy, you can now see the **Definition** tab
4545

4646
> [!NOTE]
47-
> The Azure Policy definition is used to set Automanage parameters like the configuration profile or the account. It also sets filters that ensure the policy applies only to the correct VMs.
47+
> The Azure Policy definition is used to set Automanage parameters like the configuration profile. It also sets filters that ensure the policy applies only to the correct VMs.
4848
4949
1. Click the **Assign** button to create an Assignment
5050
1. Under the **Basics** tab, fill out **Scope** by setting the *Subscription* and *Resource Group*
5151

5252
> [!NOTE]
5353
> The Scope lets you define which VMs this policy applies to. You can set application at the subscription level or resource group level. If you set a resource group, all VMs that are currently in that resource group or any future VMs we add to it will have Automanage automatically enabled.
5454
55-
1. Click on the **Parameters** tab and set the **Automanage Account** and the desired **Configuration Profile**
55+
1. Click on the **Parameters** tab and set the **Configuration Profile** and the desired **Effect**
5656
1. Under the **Review + create** tab, review the settings
5757
1. Apply the Assignment by clicking **Create**
5858
1. View your assignments in the **Assignments** tab next to **Definition**

0 commit comments

Comments
 (0)