Skip to content

Commit ac8bb30

Browse files
authored
Merge pull request #112474 from MGoedtel/task7073260
task7073260
2 parents 4208edb + a32ba9d commit ac8bb30

File tree

6 files changed

+56
-54
lines changed

6 files changed

+56
-54
lines changed

articles/automation/TOC.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
href: learn/automation-tutorial-runbook-textual-python2.md
2727
- name: Concepts
2828
items:
29+
- name: Automation account authentication overview
30+
href: automation-security-overview.md
2931
- name: Runbook execution overview
3032
href: automation-runbook-execution.md
3133
- name: Hybrid Runbook Worker overview
@@ -48,6 +50,8 @@
4850
href: automation-create-standalone-account.md
4951
- name: Create Automation account with Resource Manager template
5052
href: automation-create-account-template.md
53+
- name: Configure authentication with Amazon Web Services
54+
href: automation-config-aws-account.md
5155
- name: Manage an Automation Run As account
5256
href: manage-runas-account.md
5357
- name: Manage role permissions and security
@@ -248,8 +252,6 @@
248252
href: automation-create-alert-triggered-runbook.md
249253
- name: Manage Office 365 services
250254
href: manage-office-365.md
251-
- name: Authenticate runbooks with Amazon Web Services
252-
href: automation-config-aws-account.md
253255
- name: Deploy AWS VM with Automation runbook
254256
href: automation-scenario-aws-deployment.md
255257
- name: Deploy Resource Manager template with runbook

articles/automation/automation-config-aws-account.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: This article describes how to create and validate an AWS credential
44
keywords: aws authentication, configure aws
55
services: automation
66
ms.subservice: process-automation
7-
ms.date: 04/17/2018
7+
ms.date: 04/23/2020
88
ms.topic: conceptual
99
---
1010
# Authenticate Azure Automation runbooks with Amazon Web Services
@@ -14,7 +14,7 @@ Automating common tasks with resources in Amazon Web Services (AWS) can be accom
1414
* An AWS subscription and a set of credentials. Specifically your AWS Access Key and Secret Key. For more information, review the article [Using AWS Credentials](https://docs.aws.amazon.com/powershell/latest/userguide/specifying-your-aws-credentials.html).
1515
* An Azure subscription and Automation account.
1616

17-
To authenticate with AWS, you must specify a set of AWS credentials to authenticate your runbooks running from Azure Automation. If you already have an Automation account created and you want to use that to authenticate with AWS, you can follow the steps in the following section: If you want to dedicate an account for runbooks targeting AWS resources, you should first create a new [Automation account](automation-offering-get-started.md) (skip the option to create a service principal) and use the following steps:
17+
To authenticate with AWS, you must specify a set of AWS credentials to authenticate your runbooks running from Azure Automation. If you already have an Automation account created and you want to use that to authenticate with AWS, you can follow the steps in the following section. If you want to dedicate an account for runbooks targeting AWS resources, you should first create a new [Automation account](automation-create-standalone-account.md) and skip the step to create a Run As account. After creating the account, follow the steps below to complete the configuration.
1818

1919
## Configure Automation account
2020

articles/automation/automation-security-overview.md

Lines changed: 15 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,40 +4,34 @@ description: This article provides an overview of Automation security and the di
44
keywords: automation security, secure automation; automation authentication
55
services: automation
66
ms.subservice: process-automation
7-
ms.date: 03/19/2018
7+
ms.date: 04/23/2020
88
ms.topic: conceptual
9-
ROBOTS: NOINDEX
109
---
1110

12-
# Introduction to authentication in Azure Automation
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). 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.
11+
# Introduction to authentication in Azure Automation
1412

15-
This article will cover the various authentication scenarios supported by Azure Automation and will show you how to get started based on the environment or environments you need to manage.
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). 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.
1616

1717
## Automation Account overview
18-
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.
18+
19+
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.
1920

2021
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.
2122

