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/automation/troubleshoot/update-management.md
+70-30Lines changed: 70 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,19 +11,19 @@ manager: carmonm
11
11
---
12
12
# Troubleshooting issues with Update Management
13
13
14
-
This article discusses solutions to issues that you might encounter when you use Update Management.
14
+
This article discusses solutions to issues that you might come across when using Update Management.
15
15
16
16
There's an agent troubleshooter for the Hybrid Worker agent to determine the underlying problem. To learn more about the troubleshooter, see [Troubleshoot update agent issues](update-agent-issues.md). For all other issues, use the following troubleshooting guidance.
17
17
18
-
If you encounter issues while you're trying to onboard the solution on a virtual machine (VM), check the **Operations Manager** log under **Application and Services Logs** on the local machine for events with event ID 4502 and event details that contain `Microsoft.EnterpriseManagement.HealthService.AzureAutomation.HybridAgent`.
18
+
If you encounter issues when onboarding the solution on a virtual machine (VM), check the **Operations Manager** log under **Application and Services Logs** on the local machine. Look for events with event ID 4502 and event details that contain `Microsoft.EnterpriseManagement.HealthService.AzureAutomation.HybridAgent`.
19
19
20
-
The following section highlights specific error messages and possible resolutions for each. For other onboarding issues see [Troubleshoot solution onboarding](onboarding.md).
20
+
The following section highlights specific error messages and possible resolutions for each. For other onboarding issues, see [Troubleshoot solution onboarding](onboarding.md).
21
21
22
22
## Scenario: You receive the error "Failed to enable the Update solution"
23
23
24
24
### Issue
25
25
26
-
When you attempt to enable the Update Management solution in your Automation account, you encounter the following error:
26
+
When you try to enable the Update Management solution in your Automation account, you get the following error:
27
27
28
28
```error
29
29
Error details: Failed to enable the Update solution
@@ -33,11 +33,11 @@ Error details: Failed to enable the Update solution
33
33
34
34
This error can occur for the following reasons:
35
35
36
-
* The network firewall requirements for the Log Analytics agent might not be configured correctly, causing the agent to fail when resolving the DNS URLs.
36
+
* The network firewall requirements for the Log Analytics agent might not be configured correctly. This can cause the agent to fail when resolving the DNS URLs.
37
37
38
-
* Solution targeting is misconfigured and the machine is not receiving updates as expected.
38
+
* Solution targeting is misconfigured and the machine isn't receiving updates as expected.
39
39
40
-
* You might also notice that the machine shows a status of `Non-compliant` under **Compliance**. At the same time, **Agent update readiness** reports the agent as `Disconnected`.
40
+
* You might also notice that the machine shows a status of `Non-compliant` under **Compliance**. At the same time, **Agent Desktop Analytics** reports the agent as `Disconnected`.
41
41
42
42
### Resolution
43
43
@@ -47,23 +47,23 @@ This error can occur for the following reasons:
47
47
48
48
* Go to [Network planning](../../azure-monitor/platform/log-analytics-agent.md#network-requirements) to learn about which addresses and ports must be allowed for the Log Analytics agent to work.
49
49
50
-
* Check for scope configuration problems. [Scope configuration](../automation-onboard-solutions-from-automation-account.md#scope-configuration) determines which machines get configured for the solution. If your machine is showing up in your workspace but not in the **Update Management** portal, you'll need to set the scope configuration to target the machines. To learn about the scope configuration, see [Onboard machines in the workspace](../automation-onboard-solutions-from-automation-account.md#onboard-machines-in-the-workspace).
50
+
* Check for scope configuration problems. [Scope configuration](../automation-onboard-solutions-from-automation-account.md#scope-configuration) determines which machines get configured for the solution. If your machine is showing up in your workspace but not in the **Update Management Portal, you'll need to set the scope configuration to target the machines. To learn about the scope configuration, see [Onboard machines in the workspace](../automation-onboard-solutions-from-automation-account.md#onboard-machines-in-the-workspace).
51
51
52
52
* Remove the worker configuration by following the steps in [Deleting the hybrid runbook worker](../automation-hybrid-runbook-worker.md#remove-a-hybrid-runbook-worker).
53
53
54
54
## Scenario: Superseded update indicated as missing in Update Management
55
55
56
56
### Issue
57
57
58
-
Old updates are appearing in Update Management in the Automation account as missing even though they have been superseded. A superseded update is one that doesn't have to be installed because a later update that corrects the same vulnerability is available. Update Management ignores the superseded update and makes it not applicable in favor of the superseding update. For information about a related issue, see [Update is superseded](https://docs.microsoft.com/windows/deployment/update/windows-update-troubleshooting#the-update-is-not-applicable-to-your-computer).
58
+
Old updates are appearing in Update Management in the Automation account as missing even though they have been superseded. A superseded update is one that you don't have to install because a later update that corrects the same vulnerability is available. Update Management ignores the superseded update and makes it not applicable in favor of the superseding update. For information about a related issue, see [Update is superseded](https://docs.microsoft.com/windows/deployment/update/windows-update-troubleshooting#the-update-is-not-applicable-to-your-computer).
59
59
60
60
### Cause
61
61
62
62
Superseded updates are not being correctly indicated as declined so that they can be considered not applicable.
63
63
64
64
### Resolution
65
65
66
-
When a superseded update becomes 100 percent not applicable, you should change the approval state of that update to `Declined`. To do this for all your updates:
66
+
When a superseded update becomes 100 percent not applicable, you should change the approval state of that update to `Declined`. To change approval state for all your updates:
67
67
68
68
1. In the Automation account, select **Update Management** to view machine status. See [View update assessments](../manage-update-multi.md#view-an-update-assessment).
69
69
@@ -77,7 +77,7 @@ When a superseded update becomes 100 percent not applicable, you should change t
77
77
78
78
6. Run the cleanup wizard to delete files from the declined updates.
79
79
80
-
7. For WSUS, manually clean all superseded updates to refresh the infrastructure.
80
+
7. For Windows Server Update Services (WSUS), manually clean all superseded updates to refresh the infrastructure.
81
81
82
82
8. Repeat this procedure regularly to correct the display issue and minimize the amount of disk space used for update management.
83
83
@@ -103,57 +103,95 @@ You might have defined a quota in your workspace that's been reached and that's
103
103
104
104
### Resolution
105
105
106
-
* Run the troubleshooter for [Windows](update-agent-issues.md#troubleshoot-offline) or [Linux](update-agent-issues-linux.md#troubleshoot-offline), depending on the OS.
106
+
1. Run the troubleshooter for [Windows](update-agent-issues.md#troubleshoot-offline) or [Linux](update-agent-issues-linux.md#troubleshoot-offline), depending on the OS.
107
107
108
-
* Make sure that your machine is reporting to the correct workspace. For guidance on how to verify this aspect, see [Verify agent connectivity to Log Analytics](../../azure-monitor/platform/agent-windows.md#verify-agent-connectivity-to-log-analytics). Also make sure that this workspace is linked to your Azure Automation account. To confirm, go to your Automation account and select **Linked workspace** under **Related Resources**.
108
+
2. Make sure that your machine is reporting to the correct workspace. For guidance on how to verify this aspect, see [Verify agent connectivity to Log Analytics](../../azure-monitor/platform/agent-windows.md#verify-agent-connectivity-to-log-analytics). Also make sure that this workspace is linked to your Azure Automation account. To confirm, go to your Automation account and select **Linked workspace** under **Related Resources**.
109
109
110
-
* Make sure that the machines show up in your Log Analytics workspace. Run the following query in the Log Analytics workspace that's linked to your Automation account:
110
+
3. Make sure that the machines show up in your Log Analytics workspace. Run the following query in the Log Analytics workspace that's linked to your Automation account:
111
111
112
112
```loganalytics
113
113
Heartbeat
114
114
| summarize by Computer, Solutions
115
115
```
116
-
117
-
If you don't see your machine in the query results, it hasn't recently checked in, which means there's probably a local configuration issue and you should [reinstall the agent](../../azure-monitor/learn/quick-collect-windows-computer.md#install-the-agent-for-windows). If your machine shows up in the query results, you need to verify the scope configuration specified in the next bulleted item in this list.
118
116
119
-
* Check for scope configuration problems. [Scope configuration](../automation-onboard-solutions-from-automation-account.md#scope-configuration) determines which machines get configured for the solution. If your machine is showing up in your workspace but not in the **Update Management** portal, you'll need to configure the scope configuration to target the machines. To learn how to do this, see [Onboard machines in the workspace](../automation-onboard-solutions-from-automation-account.md#onboard-machines-in-the-workspace).
117
+
4. If you don't see your machine in the query results, it hasn't recently checked in. There's probably a local configuration issue and you should [reinstall the agent](../../azure-monitor/learn/quick-collect-windows-computer.md#install-the-agent-for-windows).
118
+
119
+
5. If your machine shows up in the query results, check for scope configuration problems. [Scope configuration](../automation-onboard-solutions-from-automation-account.md#scope-configuration) determines which machines are configured for the solution. If your machine is showing up in your workspace but not in the **Update Management Portal, you must configure the scope configuration to target the machines. To learn how to do this, see [Onboard machines in the workspace](../automation-onboard-solutions-from-automation-account.md#onboard-machines-in-the-workspace).
120
120
121
-
* In your workspace, run the following query:
121
+
6. In your workspace, run the following query:
122
122
123
123
```loganalytics
124
124
Operation
125
125
| where OperationCategory == 'Data Collection Status'
126
126
| sort by TimeGenerated desc
127
127
```
128
128
129
-
If you get a `Data collection stopped due to daily limit of free data reached. Ingestion status = OverQuota` result, there's a quota defined on your workspace that's been reached and that has stopped data from being saved. In your workspace, go to **Usage and estimated costs**>**data volume management** and check your quota or remove it.
129
+
7.If you get a `Data collection stopped due to daily limit of free data reached. Ingestion status = OverQuota` result, there's a quota defined on your workspace that's been reached and that has stopped data from being saved. In your workspace, go to **data volume management**under**Usage and estimated costs** and check your quota or remove it.
130
130
131
-
* If these steps don't resolve your problem, follow the steps in [Deploy a Windows Hybrid Runbook Worker](../automation-windows-hrw-install.md) to reinstall the Hybrid Worker for Windows. For Linux, follow the steps in [Deploy a Linux Hybrid Runbook Worker](../automation-linux-hrw-install.md).
131
+
8. If your issue is still unresolved, follow the steps in [Deploy a Windows Hybrid Runbook Worker](../automation-windows-hrw-install.md) to reinstall the Hybrid Worker for Windows. For Linux, follow the steps in [Deploy a Linux Hybrid Runbook Worker](../automation-linux-hrw-install.md).
132
132
133
-
## <aname="rp-register"></a>Scenario: Unable to register Automation Resource Provider for subscriptions
133
+
## <aname="rp-register"></a>Scenario: Unable to register Automation resource provider for subscriptions
134
134
135
135
### Issue
136
136
137
-
When you work with solutions in your Automation account, you encounter the following error:
137
+
When you work with solutions in your Automation account, the following error occurs:
138
138
139
139
```error
140
-
Error details: Unable to register Automation Resource Provider for subscriptions:
140
+
Error details: Unable to register Automation Resource Provider for subscriptions
141
141
```
142
142
143
143
### Cause
144
144
145
-
The Automation Resource Provider isn't registered in the subscription.
145
+
The Automation resource provider isn't registered in the subscription.
146
146
147
147
### Resolution
148
148
149
-
To register the Automation Resource Provider, follow these steps in the Azure portal:
149
+
To register the Automation resource provider, follow these steps in the Azure portal:
150
150
151
151
1. In the Azure service list at the bottom of the portal, select **All services**, and then select **Subscriptions** in the General service group.
152
152
2. Select your subscription.
153
153
3. Under **Settings**, select **Resource Providers**.
154
154
4. From the list of resource providers, verify that the `Microsoft.Automation` resource provider is registered.
155
155
5. If it's not listed, register the `Microsoft.Automation` provider by following the steps at [Resolve errors for resource provider registration](/azure/azure-resource-manager/resource-manager-register-provider-errors).
156
156
157
+
## <aname="update-missed-machines"></a>Scenario: Scheduled update with a dynamic schedule missed some machines
158
+
159
+
### Issue
160
+
161
+
Previewed machines included in an update do not all appear in the list of machines patched during a scheduled run.
162
+
163
+
### Cause
164
+
165
+
This issue can have one of the following causes:
166
+
167
+
* The subscriptions defined in the scope in a dynamic query aren't configured for the registered Automation resource provider.
168
+
* The machines weren't available or didn't have the appropriate tags when the schedule was executed.
169
+
170
+
### Resolution
171
+
172
+
#### Subscriptions not configured for registered Automation resource provider
173
+
174
+
If your subscription is not configured for the Automation resource provider, you can't query or fetch information on machines in that subscription. Use the following steps to ensure the registration for the subscription.
175
+
176
+
1. In the [Azure Portal](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-providers-and-types#azure-portal), access the Azure service list.
177
+
2. Select **All services**, and then select **Subscriptions** in the General service group.
178
+
3. Find the subscription defined in the scope for your deployment.
179
+
4. Under **Settings**, choose **Resource Providers**.
180
+
5. Verify that the `Microsoft.Automation` resource provider is registered.
181
+
6. If it's not listed, register the `Microsoft.Automation` provider by following the steps at [Resolve errors for resource provider registration](/azure/azure-resource-manager/resource-manager-register-provider-errors).
182
+
183
+
#### Machines not available or not tagged correctly when schedule executed
184
+
185
+
Use the following procedure if your subscription is configured for the Automation resource provider, but running the update schedule with the specified [dynamic groups](../automation-update-management-groups.md) missed some machines.
186
+
187
+
1. In the Azure portal, open the Automation account and select **Update Management**.
188
+
2. Check [Update Management history](https://docs.microsoft.com/azure/automation/manage-update-multi#view-results-of-an-update-deployment) to determine the exact time when the update deployment was run.
189
+
3. For machines that you suspect to have been missed by Update Management, use Azure Resource Graph to [locate machine changes](https://docs.microsoft.com/azure/governance/resource-graph/how-to/get-resource-changes#find-detected-change-events-and-view-change-details).
190
+
4. Search for changes over a considerable period, such as one day, before the update deployment was run.
191
+
5. Check the search results for any systemic changes, such as delete or update changes, to the machines in this period. These changes can alter machine status or tags so that machines aren't selected in the machine list when updates are deployed.
192
+
6. Adjust the machines and resource settings as necessary to correct for machine status or tag issues.
193
+
7. Rerun the update schedule to ensure that deployment with the specified dynamic groups includes all machines.
194
+
157
195
## <aname="components-enabled-not-working"></a>Scenario: Components for Update Management solution enabled, while VM continues to show as being configured
158
196
159
197
### Issue
@@ -285,7 +323,7 @@ When applicable, use [dynamic groups](../automation-update-management-groups.md)
* After you find affected machines, edit the update deployments that target those machines, and then remove and re-add them so that `SourceComputerId` reflects the correct value.
326
+
* After you find affected machines, edit the update deployments that target those machines, and then remove and readd them so that `SourceComputerId` reflects the correct value.
289
327
290
328
## <aname="updates-nodeployment"></a>Scenario: Updates are installed without a deployment
291
329
@@ -397,12 +435,14 @@ The Update Agent (Windows Update Agent on Windows; the package manager for a Lin
397
435
398
436
### Resolution
399
437
400
-
Try to perform updates locally on the machine. If this fails, it typically means there's a configuration error with the update agent.
438
+
Try to perform updates locally on the machine. If this operation fails, it typically means that there's an update agent configuration error.
401
439
402
-
This problem is frequently caused by network configuration and firewall issues. Try the following:
440
+
This problem is frequently caused by network configuration and firewall issues. Use the following checks to correct the issue.
403
441
404
442
* For Linux, check the appropriate documentation to make sure you can reach the network endpoint of your package repository.
443
+
405
444
* For Windows, check your agent configuration as listed in [Updates aren't downloading from the intranet endpoint (WSUS/SCCM)](/windows/deployment/update/windows-update-troubleshooting#updates-arent-downloading-from-the-intranet-endpoint-wsussccm).
445
+
406
446
* If the machines are configured for Windows Update, make sure you can reach the endpoints described in [Issues related to HTTP/proxy](/windows/deployment/update/windows-update-troubleshooting#issues-related-to-httpproxy).
407
447
* If the machines are configured for Windows Server Update Services (WSUS), make sure you can reach the WSUS server configured by the [WUServer registry key](/windows/deployment/update/waas-wu-settings).
408
448
@@ -447,9 +487,9 @@ Possible causes:
447
487
448
488
If failures occur during an update run after it starts successfully, [check the job output](../manage-update-multi.md#view-results-of-an-update-deployment) from the affected machine in the run. You might find specific error messages from your machines that you can research and take action on. Update Management requires the package manager to be healthy for successful update deployments.
449
489
450
-
If specific patches, packages, or updates are seen immediately before the job fails, you can try [excluding](../automation-tutorial-update-management.md#schedule-an-update-deployment)those from the next update deployment. To gather log info from Windows Update, see [Windows Update log files](/windows/deployment/update/windows-update-logs).
490
+
If specific patches, packages, or updates are seen immediately before the job fails, you can try [excluding](../automation-tutorial-update-management.md#schedule-an-update-deployment)these items from the next update deployment. To gather log information from Windows Update, see [Windows Update log files](/windows/deployment/update/windows-update-logs).
451
491
452
-
If you can't resolve a patching issue, make a copy of the following log file and preserve it for troubleshooting purposes before the next update deployment starts:
492
+
If you can't resolve a patching issue, make a copy of the following log file and preserve it for troubleshooting purposes before the next update deployment starts.
0 commit comments