Share via

Not able to patch vm's using update mangement.

siva 0 Reputation points
2023-05-02T16:49:58.3466667+00:00

Hi,

I am trying to patch my azure vm's using update management in automation account. I am doing this for first time in this setup. Update management not able to patch vm's. Geeting error saying Failed to start. I checked for logs on the vm. I am getting below error. Can you please help here. Please find the attachment for screenshot.

Error while polling the hybrid notification channel. [AccountId={14ea4741-990f-4693-a1d9-55135b0f6192}] [RunbookWorkerGroup=practice-vm1_c6ce3da6-188f-4d18-aaaa-4b3af9651f4b] [MachineName=practice-vm1] [MachineId={c6ce3da6-188f-4d18-aaaa-4b3af9651f4b}] [Exception=JobRuntimeData.Client.JobRuntimeDataServiceClientException: The remote server returned an error: (403) Forbidden.
 [System.Net.WebException: The remote server returned an error: (403) Forbidden.]
   at JobRuntimeData.Client.JobRuntimeDataServiceClient.Get[T](String suffixUri, IDictionary`2 queryParameters, IDictionary`2 headers)
   at JobRuntimeData.Client.Operations.SandboxOperations.GetActions(Guid accountId, String hybridWorkerGroupName, String hybridWorkerVersion)
   at Orchestrator.HybridChannel.HybridJobRuntimeDataServiceClient.Receive()
   at RunbookWorker.Hybrid.CloudNotificationManager.PollAndNotify()

   inner exception -> System.Net.WebException: The remote server returned an error: (403) Forbidden.
   at System.Net.HttpWebRequest.GetResponse()
   at Orchestrator.WebClient.RequestChannel.IssueRequestAndGetResponse[T](HttpWebRequest request, WebHeaderCollection& responseHeaders, String payload)
   at Orchestrator.WebClient.WebClient.Get[T](WebHeaderCollection& responseHeaders)
   at JobRuntimeData.Common.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)
   at JobRuntimeData.Client.JobRuntimeDataServiceClient.Get[T](String suffixUri, IDictionary`2 queryParameters, IDictionary`2 headers)
]
Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.