22-
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. Certificate-based authentication was the original authentication method with Azure classic, but it was complicated to set up. Authenticating to Azure with Azure AD user was introduced back in 2014 to not only simplify the process to configure an Authentication account, but also support the ability to non-interactively authenticate to Azure with a single user account that worked with both Azure Resource Manager and classic resources.
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 [managed identities for Azure resources](automation-hrw-run-runbooks.md#managed-identities-for-azure-resources) instead of Run As accounts to authenticate to your Azure resources.
2324

24-
Currently when you create a new Automation account in the Azure portal, it automatically creates:
25+
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).
2526

26-
* Run As account which creates a new service principal in Azure Active Directory, a certificate, and assigns the Contributor role-based access control (RBAC), which is used to manage Resource Manager resources using runbooks.
27-
* Classic Run As account by uploading a management certificate, which is used to manage Azure classic resources using runbooks.
27+
Role-based access control is available with Azure Resource Manager to grant permitted actions to an Azure AD user account and Run As account, and authenticate that service principal. Read [Role-based access control in Azure Automation article](automation-role-based-access-control.md) for further information to help develop your model for managing Automation permissions.
2828

29-
Role-based access control is available with Azure Resource Manager to grant permitted actions to an Azure AD user account and Run As account, and authenticate that service principal. Please read [Role-based access control in Azure Automation article](automation-role-based-access-control.md) for further information to help develop your model for managing Automation permissions.
29+
Runbooks running on a Hybrid Runbook Worker in your data center or against computing services in other cloud environments like AWS, cannot use the same method that is typically used for runbooks authenticating to Azure resources. This is because those resources are running outside of Azure and therefore, requires their own security credentials defined in Automation to authenticate to resources that they access locally. For more information about runbook authentication with runbook workers, see [Authenticate runbooks for Hybrid Runbook Workers](automation-hrw-run-runbooks.md).
3030

31-
Runbooks running on a Hybrid Runbook Worker in your datacenter or against computing services in AWS cannot use the same method that is typically used for runbooks authenticating to Azure resources. This is because those resources are running outside of Azure and therefore, requires their own security credentials defined in Automation to authenticate to resources that they access locally.
31+
## Next steps
3232

33-
## Authentication methods
34-
The following table summarizes the different authentication methods for each environment supported by Azure Automation and the article describing how to setup authentication for your runbooks.
33+
* [Create an Automation account from the Azure portal](automation-create-standalone-account.md).
3534

36-
| Method | Environment | Article |
37-
| --- | --- | --- |
38-
| Azure AD User Account |Azure Resource Manager and Azure classic |[Authenticate Runbooks with Azure AD User account](automation-create-aduser-account.md) |
39-
| Azure Run As Account |Azure Resource Manager |[Authenticate Runbooks with Azure Run As account](automation-sec-configure-azure-runas-account.md) |
40-
| Azure Classic Run As Account |Azure classic |[Authenticate Runbooks with Azure Run As account](automation-sec-configure-azure-runas-account.md) |
41-
| Windows Authentication |On-Premises Datacenter |[Authenticate Runbooks for Hybrid Runbook Workers](automation-hybrid-runbook-worker.md) |
42-
| AWS Credentials |Amazon Web Services |[Authenticate Runbooks with Amazon Web Services (AWS)](automation-config-aws-account.md) |
35+
* [Create an Automation account using Azure Resource Manager template](automation-create-account-template.md).
4336

37+
* [Authenticate with Amazon Web Services (AWS)](automation-config-aws-account.md).

articles/automation/how-to/region-mappings.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@ ms.service: automation
66
ms.subservice: process-automation
77
author: mgoedtel
88
ms.author: magoedte
9-
ms.date: 05/20/2019
9+
ms.date: 04/23/2020
1010
ms.topic: conceptual
1111
manager: carmonm
1212
---
1313

1414
# Workspace mappings
1515

