You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/automation/automation-onboard-solutions-from-browse.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,9 +27,9 @@ Using the checkboxes, select the virtual machines you wish to onboard with Chang
27
27
From the command bar, click **Services** and select either **Change tracking**, **Inventory**, or **Update Management**.
28
28
29
29
> [!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.
31
31
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.
33
33
34
34
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.
35
35
@@ -101,7 +101,7 @@ Alternatively you can also unlink your workspace from your Automation Account fr
101
101
102
102
## Troubleshooting
103
103
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.
105
105
106
106
### VM reports to a different workspace: '\<workspaceName\>'. Change configuration to use it for enabling
107
107
@@ -142,7 +142,7 @@ When onboarding multiple machines, there may be machines that show as **Cannot e
142
142
To remove a VM from Update Management:
143
143
144
144
* 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).
Copy file name to clipboardExpand all lines: articles/automation/automation-onboard-solutions-from-vm.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,38 +19,38 @@ Sign in to the Azure portal at https://portal.azure.com.
19
19
20
20
First, enable one or all three of the solutions on your VM:
21
21
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).
25
25
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.
29
27
30
28

31
29
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.
33
31
34
32
> [!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.
36
34
37
35
## Scope configuration
38
36
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:
42
38
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:
44
42
45
-
***MicrosoftDefaultScopeConfig-Updates**
43
+
*`MicrosoftDefaultScopeConfig-ChangeTracking`
44
+
*`MicrosoftDefaultScopeConfig-Updates`
46
45
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.
48
47
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.
50
50
51
51
## Saved searches
52
52
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.
54
54
55
55
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:
56
56
@@ -78,7 +78,7 @@ After you remove these solutions, you can perform the following steps to unlink
78
78
> [!NOTE]
79
79
> 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.
80
80
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.
82
82
83
83
2. On the Unlink workspace page, click **Unlink workspace**.
84
84
@@ -107,7 +107,7 @@ Alternatively you can also unlink your workspace from your Automation Account fr
107
107
To remove a VM from Update Management:
108
108
109
109
* 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).
Copy file name to clipboardExpand all lines: articles/automation/automation-onboard-solutions.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,9 @@ In this tutorial, you learn how to automatically onboard Update, Change Tracking
17
17
> * Import the onboarding runbook
18
18
> * Start the runbook
19
19
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
+
20
23
## Prerequisites
21
24
22
25
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
82
85
3. Click **Yes** to update all existing Azure modules to the latest version.
Copy file name to clipboardExpand all lines: articles/automation/automation-quickstart-create-account.md
+15-8Lines changed: 15 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,28 +10,35 @@ ms.custom: mvc
10
10
11
11
# Create an Azure Automation account
12
12
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.
14
14
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.
16
16
17
17
## Sign in to Azure
18
18
19
-
[Sign in to Azure](https://portal.azure.com)
19
+
[Sign in to Azure](https://portal.azure.com).
20
20
21
21
## Create Automation account
22
22
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.
24
24
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.
26
29
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.
28
33
29
34

30
35
31
36
> [!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®ions=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®ions=all).
38
+
39
+
5. When the deployment has completed, click **All Services**.
33
40
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.
Copy file name to clipboardExpand all lines: articles/automation/automation-quickstart-create-runbook.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,27 +16,27 @@ If you don't have an Azure subscription, create a [free Azure account](https://a
16
16
17
17
## Sign in to Azure
18
18
19
-
Sign in to Azure at https://portal.azure.com
19
+
Sign in to Azure at https://portal.azure.com.
20
20
21
21
## Create runbook
22
22
23
23
First, create a runbook. The sample runbook created in this quickstart outputs `Hello World` by default.
24
24
25
25
1. Open your Automation account.
26
26
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.
28
28
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.
30
30
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.
32
32
33
33

34
34
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.
36
36
37
37

38
38
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:
40
40
41
41
```powershell-interactive
42
42
param
@@ -48,39 +48,39 @@ First, create a runbook. The sample runbook created in this quickstart outputs `
48
48
"Hello $Name!"
49
49
```
50
50
51
-
1. Click **Save**, to save a draft copy of the runbook.
51
+
1. Click **Save** to save a draft copy of the runbook.
52
52
53
53

54
54
55
55
## Test the runbook
56
56
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.
58
58
59
-
1. Click **Test pane** to open the **Test** page.
59
+
1. Click **Test pane** to open the Test pane.
60
60
61
61
1. Enter a value for **Name**, and click **Start**. The test job starts and the job status and output display.
62
62
63
63

64
64
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.
66
66
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.
68
68
69
69

70
70
71
71
## Run the runbook
72
72
73
73
Once the runbook is published, the overview page is shown.
74
74
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.
76
76
77
77

78
78
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.
80
80
81
81

82
82
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.
84
84
85
85

0 commit comments