Skip to content

Commit 72fa77c

Browse files
authored
Merge pull request #111599 from BethWilke/branch119
Fixing merge errors
2 parents d1c0d2a + c6b08bf commit 72fa77c

6 files changed

+90
-85
lines changed

articles/automation/automation-onboard-solutions-from-browse.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ Using the checkboxes, select the virtual machines you wish to onboard with Chang
2727
From the command bar, click **Services** and select either **Change tracking**, **Inventory**, or **Update Management**.
2828

2929
> [!NOTE]
30-
> **Change tracking** and **Inventory** use the same solution, when one is enabled the other is enabled as well.
30+
> Change Tracking and Inventory use the same solution. When one is enabled, the other is enabled as well.
3131
32-
The following image is for Update Management. Change tracking and Inventory have the same layout and behavior.
32+
The following image is for Update Management. Change Tracking and Inventory have the same layout and behavior.
3333

3434
The list of virtual machines is filtered to show only the virtual machines that are in the same subscription and location. If your virtual machines are in more than three resource groups, the first three resource groups are selected.
3535

@@ -101,7 +101,7 @@ Alternatively you can also unlink your workspace from your Automation Account fr
101101

102102
## Troubleshooting
103103

104-
When onboarding multiple machines, there may be machines that show as **Cannot enable**. There are different reasons why some machines may not be enabled. The following sections show possible reasons for the **Cannot enable** state on a VM when attempting to onboard.
104+
When onboarding multiple machines, there may be machines that show as `Cannot enable`. There are different reasons why some machines may not be enabled. The following sections show possible reasons for the `Cannot enable` state on a VM when attempting to onboard.
105105

106106
### VM reports to a different workspace: '\<workspaceName\>'. Change configuration to use it for enabling
107107

@@ -142,7 +142,7 @@ When onboarding multiple machines, there may be machines that show as **Cannot e
142142
To remove a VM from Update Management:
143143