16-
When enabling solutions like Update Management, Change Tracking and Inventory, or Start/Stop VMs during off hours, only certain regions are supported for linking a Log Analytics workspace and an Automation account. This mapping only applies to the Automation account and the Log Analytics workspace. The resources reporting to your Automation account or Log Analytics workspace can reside in other regions.
16+
When enabling Update Management, Change Tracking and Inventory, or Start/Stop VMs during off-hours, only certain regions are supported for linking a Log Analytics workspace and an Automation account in your subscription. This mapping only applies to the Automation account and the Log Analytics workspace. The Log Analytics workspace and Automation account must be in the same subscription, but can be in different resource groups deployed to the same region.
17+
18+
For further information, see [Log Analytics workspace and Automation account](../azure-monitor/insights/solutions.md#log-analytics- workspace-and-automation-account).
1719

1820
## Supported mappings
1921

@@ -44,44 +46,44 @@ The following table shows the supported mappings:
4446

4547
## Unlink workspace
4648

47-
If you decide that you no longer want to integrate your Automation account with a Log Analytics workspace, you can unlink your account directly from the Azure portal. Before proceeding, you first need to remove the Update Management, Change Tracking and Inventory, and Start/Stop VMs during off hours solutions if you are using them. If you do not remove them, you can't complete the unlinking operation. Review the article for the particular solution you've imported to understand the steps required to remove it.
49+
If you decide that you no longer want to integrate your Automation account with a Log Analytics workspace, you can unlink your account directly from the Azure portal. Before proceeding, you first need to remove Update Management, Change Tracking and Inventory, and Start/Stop VMs during off-hours if you are using them. If you do not remove them, you can't complete the unlinking operation. Review the article for each that you're enabling in order to understand the steps required to remove it.
4850

49-
After you remove these solutions, you can perform the following steps to unlink your Automation account.
51+
After you remove them, you can perform the following steps to unlink your Automation account.
5052

5153
> [!NOTE]
52-
> Some solutions including earlier versions of the Azure SQL monitoring solution might have created automation assets and might need to be removed prior to unlinking the workspace.
54+
> Some solutions including earlier versions of the Azure SQL monitoring solution might have created Automation assets and might need to be removed prior to unlinking the workspace.
5355
5456
1. From the Azure portal, open your Automation account. On the Automation account page, select **Linked workspace** under **Related Resources**.
5557

5658
2. On the Unlink workspace page, click **Unlink workspace**. You receive a prompt verifying if you wish to continue.
5759

5860
3. While Azure Automation attempts to unlink the account your Log Analytics workspace, you can track the progress under **Notifications** from the menu.
5961

60-
4. If you used the Update Management solution, optionally you might want to remove the following items that are no longer needed after you remove the solution.
62+
4. If you used Update Management, optionally you might want to remove the following items that are no longer needed after you remove it.
6163

6264
* Update schedules - Each has a name that matches an update deployment that you created.
6365
* Hybrid worker groups created for the solution - Each has a name similar to `machine1.contoso.com_9ceb8108-26c9-4051-b6b3-227600d715c8`.
6466

65-
5. If you used the Start/Stop VMs during off hours solution, you can optionally remove the following items that aren't needed after you remove the solution.
67+
5. If you used Start/Stop VMs during off-hours, you can optionally remove the following items that aren't needed after you remove it.
6668

6769
* Start and stop VM runbook schedules
6870
* Start and stop VM runbooks
6971
* Variables
7072

71-
Alternatively, you can unlink your workspace from your Automation account within the workspace.
73+
Alternatively, you can unlink your workspace from your Automation account within the workspace.
7274

7375
1. In the workspace, select **Automation Account** under **Related Resources**.
7476
2. On the Automation Account page, select **Unlink account**.
7577

7678
## Next steps
7779

78-
* Learn how to onboard Update Management and Change Tracking and Inventory solutions:
80+
* Learn how to onboard Update Management and Change Tracking and Inventory:
7981

8082
* From a [virtual machine](../automation-onboard-solutions-from-vm.md)
8183
* From your [Automation account](../automation-onboard-solutions-from-automation-account.md)
8284
* When [browsing multiple machines](../automation-onboard-solutions-from-browse.md)
8385
* From a [runbook](../automation-onboard-solutions.md)
8486

85-
* Learn how to onboard the Start/Stop VMs during off hours solution:
87+
* Learn how to onboard the Start/Stop VMs during off-hours:
8688

87-
* [Deploy Start/Stop VMs during off hours](../automation-solution-vm-management.md)
89+
* [Start/Stop VMs during off-hours overview](../automation-solution-vm-management.md)

0 commit comments

Comments
 (0)