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-alert-metric.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
2
title: Monitor Azure Automation runbooks with metric alerts
3
-
description: This article walks you through monitoring Azure Automation runbooks based off of metrics
3
+
description: This article tells how to monitor runbooks based on metrics.
4
4
services: automation
5
5
ms.date: 11/01/2018
6
6
ms.topic: article
7
7
---
8
-
# Monitoring runbooks with metric alerts
8
+
# Monitor runbooks with metric alerts
9
9
10
10
In this article, you learn how to create alerts based on the completion status of runbooks.
11
11
@@ -61,7 +61,7 @@ In the Azure portal, navigate to your Automation account. Under **Monitoring**,
61
61
> [!NOTE]
62
62
> When adding an email address to an Action Group, a notification email is sent stating the address has been added to an Action Group.
63
63
64
-
## Notification
64
+
## Receive notification
65
65
66
66
When the alert criteria is met, the action group runs the action defined. In this article's example, an email is sent. The following image is an example of an email you receive after the alert is triggered:
title: Intro to authentication in Azure Automation
3
-
description: This article provides an overview of Automation security and the different authentication methods available for Automation Accounts in Azure Automation.
Azure Automation allows you to automate tasks against resources in Azure, on-premises, and with other cloud providers such as Amazon Web Services (AWS). In order for a runbook to perform its required actions, it must have permissions to securely access the resources with the minimal rights required within the subscription.
14
-
15
-
This article will cover the various authentication scenarios supported by Azure Automation and how to get started based on the environment or environments you need to manage.
16
-
17
-
## Automation Account overview
13
+
Azure Automation allows you to automate tasks against resources in Azure, on-premises, and with other cloud providers such as Amazon Web Services (AWS). For a runbook to perform its required actions, it must have permissions to securely access the resources with the minimal rights required within the subscription.
18
14
19
15
When you start Azure Automation for the first time, you must create at least one Automation account. Automation accounts allow you to isolate your Automation resources (runbooks, assets, configurations) from the resources contained in other Automation accounts. You can use Automation accounts to separate resources into separate logical environments. For example, you might use one account for development, another for production, and another for your on-premises environment. An Azure Automation account is different from your Microsoft account or accounts created in your Azure subscription.
20
16
21
17
The Automation resources for each Automation account are associated with a single Azure region, but Automation accounts can manage all the resources in your subscription. The main reason to create Automation accounts in different regions would be if you have policies that require data and resources to be isolated to a specific region.
22
18
23
-
All of the tasks that you perform against resources using Azure Resource Manager and the Azure cmdlets in Azure Automation must authenticate to Azure using Azure Active Directory organizational identity credential-based authentication. Run As accounts in Azure Automation provide authentication for managing resources in Azure using the Azure cmdlets. When you create a Run As account, it creates a new service principal user in Azure Active Directory (AD) and assigns the Contributor role to this user at the subscription level. For runbooks that use Hybrid Runbook Workers on Azure virtual machines, you can use [runbook authentication with managed identities](automation-hrw-run-runbooks.md#runbook-auth-managed-identities) instead of Run As accounts to authenticate to your Azure resources.
19
+
All tasks that you perform against resources using Azure Resource Manager and the Azure cmdlets in Azure Automation must authenticate to Azure using Azure Active Directory (Azure AD) organizational identity credential-based authentication. Run As accounts in Azure Automation provide authentication for managing resources in Azure using the Azure cmdlets. When you create a Run As account, it creates a new service principal user in Azure AD and assigns the Contributor role to this user at the subscription level. For runbooks that use Hybrid Runbook Workers on Azure virtual machines, you can use [runbook authentication with managed identities](automation-hrw-run-runbooks.md#runbook-auth-managed-identities) instead of Run As accounts to authenticate to your Azure resources.
24
20
25
21
The service principal for a Run as Account does not have permissions to read Azure AD by default. If you want to add permissions to read or manage Azure AD, you'll need to grant the permissions on the service principal under **API permissions**. To learn more, see [Add permissions to access web APIs](../active-directory/develop/quickstart-configure-app-access-web-apis.md#add-permissions-to-access-web-apis).
26
22
@@ -31,7 +27,5 @@ Runbooks running on a Hybrid Runbook Worker in your data center or against compu
31
27
## Next steps
32
28
33
29
*[Create an Automation account from the Azure portal](automation-create-standalone-account.md).
34
-
35
30
*[Create an Automation account using Azure Resource Manager template](automation-create-account-template.md).
36
-
37
31
*[Authenticate with Amazon Web Services (AWS)](automation-config-aws-account.md).
Copy file name to clipboardExpand all lines: articles/automation/automation-solution-vm-management.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -193,11 +193,11 @@ Selecting the solution displays the **Start-Stop-VM[workspace]** solution page.
193
193
194
194
You can perform further analysis of the job records by clicking the donut tile. The solution dashboard shows job history and predefined log search queries. Switch to the log analytics advanced portal to search based on your search queries.
195
195
196
-
## Update the solution
196
+
## Update the feature
197
197
198
-
If you've deployed a previous version of this solution, delete it from your account before deploying an updated release. Follow the steps to [remove the solution](#remove-the-solution) and then follow the steps to [deploy the solution](automation-solution-vm-management-enable.md).
198
+
If you've deployed a previous version of this solution, delete it from your account before deploying an updated release. Follow the steps to [remove the solution](#remove-the-feature) and then follow the steps to [deploy the solution](automation-solution-vm-management-enable.md).
199
199
200
-
## Remove the solution
200
+
## Remove the feature
201
201
202
202
If you no longer need to use the solution, you can delete it from the Automation account. Deleting the solution only removes the runbooks. It does not delete the schedules or variables that were created when the solution was added. Remove these assets manually if you aren't using them with other runbooks.
description: Overview of the Update Management feature that manages updates for your Windows and Linux machines
4
4
services: automation
5
5
ms.subservice: update-management
6
6
ms.date: 05/04/2020
7
7
ms.topic: conceptual
8
8
---
9
-
# Update Management in Azure Automation
9
+
# Update Management overview
10
10
11
11
You can use Update Management in Azure Automation to manage operating system updates for your Windows and Linux machines in Azure, in on-premises environments, and in other cloud environments. You can quickly assess the status of available updates on all agent machines and manage the process of installing required updates for servers.
Copy file name to clipboardExpand all lines: articles/automation/how-to/move-account.md
+26-29Lines changed: 26 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Move your Azure Automation account to another subscription
3
-
description: This article describes how to move your Automation account to another subscription.
3
+
description: This article tells how to move your Automation account to another subscription.
4
4
services: automation
5
5
ms.service: automation
6
6
ms.subservice: process-automation
@@ -16,29 +16,26 @@ Azure Automation allows you to move some resources to a new resource group or su
16
16
17
17
The Automation account is one of the resources that you can move. In this article, you'll learn to move Automation accounts to another resource or subscription. The high-level steps for moving your Automation account are:
18
18
19
-
1.Remove your solutions.
19
+
1.Disable your features.
20
20
2. Unlink your workspace.
21
21
3. Move the Automation account.
22
22
4. Delete and re-create the Run As accounts.
23
-
5. Re-enable your solutions.
23
+
5. Re-enable your features.
24
24
25
-
>[!NOTE]
26
-
>In this article, you work with the Azure PowerShell Az module. You can still use the AzureRM module. To learn more about 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 by using [How to update Azure PowerShell modules in Azure Automation](../automation-update-azure-modules.md).
25
+
## Disable features
27
26
28
-
## Remove solutions
29
-
30
-
To unlink your workspace from your Automation account, you must remove these solutions from your workspace:
27
+
To unlink your workspace from your Automation account, you must disable the feature resources in your workspace:
31
28
32
29
- Change Tracking and Inventory
33
30
- Update Management
34
-
- Start/Stop VMs during offhours
31
+
- Start/Stop VMs during off-hours
35
32
36
33
1. In the Azure portal, locate your resource group.
37
-
2. Find each solution, and select **Delete** on the **Delete Resources** page.
34
+
2. Find each feature, and select **Delete** on the Delete Resources page.
38
35
39
-

36
+

40
37
41
-
If you prefer, you can delete the solutions by using the [Remove-AzResource](https://docs.microsoft.com/powershell/module/Az.Resources/Remove-AzResource?view=azps-3.7.0) cmdlet:
38
+
If you prefer, you can delete the resources by using the [Remove-AzResource](https://docs.microsoft.com/powershell/module/Az.Resources/Remove-AzResource?view=azps-3.7.0) cmdlet:
### Remove alert rules for the "Start/Stop VMs during offhours" solution
48
+
### Remove alert rules for Start/Stop VMs during off-hours
52
49
53
-
For this solution, you also need to remove the alert rules created by the solution.
50
+
For Start/Stop VMs during off-hours, you also need to remove the alert rules created by the feature.
54
51
55
52
1. In the Azure portal, go to your resource group and select **Monitoring** > **Alerts** > **Manage alert rules**.
56
53
57
54

58
55
59
-
2. On the **Rules** page, you should see a list of the alerts configured in that resource group. The solution creates these rules:
56
+
2. On the Rules page, you should see a list of the alerts configured in that resource group. The feature creates these rules:
60
57
61
58
* AutoStop_VM_Child
62
59
* ScheduledStartStop_Parent
63
60
* SequencedStartStop_Parent
64
61
65
62
3. Select the rules one at a time, and select **Delete** to remove them.
66
63
67
-

64
+

68
65
69
66
> [!NOTE]
70
-
> If you don't see any alert rules on the **Rules** page, change the **Status** field to **Disabled** to show disabled alerts. You might have disabled them.
67
+
> If you don't see any alert rules on the Rules page, change the **Status** field to **Disabled** to show disabled alerts.
71
68
72
-
4. When you remove the alert rules, you must remove the action group created for the "Start/Stop VMs during offhours" solution notifications. In the Azure portal, select **Monitor** > **Alerts** > **Manage action groups**.
69
+
4. When you remove the alert rules, you must remove the action group created for Start/Stop VMs during off-hours notifications. In the Azure portal, select **Monitor** > **Alerts** > **Manage action groups**.
73
70
74
71
5. Select **StartStop_VM_Notification**.
75
72
76
73
6. On the action group page, select **Delete**.
77
74
78
-

75
+

79
76
80
77
If you prefer, you can delete your action group by using the [Remove-AzActionGroup](https://docs.microsoft.com/powershell/module/az.monitor/remove-azactiongroup?view=azps-3.7.0) cmdlet:
81
78
@@ -91,7 +88,7 @@ Now you can unlink your workspace:
91
88
92
89
2. Select **Unlink workspace** to unlink the workspace from your Automation account.
93
90
94
-

91
+

95
92
96
93
## Move your Automation account
97
94
@@ -118,27 +115,27 @@ You can now move your Automation account and its runbooks.
118
115
119
116
3. After you've deleted the Run As accounts, select **Create** under **Azure Run As account**.
120
117
121
-
4. On the **Add Azure Run As account** page, select **Create** to create the Run As account and service principal.
118
+
4. On the Add Azure Run As account page, select **Create** to create the Run As account and service principal.
122
119
123
120
5. Repeat the steps above with the Azure Classic Run As account.
124
121
125
-
## Enable solutions
122
+
## Enable features
126
123
127
-
After you re-create the Run As accounts, you must re-enable the solutions that you removed before the move:
124
+
After you re-create the Run As accounts, you must re-enable the features that you disabled before the move:
128
125
129
-
1. To turn on the "Change Tracking and Inventory" solution, select **Change Tracking and Inventory** in your Automation account. Choose the Log Analytics workspace that you moved over, and select **Enable**.
126
+
1. To turn on Change Tracking and Inventory, select **Change Tracking and Inventory** in your Automation account. Choose the Log Analytics workspace that you moved over, and select **Enable**.
130
127
131
-
2. Repeat step 1 for the "Update Management" solution.
128
+
2. Repeat step 1 for Update Management.
132
129
133
-

130
+

134
131
135
-
3. Machines that are onboarded with your solutions are visible when you've connected the existing Log Analytics workspace. To turn on the "Start/Stop VMs during offhours" solution, you must redeploy the solution. Under **Related Resources**, select **Start/Stop VMs** > **Learn more about and enable the solution** > **Create** to start the deployment.
132
+
3. Machines that are enabled with your features are visible when you've connected the existing Log Analytics workspace. To turn on the Start/Stop VMs during off-hours feature, you must re-enable it. Under **Related Resources**, select **Start/Stop VMs** > **Learn more about and enable the solution** > **Create** to start the deployment.
136
133
137
-
4. On the **Add Solution** page, choose your Log Analytics workspace and Automation account.
134
+
4. On the Add Solution page, choose your Log Analytics workspace and Automation account.
138
135
139
136

140
137
141
-
5. Configure the solution as described in [Start/Stop VMs during offhours solution in Azure Automation](../automation-solution-vm-management.md).
138
+
5. Configure the feature as described in [Start/Stop VMs during off-hours overview](../automation-solution-vm-management.md).
0 commit comments