144144
* In your Log Analytics workspace, remove the VM from the saved search for the Scope Configuration `MicrosoftDefaultScopeConfig-Updates`. Saved searches can be found under **General** in your workspace.
145-
* Remove the [Microsoft Monitoring agent](../azure-monitor/learn/quick-collect-windows-computer.md#clean-up-resources) or the [Log Analytics agent for Linux](../azure-monitor/learn/quick-collect-linux-computer.md#clean-up-resources).
145+
* Remove the [Log Analytics agent for Windows](../azure-monitor/learn/quick-collect-windows-computer.md#clean-up-resources) or the [Log Analytics agent for Linux](../azure-monitor/learn/quick-collect-linux-computer.md#clean-up-resources).
146146

147147
## Next steps
148148

articles/automation/automation-onboard-solutions-from-vm.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,38 +19,38 @@ Sign in to the Azure portal at https://portal.azure.com.
1919

2020
First, enable one or all three of the solutions on your VM:
2121

22-
1. In the [Azure portal](https://portal.azure.com), from the left-hand pane select **Virtual machines** or search for and select **Virtual machines** from the **Home** page.
23-
2. Select the VM for which you want to enable a solution for.
24-
3. On the VM page, under **Operations**, select **Update management**, **Inventory**, or **Change tracking**. The virtual machine can exist in any region no matter the location of your Automation account. When onboarding a solution from a VM, you need to have the `Microsoft.OperationalInsights/workspaces/read` permission to determine if the VM is onboarded to a workspace. To learn about additional permissions that are required, see [permissions needed to onboard machines](automation-role-based-access-control.md#onboarding).
22+
1. In the [Azure portal](https://portal.azure.com), select **Virtual machines** or search for and select **Virtual machines** from the Home page.
23+
2. Select the VM for which you want to enable a solution.
24+
3. On the VM page, under **Operations**, select **Update management**, **Inventory**, or **Change tracking**. The virtual machine can exist in any region, no matter the location of your Automation account. When onboarding a solution from a VM, you need to have the `Microsoft.OperationalInsights/workspaces/read` permission to determine if the VM is onboarded to a workspace. To learn about additional permissions that are required, see [permissions needed to onboard machines](automation-role-based-access-control.md#onboarding). To learn how to onboard multiple machines at once, see [Onboard Update Management, Change Tracking, and Inventory solutions](automation-onboard-solutions-from-automation-account.md).
2525

26-
To learn how to onboard multiple machines at once, see [Onboard Update Management, Change Tracking, and Inventory solutions](automation-onboard-solutions-from-automation-account.md).
27-
28-
Select the Azure Log Analytics workspace and Automation account, and then select **Enable** to enable the solution. The solution takes up to 15 minutes to enable.
26+
4. Select the Azure Log Analytics workspace and Automation account, and then click **Enable** to enable the solution. The solution takes up to 15 minutes to enable.
2927

3028
![Onboard the Update Management solution](media/automation-tutorial-update-management/manageupdates-update-enable.png)
3129

32-
Go to the other solutions, and then select **Enable**. The Log Analytics workspace and Automation account drop-down lists are disabled because these solutions use the same workspace and Automation account as the previously enabled solution.
30+
5. Go to the other solutions, and then select **Enable**. The Log Analytics workspace and Automation account drop-down lists are disabled because these solutions use the same workspace and Automation account as the previously enabled solution.
3331

3432
> [!NOTE]
35-
> **Change tracking** and **Inventory** use the same solution. When one of these solutions is enabled, the other is also enabled.
33+
> Change tracking and Inventory use the same solution. When one of these solutions is enabled, the other is also enabled.
3634
3735
## Scope configuration
3836

39-
Each solution uses a scope configuration in the workspace to target the computers that get the solution. The scope configuration is a group of one or more saved searches that are used to limit the scope of the solution to specific computers. To access the scope configurations, in your Automation account, under **Related resources**, select **Workspace**. In the workspace, under **Workspace data sources**, select **Scope Configurations**.
40-
41-
If the selected workspace doesn't already have the Update Management or Change Tracking solutions, the following scope configurations are created:
37+
Each solution uses a scope configuration in the workspace to target the computers that get the solution. The scope configuration is a group of one or more saved searches that are used to limit the scope of the solution to specific computers. To access the scope configurations:
4238

43-
* **MicrosoftDefaultScopeConfig-ChangeTracking**
39+
1. In your Automation account, under **Related resources**, select **Workspace**.
40+
2. In the workspace, under **Workspace data sources**, select **Scope Configurations**.
41+
3. If the selected workspace doesn't already have the Update Management or Change Tracking solution, the following scope configurations are created:
4442

45-
* **MicrosoftDefaultScopeConfig-Updates**
43+
* `MicrosoftDefaultScopeConfig-ChangeTracking`
44+
* `MicrosoftDefaultScopeConfig-Updates`
4645

47-
If the selected workspace already has the solution, the solution isn't redeployed and the scope configuration isn't added.
46+
If the selected workspace already has the solution, the solution isn't redeployed and the scope configuration isn't added.
4847

49-
Select the ellipses (**...**) on any of the configurations, and then select **Edit**. In the **Edit scope configuration** pane, select **Select Computer Groups**. The **Computer Groups** pane shows the saved searches that are used to create the scope configuration.
48+
4. Select the ellipses (**...**) on any of the configurations, and then click **Edit**.
49+
5. In the **Edit scope configuration** pane, select **Select Computer Groups**. The **Computer Groups** pane shows the saved searches that are used to create the scope configuration.
5050

5151
## Saved searches
5252

53-
When a computer is added to the Update Management, Change Tracking, or Inventory solutions, the computer is added to one of two saved searches in your workspace. The saved searches are queries that contain the computers that are targeted for these solutions.
53+
When a computer is added to the Update Management, Change Tracking, or Inventory solution, the computer is added to one of two saved searches in your workspace. The saved searches are queries that contain the computers that are targeted for these solutions.
5454

5555
Go to your workspace. Under **General**, select **Saved searches**. The two saved searches that are used by these solutions are shown in the following table:
5656

@@ -78,7 +78,7 @@ After you remove these solutions, you can perform the following steps to unlink
7878
> [!NOTE]
7979
> Some solutions including earlier versions of the Azure SQL monitoring solution may have created automation assets and may also need to be removed prior to unlinking the workspace.
8080
81-
1. From the Azure portal, open your Automation account, and on the Automation account page select **Linked workspace** under the section **Related Resources** on the left.
81+
1. From the Azure portal, open your Automation account and select **Linked workspace** under the section **Related Resources** on the left.
8282

8383
2. On the Unlink workspace page, click **Unlink workspace**.
8484

@@ -107,7 +107,7 @@ Alternatively you can also unlink your workspace from your Automation Account fr
107107
To remove a VM from Update Management:
108108

109109
* In your Log Analytics workspace, remove the VM from the saved search for the Scope Configuration `MicrosoftDefaultScopeConfig-Updates`. Saved searches can be found under **General** in your workspace.
110-
* Remove the [Microsoft Monitoring agent](../azure-monitor/learn/quick-collect-windows-computer.md#clean-up-resources) or the [Log Analytics agent for Linux](../azure-monitor/learn/quick-collect-linux-computer.md#clean-up-resources).
110+
* Remove the [Log Analytics agent for Windows](../azure-monitor/learn/quick-collect-windows-computer.md#clean-up-resources) or the [Log Analytics agent for Linux](../azure-monitor/learn/quick-collect-linux-computer.md#clean-up-resources).
111111

112112
## Next steps
113113

articles/automation/automation-onboard-solutions.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ In this tutorial, you learn how to automatically onboard Update, Change Tracking
1717
> * Import the onboarding runbook
1818
> * Start the runbook
1919
20+
>[!NOTE]
21+
>This article has been updated to use the new Azure PowerShell Az module. You can still use the AzureRM module, which will continue to receive bug fixes until at least December 2020. To learn more about the new Az module and AzureRM compatibility, see [Introducing the new Azure PowerShell Az module](https://docs.microsoft.com/powershell/azure/new-azureps-module-az?view=azps-3.5.0). For Az module installation instructions on your Hybrid Runbook Worker, see [Install the Azure PowerShell Module](https://docs.microsoft.com/powershell/azure/install-az-ps?view=azps-3.5.0). For your Automation account, you can update your modules to the latest version using [How to update Azure PowerShell modules in Azure Automation](automation-update-azure-modules.md).
22+
2023
## Prerequisites
2124

2225
To complete this tutorial, the following are required:
@@ -82,8 +85,9 @@ It's required to update to the latest Azure modules and import the [Az.Operation
8285
3. Click **Yes** to update all existing Azure modules to the latest version.
8386

8487
![Update modules](media/automation-onboard-solutions/update-modules.png)
88+
A
8589

86-
### Install AzureRM.OperationalInsights module
90+
### Install Az.OperationalInsights module
8791

8892
1. In the Automation account, select **Modules** under **Shared Resources**.
8993
2. Select **Browse gallery** to open up the module gallery.

articles/automation/automation-quickstart-create-account.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,35 @@ ms.custom: mvc
1010

1111
# Create an Azure Automation account
1212

13-
Azure Automation accounts can be created through Azure. This method provides a browser-based user interface for creating and configuring Automation accounts and related resources. This quickstart steps through creating an Automation account and running a runbook in the account.
13+
You can create an Azure Automation account through Azure, using the Azure portal, a browser-based user interface allowing access to a number of resources. One Automation account can manage resources across all regions and subscriptions for a given tenant.
1414

15-
If you don't have an Azure subscription, create a [free Azure account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
15+
This quickstart guides you in creating an Automation account and running a runbook in the account. If you don't have an Azure subscription, create a [free Azure account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
1616

1717
## Sign in to Azure
1818

19-
[Sign in to Azure](https://portal.azure.com)
19+
[Sign in to Azure](https://portal.azure.com).
2020

2121
## Create Automation account
2222

23-
1. Click the **Create a resource** button found on the upper left-hand corner of Azure.
23+
1. Choose a name for your Azure account. Automation account names are unique per region and resource group. Names for Automation accounts that have been deleted might not be immediately available.
2424

25-
1. Select **IT & Management Tools**, and then select **Automation**.
25+
> [!NOTE]
26+
> You can't change the account name once it has been entered in the user interface.
27+
28+
2. Click the **Create a resource** button found on the upper left corner of Azure portal.
2629

27-
1. Enter the account information. For **Create Azure Run As account**, choose **Yes** so that the artifacts to simplify authentication to Azure are enabled automatically. It is important to note, that when creating an Automation Account, the name cannot be changed after it is chosen. *Automation Account names are unique per region and resource group. Names for Automation Accounts that were deleted may not be immediately available.* One Automation Account can manage resources across all regions and subscriptions for a given tenant. When complete, click **Create**, to start the Automation account deployment.
30+
3. Select **IT & Management Tools**, and then select **Automation**.
31+
32+
4. Enter the account information, including the selected account name. For **Create Azure Run As account**, choose **Yes** so that the artifacts to simplify authentication to Azure are enabled automatically. When the information is complete, click **Create** to start the Automation account deployment.
2833

2934
![Enter information about your Automation account in the page](./media/automation-quickstart-create-account/create-automation-account-portal-blade.png)
3035

3136
> [!NOTE]
32-
> For an updated list of locations that you can deploy an Automation Account to see, [Products available by region](https://azure.microsoft.com/global-infrastructure/services/?products=automation&regions=all).
37+
> For an updated list of locations that you can deploy an Automation account to, see [Products available by region](https://azure.microsoft.com/global-infrastructure/services/?products=automation&regions=all).
38+
39+
5. When the deployment has completed, click **All Services**.
3340

34-
1. When the deployment has completed, click **All Services**, select **Automation Accounts** and select the Automation Account you created.
41+
6. Select **Automation Accounts** and then choose the Automation account you've created.
3542

3643
![Automation account overview](./media/automation-quickstart-create-account/automation-account-overview.png)
3744

articles/automation/automation-quickstart-create-runbook.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,27 @@ If you don't have an Azure subscription, create a [free Azure account](https://a
1616

1717
## Sign in to Azure
1818

19-
Sign in to Azure at https://portal.azure.com
19+
Sign in to Azure at https://portal.azure.com.
2020

2121
## Create runbook
2222

2323
First, create a runbook. The sample runbook created in this quickstart outputs `Hello World` by default.
2424

2525
1. Open your Automation account.
2626

27-
1. Click **Runbooks** under **PROCESS AUTOMATION**. The list of runbooks is displayed.
27+
1. Click **Runbooks** under **Process Automation**. The list of runbooks is displayed.
2828

29-
1. Click the **Create a runbook** button found at the top of the list
29+
1. Click **Create a runbook** at the top of the list.
3030

31-
1. Enter "Hello-World" for the runbook **Name**, and select **PowerShell** for **Runbook type**. Click **Create**.
31+
1. Enter `Hello-World` for the runbook name in the **Name** field, and select **PowerShell** for the **Runbook type** field.
3232

3333
![Enter information about your Automation runbook in the page](./media/automation-quickstart-create-runbook/automation-create-runbook-configure.png)
3434

35-
1. The runbook is created and the **Edit PowerShell Runbook** page opens.
35+
1. Click **Create**. The runbook is created and the Edit PowerShell Runbook page opens.
3636

3737
![Author PowerShell script in the runbook editor](./media/automation-quickstart-create-runbook/automation-edit-runbook-empty.png)
3838

39-
1. Type or copy and paste the following code into the edit pane. It creates an optional input parameter called "Name" with a default value of "World", and outputs a string that uses this input value:
39+
1. Type or copy and paste the following code into the edit pane. It creates an optional input parameter called `Name` with a default value of `World`, and outputs a string that uses this input value:
4040

4141
```powershell-interactive
4242
param
@@ -48,39 +48,39 @@ First, create a runbook. The sample runbook created in this quickstart outputs `
4848
"Hello $Name!"
4949
```
5050

51-
1. Click **Save**, to save a draft copy of the runbook.
51+
1. Click **Save** to save a draft copy of the runbook.
5252

5353
![Author PowerShell script in the runbook editor](./media/automation-quickstart-create-runbook/automation-edit-runbook.png)
5454

5555
## Test the runbook
5656

57-
Once the runbook is created, you test the runbook to validate that it works.
57+
Once the runbook is created, you must test the runbook to validate that it works.
5858

59-
1. Click **Test pane** to open the **Test** page.
59+
1. Click **Test pane** to open the Test pane.
6060

6161
1. Enter a value for **Name**, and click **Start**. The test job starts and the job status and output display.
6262

6363
![Runbook test job](./media/automation-quickstart-create-runbook/automation-test-runbook.png)
6464

65-
1. Close the **Test** page by clicking the **X** in the upper right corner. Select **OK** in the popup that appears.
65+
1. Close the Test pane by clicking the **X** in the upper right corner. Select **OK** in the popup that appears.
6666

67-
1. In the **Edit PowerShell Runbook** page, click **Publish** to publish the runbook as the official version of the runbook in the account.
67+
1. In the Edit PowerShell Runbook page, click **Publish** to publish the runbook as the official version of the runbook in the account.
6868

6969
![Runbook test job](./media/automation-quickstart-create-runbook/automation-hello-world-runbook-job.png)
7070

7171
## Run the runbook
7272

7373
Once the runbook is published, the overview page is shown.
7474

75-
1. In the runbook overview page, click **Start** to open the **Start Runbook** configuration page for this runbook.
75+
1. In the runbook overview page, click **Start** to open the Start Runbook configuration page for this runbook.
7676

7777
![Runbook test job](./media/automation-quickstart-create-runbook/automation-hello-world-runbook-start.png)
7878

79-
1. Leave **Name** blank, so that the default value is used, and click **OK**. The runbook job is submitted, and the job page appears.
79+
1. Leave **Name** blank, so that the default value is used, and click **OK**. The runbook job is submitted, and the Job page appears.
8080

8181
![Runbook test job](./media/automation-quickstart-create-runbook/automation-job-page.png)
8282

83-
1. When the **Job status** is **Running** or **Completed**, click **Output** to open the **Output** pane and view the runbook output.
83+
1. When the **Job status** is set to **Running** or **Completed**, click **Output** to open the Output pane and view the runbook output.
8484

8585
![Runbook test job](./media/automation-quickstart-create-runbook/automation-hello-world-runbook-job-output.png)
8686

0 commit comments

Comments
 (0)