Skip to content

Commit 82c71c0

Browse files
committed
1874741b
1 parent 5b0b373 commit 82c71c0

File tree

2 files changed

+43
-2
lines changed

2 files changed

+43
-2
lines changed

articles/automation/TOC.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131
items:
3232
- name: Automation account authentication overview
3333
href: automation-security-overview.md
34-
- name: Context switching in Automation
35-
href: context-switching.md
3634
- name: Runbook execution overview
3735
href: automation-runbook-execution.md
3836
- name: Hybrid Runbook Worker overview
@@ -64,6 +62,8 @@
6462
href: automation-create-standalone-account.md
6563
- name: Create Automation account - Resource Manager template
6664
href: quickstart-create-automation-account-template.md
65+
- name: Disable local authentication
66+
href: disable-local-authentication.md
6767
- name: Managed identity
6868
items:
6969
- name: Using system-assigned managed identity
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: Disable local authentication in Azure Automation
3+
description: This article describes disabling local authentication in Azure Automation.
4+
services: automation
5+
ms.subservice: process-automation
6+
ms.date: 09/28/2021
7+
ms.topic: how-to
8+
#Customer intent: As an administrator, I want disable local authentication so that I can enhance security.
9+
---
10+
11+
# Disable local authentication in Automation
12+
13+
Azure Automation provides Microsoft Azure Active Directory (Azure AD) authentication support for all Automation service public endpoints. This critical security enhancement removes certificate dependencies and gives organizations control to disable local authentication methods. This feature provides you with seamless integration when centralized control and management of identities and resource credentials through Azure AD is required.
14+
15+
Azure Automation provides an optional feature to "Disable local authentication" at the Automation account level using the Azure policy [Configure Azure Automation account to disable local authentication](../automation/policy-reference.md#azure-automation). By default, this flag is set to false at the account, so you can use both local authentication and Azure AD authentication. If you choose to disable local authentication, then the Automation service only accepts Azure AD based authentication.
16+
17+
In the Azure portal, you may receive a warning message on the landing page for the selected Automation account if authentication is disabled. To confirm if the local authentication policy is enabled, use the PowerShell cmdlet [Get-AzAutomationAccount](/powershell/module/az.automation/get-azautomationaccount) and check property `DisableLocalAuth`. A value of `true` means local authentication is disabled.
18+
19+
Disabling local authentication doesn't take effect immediately. Allow a few minutes for the service to block future authentication requests.
20+
21+
## Re-enable local authentication
22+
23+
To re-enable local authentication, execute the PowerShell cmdlet `Set-AzAutomationAccount` with the parameter `-DisableLocalAuth false`.  Allow a few minutes for the service to accept the change to allow local authentication requests.
24+
25+
## Compatibility
26+
27+
The following table describes the behaviors or features that are prevented from working by disabling local authentication.
28+
29+
|Scenario | Alternative |
30+
|---|---|
31+
|Starting a runbook using a webhook. | Start a runbook job using Azure Resource Manager template, which uses Azure AD authentication. |
32+
|Using Automation Desired State Configuration.| Use [Azure Policy Guest configuration](/governance/policy/concepts/guest-configuration).  |
33+
|Using agent-based Hybrid Runbook Workers.| Use [extension-based Hybrid Runbook Workers (Preview)](./extension-based-hrw-install.md).|
34+
35+
## Limitations
36+
37+
Update Management patching will not work when local authentication is disabled.
38+
39+
40+
## Next steps
41+
- [Azure Automation account authentication overview](./automation-security-overview.md)

0 commit comments

Comments
 (0)