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/active-directory/hybrid/how-to-connect-pta-user-privacy.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ To view logs related to the Pass-through Authentication Agent, open the **Event
68
68
69
69
### Delete Authentication Agent trace log files
70
70
71
-
You should regularly check the contents of <strong>%ProgramData%\Microsoft\Azure AD Connect Authentication Agent\Trace\</strong> and delete the contents of this folder every 48 hours.
71
+
You should regularly check the contents of **%ProgramData%\Microsoft\Azure AD Connect Authentication Agent\Trace** and delete the contents of this folder every 48 hours.
72
72
73
73
>[!IMPORTANT]
74
74
>If the Authentication Agent service is running, you'll not be able to delete the current log file in the folder. Stop the service before trying again. To avoid user sign-in failures, you should have already configured Pass-through Authentication for [high availability](how-to-connect-pta-quick-start.md#step-4-ensure-high-availability).
Copy file name to clipboardExpand all lines: articles/automation/troubleshoot/hybrid-runbook-worker.md
+45-19Lines changed: 45 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ Runbook execution fails and you receive the following error:
28
28
"The job action 'Activate' cannot be run, because the process stopped unexpectedly. The job action was attempted three times."
29
29
```
30
30
31
-
Your runbook is suspended shortly after it attempts to execute it three times. There are conditions, which may interrupt the runbook from completing. When this happens, the related error message may not include any additional information that tells you why.
31
+
Your runbook is suspended shortly after it attempts to execute it three times. There are conditions that may interrupt the runbook from completing. The related error message may not include any additional information.
32
32
33
33
#### Cause
34
34
@@ -40,15 +40,15 @@ The following are potential possible causes:
40
40
41
41
* The runbooks can't authenticate with local resources
42
42
43
-
* The computer configured to run the Hybrid Runbook Worker feature does not meet the minimum hardware requirements.
43
+
* The computer configured to run the Hybrid Runbook Worker feature doesn't meet the minimum hardware requirements.
44
44
45
45
#### Resolution
46
46
47
47
Verify the computer has outbound access to *.azure-automation.net on port 443.
48
48
49
-
Computers running the Hybrid Runbook Worker should meet the minimum hardware requirements before it is configured to host this feature. Runbooks and the background processes they use may cause the system to be over utilized and cause runbook job delays or timeouts.
49
+
Computers running the Hybrid Runbook Worker should meet the minimum hardware requirements before the worker is configured to host this feature. Runbooks and the background processes they use may cause the system to be over-used and cause runbook job delays or timeouts.
50
50
51
-
Confirm the computer that will run the Hybrid Runbook Worker feature meets the minimum hardware requirements. If it does, monitor CPU and memory use to determine any correlation between the performance of Hybrid Runbook Worker processes and Windows. If there's memory or CPU pressure, this may indicate the need to upgrade resources. You can also select a different compute resource that can support the minimum requirements and scale when workload demands indicate an increase is necessary.
51
+
Confirm the computer that will run the Hybrid Runbook Worker feature meets the minimum hardware requirements. If it does, monitor CPU and memory use to determine any correlation between the performance of Hybrid Runbook Worker processes and Windows. Any memory or CPU pressure may indicate the need to upgrade resources. You can also select a different compute resource that can support the minimum requirements and scale when workload demands indicate an increase is necessary.
52
52
53
53
Check the **Microsoft-SMA** event log for a corresponding event with description *Win32 Process Exited with code [4294967295]*. The cause of this error is you haven't configured authentication in your runbooks or specified the Run As credentials for the Hybrid worker group. Review [Runbook permissions](../automation-hrw-run-runbooks.md#runbook-permissions) to confirm you have correctly configured authentication for your runbooks.
54
54
@@ -73,17 +73,17 @@ This error occurs when you attempt to use a [Run As Account](../manage-runas-acc
73
73
74
74
#### Resolution
75
75
76
-
If your Hybrid Runbook Worker is an Azure VM, you can use [Managed Identities for Azure Resources](../automation-hrw-run-runbooks.md#managed-identities-for-azure-resources) instead. This scenario allows you to authenticate to Azure resources using the managed identity of the Azure VM instead of the Run As Account, simplifying authentication. When the Hybrid Runbook Worker is an on-premises machine, you need to install the Run As Account certificate on the machine. To learn how to install the certificate, see the steps to run the [Export-RunAsCertificateToHybridWorker](../automation-hrw-run-runbooks.md#runas-script) runbook.
76
+
If your Hybrid Runbook Worker is an Azure VM, you can use [Managed Identities for Azure Resources](../automation-hrw-run-runbooks.md#managed-identities-for-azure-resources) instead. This scenario simplifies authentication by allowing you to authenticate to Azure resources using the managed identity of the Azure VM instead of the Run As Account. When the Hybrid Runbook Worker is an on-premises machine, you need to install the Run As Account certificate on the machine. To learn how to install the certificate, see the steps to run the [Export-RunAsCertificateToHybridWorker](../automation-hrw-run-runbooks.md#runas-script) runbook.
77
77
78
78
## Linux
79
79
80
80
The Linux Hybrid Runbook Worker depends on the [Log Analytics agent for Linux](../../azure-monitor/platform/log-analytics-agent.md) to communicate with your Automation account to register the worker, receive runbook jobs, and report status. If registration of the worker fails, here are some possible causes for the error:
81
81
82
-
### <aname="oms-agent-not-running"></a>Scenario: The Log Analyics agent for Linux isn't running
82
+
### <aname="oms-agent-not-running"></a>Scenario: The Log Analytics agent for Linux isn't running
83
83
84
84
#### Issue
85
85
86
-
The Log Analytics agent for Linux is not running
86
+
The Log Analytics agent for Linux isn't running
87
87
88
88
#### Cause
89
89
@@ -106,13 +106,40 @@ The following list shows the processes that are started for a Linux Hybrid Runbo
106
106
107
107
***worker.conf** - This process is the Auto Registered Hybrid worker process, it's started by the worker manager. This process is used by Update Management and is transparent to the user. This process isn't present if the Update Management solution isn't enabled on the machine.
108
108
109
-
***diy/worker.conf** - This process is the DIY hybrid worker process. The DIY hybrid worker process is used to execute user runbooks on the Hybrid Runbook Worker. It only differs from the Auto registered Hybrid worker process in the key detail that is uses a different configuration. This process isn't present if the Azure Automation solution is disabled, and the DIY Linux Hybrid Worker isn't registered.
109
+
***diy/worker.conf** - This process is the DIY hybrid worker process. The DIY hybrid worker process is used to execute user runbooks on the Hybrid Runbook Worker. It only differs from the Auto registered Hybrid worker process in the key detail that it uses a different configuration. This process isn't present if the Azure Automation solution is disabled and the DIY Linux Hybrid Worker isn't registered.
110
110
111
111
If the agent isn't running, run the following command to start the service: `sudo /opt/microsoft/omsagent/bin/service_control restart`.
112
112
113
-
### <aname="class-does-not-exist"></a>Scenario: The specified class does not exist
113
+
### <aname="error-403-on-registration"></a>Scenario: Error 403 during registration of Hybrid Runbook Worker
114
114
115
-
If you see the error: **The specified class does not exist..** in the `/var/opt/microsoft/omsconfig/omsconfig.log` then the Log Analytics agent for Linux needs to be updated. Run the following command to reinstall the agent:
115
+
#### Issue
116
+
117
+
The worker's initial registration phase fails and you receive the following error (403).
118
+
119
+
```error
120
+
"Forbidden: You don't have permission to access / on this server."
121
+
```
122
+
123
+
#### Cause
124
+
125
+
The following are possible causes:
126
+
* There's a mistyped workspace ID or workspace key (primary) in the agent’s settings.
127
+
* The Hybrid Runbook Worker can't download the configuration, causing an account linking error. When Azure enables solutions, it supports only certain regions for linking a Log Analytics workspace and an Automation account. It's also possible that an incorrect date and/or time is set on the computer. If the time is +/-15 minutes from the current time, onboarding fails.
128
+
129
+
#### Resolution
130
+
131
+
##### Mistyped workspace ID/key
132
+
To verify if the agent’s workspace ID or workspace key has been mistyped, see [Adding or removing a workspace – Windows agent](../../azure-monitor/platform/agent-manage.md#windows-agent) for the Windows agent or [Adding or removing a workspace – Linux agent](../../azure-monitor/platform/agent-manage.md#linux-agent) for the Linux agent. Make sure to select the full string from the Azure portal and copy and paste it carefully.
133
+
134
+
##### Configuration not downloaded
135
+
136
+
Your Log Analytics workspace and Automation Account must be in a linked region. For a list of supported regions, see [Azure Automation and Log Analytics workspace mappings](../how-to/region-mappings.md).
137
+
138
+
You might also need to update the date and or time zone of your computer. If you select a custom time range, make sure that the range is in UTC, which can differ from your local time zone.
139
+
140
+
### <aname="class-does-not-exist"></a>Scenario: The specified class doesn't exist
141
+
142
+
If you see the error **The specified class does not exist..** in the `/var/opt/microsoft/omsconfig/omsconfig.log`, the Log Analytics agent for Linux needs to be updated. Run the following command to reinstall the agent:
116
143
117
144
```bash
118
145
wget https://raw.githubusercontent.com/Microsoft/OMS-Agent-for-Linux/master/installer/scripts/onboard_agent.sh && sh onboard_agent.sh -w <WorkspaceID> -s <WorkspaceKey>
@@ -130,13 +157,13 @@ The `healthservice` service isn't running on the Hybrid Runbook Worker machine.
130
157
131
158
#### Cause
132
159
133
-
If the Microsoft Monitoring Agent Windows service isn't running, this state prevents the Hybrid Runbook Worker from communicating with Azure Automation.
160
+
If the Microsoft Monitoring Agent Microsoft service isn't running, this state prevents the Hybrid Runbook Worker from communicating with Azure Automation.
134
161
135
162
#### Resolution
136
163
137
164
Verify the agent is running by entering the following command in PowerShell: `Get-Service healthservice`. If the service is stopped, enter the following command in PowerShell to start the service: `Start-Service healthservice`.
138
165
139
-
### <aname="event-4502"></a> Event 4502 in Operations Manager log
166
+
### <aname="event-4502"></a>Scenario: Event 4502 in Operations Manager log
140
167
141
168
#### Issue
142
169
@@ -148,11 +175,11 @@ This issue can be caused by your proxy or network firewall blocking communicatio
148
175
149
176
#### Resolution
150
177
151
-
Logs are stored locally on each hybrid worker at C:\ProgramData\Microsoft\System Center\Orchestrator\7.2\SMA\Sandboxes. You can check if there are any warning or error events in the **Application and Services Logs\Microsoft-SMA\Operations** and **Application and Services Logs\Operations Manager** event log that would indicate a connectivity or other issue that affects onboarding of the role to Azure Automation or issue while under normal operations. For additional help troubleshooting issues with the Log Analytics agent, see [Troubleshoot issues with the Log Analytics Windows agent](../../azure-monitor/platform/agent-windows-troubleshoot.md).
178
+
Logs are stored locally on each hybrid worker at C:\ProgramData\Microsoft\System Center\Orchestrator\7.2\SMA\Sandboxes. You can check if there are any warning or error events in the **Application and Services Logs\Microsoft-SMA\Operations** and **Application and Services Logs\Operations Manager** event log that indicate a connectivity or other issue that affects onboarding of the role to Azure Automation or issue while under normal operations. For additional help troubleshooting issues with the Log Analytics agent, see [Troubleshoot issues with the Log Analytics Windows agent](../../azure-monitor/platform/agent-windows-troubleshoot.md).
152
179
153
180
[Runbook output and messages](../automation-runbook-output-and-messages.md) are sent to Azure Automation from hybrid workers just like runbook jobs that run in the cloud. You can also enable the Verbose and Progress streams the same way you would for other runbooks.
154
181
155
-
### <aname="corrupt-cache"></a> Hybrid Runbook Worker not reporting
182
+
### <aname="corrupt-cache"></a>Scenario: Hybrid Runbook Worker not reporting
156
183
157
184
#### Issue
158
185
@@ -172,7 +199,7 @@ This issue can be caused by a corrupt cache on the Hybrid Runbook Worker.
172
199
173
200
#### Resolution
174
201
175
-
To resolve this issue, sign in to the Hybrid Runbook Worker and run the following script. This script stops the Microsoft Monitoring Agent, removes its cache, and restarts the service. This action forces the Hybrid Runbook Worker to re-download its configuration from Azure Automation.
202
+
To resolve this issue, sign in to the Hybrid Runbook Worker and run the following script. This script stops the Microsoft Monitoring Agent, removes its cache, and restarts the service. This action forces the Hybrid Runbook Worker to redownload its configuration from Azure Automation.
### <aname="already-registered"></a>Scenario: You are unable to add a Hybrid Runbook Worker
212
+
### <aname="already-registered"></a>Scenario: You can't add a Hybrid Runbook Worker
186
213
187
214
#### Issue
188
215
@@ -194,7 +221,7 @@ Machine is already registered
194
221
195
222
#### Cause
196
223
197
-
This can be caused if the machine is already registered with a different Automation Account or if you try to re-add the Hybrid Runbook Worker after removing it from a machine.
224
+
This issue can be caused if the machine is already registered with a different Automation Account or if you try to readd the Hybrid Runbook Worker after removing it from a machine.
198
225
199
226
#### Resolution
200
227
@@ -208,5 +235,4 @@ If you didn't see your problem or are unable to solve your issue, visit one of t
208
235
209
236
* Get answers from Azure experts through [Azure Forums](https://azure.microsoft.com/support/forums/)
210
237
* Connect with [@AzureSupport](https://twitter.com/azuresupport) – the official Microsoft Azure account for improving customer experience by connecting the Azure community to the right resources: answers, support, and experts.
211
-
* If you need more help, you can file an Azure support incident. Go to the [Azure support site](https://azure.microsoft.com/support/options/) and select **Get Support**.
212
-
238
+
* If you need more help, you can file an Azure support incident. Go to the [Azure support site](https://azure.microsoft.com/support/options/) and select **Get Support**.
0 commit comments