Skip to content

Commit 39479cd

Browse files
authored
Merge pull request #199901 from SnehaSudhirG/31May-HWCredentials
minor edits for clarity
2 parents 69588ba + a378a29 commit 39479cd

File tree

1 file changed

+22
-19
lines changed

1 file changed

+22
-19
lines changed

articles/automation/automation-hrw-run-runbooks.md

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -128,30 +128,33 @@ Instead of having your runbook provide its own authentication to local resources
128128
129129
#### Use a credential asset for a Hybrid Runbook Worker group
130130
131-
By default, the Hybrid jobs run under the context of System account. However, to run Hybrid jobs under a diffferent credential asset, follow the steps:
131+
By default, the Hybrid jobs run under the context of System account. However, to run Hybrid jobs under a different credential asset, follow the steps:
132132
133133
1. Create a [credential asset](./shared-resources/credentials.md) with access to local resources.
134134
1. Open the Automation account in the Azure portal.
135135
1. Select **Hybrid Worker Groups**, and then select the specific group.
136-
1. Select **Settings** and change the value of **Hybrid Worker credentials** from **Default** to **Custom**.
136+
1. Select **Settings**.
137+
1. Change the value of **Hybrid Worker credentials** from **Default** to **Custom**.
137138
1. Select the credential and click **Save**.
138-
139-
For a successful job execution, ensure that you provide the following permissions. The jobs might get suspended if the required permissions are not assigned for Custom users.
140-
141-
**Registry path** | **Permission**
142-
--- | ---
143-
HKLM\SYSTEM\CurrentControlSet\Services\EventLog | read
144-
HKLM\SYSTEM\CurrentControlSet\Services\WinSock2\Parameters | full access
145-
HKLM\SOFTWARE\Microsoft\Wbem\CIMOM | full access
146-
HKLM\Software\Policies\Microsoft\SystemCertificates\Root | full access
147-
HKLM\Software\Microsoft\SystemCertificates | full access
148-
HKLM\Software\Microsoft\EnterpriseCertificates | full access
149-
HKLM\software\Microsoft\HybridRunbookWorker | full access
150-
HKLM\software\Microsoft\HybridRunbookWorkerV2 | full access
151-
HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\SystemCertificates\Disallowed | full access
152-
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\PnpLockdownFiles | full access
153-
Folder C:\ProgramData\AzureConnectedMachineAgent\Tokens | read
154-
Folder C:\Packages\Plugins\Microsoft.Azure.Automation.HybridWorker.HybridWorkerForWindows\0.1.0.18\HybridWorkerPackage\HybridWorkerAgent | full access
139+
1. If the following permissions are not assigned for Custom users, jobs might get suspended.
140+
Use your discretion in assigning the elevated permissions corresponding to the following registry keys/folders:
141+
142+
**Registry path**
143+
144+
- HKLM\SYSTEM\CurrentControlSet\Services\EventLog (read) </br>
145+
- HKLM\SYSTEM\CurrentControlSet\Services\WinSock2\Parameters (full access) </br>
146+
- HKLM\SOFTWARE\Microsoft\Wbem\CIMOM (full access) </br>
147+
- HKLM\Software\Policies\Microsoft\SystemCertificates\Root (full access) </br>
148+
- HKLM\Software\Microsoft\SystemCertificates (full access) </br>
149+
- HKLM\Software\Microsoft\EnterpriseCertificates (full access) </br>
150+
- HKLM\software\Microsoft\HybridRunbookWorker (full access) </br>
151+
- HKLM\software\Microsoft\HybridRunbookWorkerV2 (full access) </br>
152+
- HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\SystemCertificates\Disallowed (full access) </br>
153+
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\PnpLockdownFiles (full access) </br>
154+
155+
**Folders**
156+
- C:\ProgramData\AzureConnectedMachineAgent\Tokens (read) </br>
157+
- C:\Packages\Plugins\Microsoft.Azure.Automation.HybridWorker.HybridWorkerForWindows\0.1.0.18\HybridWorkerPackage\HybridWorkerAgent (full access)
155158
156159
## <a name="runas-script"></a>Install Run As account certificate
157160

0 commit comments

Comments
 (0)