Skip to content

Commit b488292

Browse files
Update extension-based-hybrid-runbook-worker.md
Based on my test and issues me and my college had on this with a Hybrid worker and a custom account (not SYSTEM) at a customer project, we had the same issues with this that the jobs just hang too in "queued" after a reboot of the server where the Plugins "Microsoft.Azure.Automation.HybridWorker.HybridWorkerForWindows" is installed on (works fine until the reboot for many days) - and we find this to: https://learn.microsoft.com/en-us/answers/questions/1434892/permission-required-to-start-azure-runbook-on-hybr Based on info I got too from the team at MS (I'm a Microsoft MVP (https://mvp.microsoft.com/en-US/mvp/profile/b6a5bd91-5ebd-4c84-8965-023a95273093) and a member of the Microsoft CCP program this is needed to be added to get it to work. Just tested today for v. 1.13 - so until this is fixed IL will have this added, as that helps a lot if using a custom identity (we had used hours of debugging...)
1 parent 54e12d3 commit b488292

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

articles/automation/troubleshoot/extension-based-hybrid-runbook-worker.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,25 @@ Jobs fail and go into a suspended state on the Hybrid Runbook Worker. The Micros
111111
When a system has UAC/LUA in place, permissions must be granted directly and not through any group membership and when user has to elevate permissions, the jobs begin to fail.
112112

113113
#### Resolution
114-
For Custom user on the Hybrid Runbook Worker, update the permissions in the following folders:
114+
For Custom user on the Hybrid Runbook Worker, update the permissions in the following folders and registry:
115115

116-
| Folder |Permissions |
116+
| Folder | Permissions |
117117
|--- | --- |
118118
| `C:\ProgramData\AzureConnectedMachineAgent\Tokens` | Read |
119119
| `C:\Packages\Plugins\Microsoft.Azure.Automation.HybridWorker.HybridWorkerForWindows` | Read and Execute |
120120

121+
| Registry | Permissions |
122+
|--- | --- |
123+
| `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog` | Read |
124+
| `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinSock2\Parameters` | Full access |
125+
| `HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wbem\CIMOM` | Full access |
126+
| `HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\SystemCertificates\Root` | Full access |
127+
| `HKEY_LOCAL_MACHINE\Software\Microsoft\SystemCertificates` | Full access |
128+
| `HKEY_LOCAL_MACHINE\Software\Microsoft\EnterpriseCertificates` | Full access |
129+
| `HKEY_LOCAL_MACHINE\software\Microsoft\HybridRunbookWorker` | Full access |
130+
| `HKEY_LOCAL_MACHINE\software\Microsoft\HybridRunbookWorkerV2` | Full access |
131+
| `HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\SystemCertificates\Disallowed` | Full access |
132+
| `HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\PnpLockdownFiles` | Full access |
121133

122134
### Scenario: Job failed to start as the Hybrid Worker wasn't available when the scheduled job started
123135

0 commit comments

Comments
 (0)