question

DaveRattenbury-0803 avatar image
0 Votes"
DaveRattenbury-0803 asked SathyamoorthyVijayakumar-MSFT answered

Azure UpdateManagement

Hi All,

I am managing an Azure tenant and specifically updates. I have some Non-Azure server's that cant' connect to the hybrid agent. The Error shows under the Update agent readiness column and shows Not Configured. As they are Non-Azure when you click the troubleshoot link the below doc is loaded.

https://docs.microsoft.com/en-gb/azure/automation/troubleshoot/update-agent-issues?WT.mc_id=Portal-Microsoft_Azure_Automation

Following the instructions to run the PowerShell script doesn't work. The Script runs and the closes. These Non-Azure Machines are Windows 2008 R2 and Windows 7.

Can anyone shed some light?

Kamikaze_worm

azure-automation
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SathyamoorthyVijayakumar-MSFT avatar image
0 Votes"
SathyamoorthyVijayakumar-MSFT answered

@DaveRattenbury-0803 -

I found the reference to the below script in mentioned article. If this is not script - please add a link or script snippet to the question & may ignore the below answer.

https://github.com/Azure/updatemanagement/blob/main/UM_Windows_Troubleshooter_Offline.ps1

I was encountering a similar issue when I ran the script directly - the window closed after the execution.

To overcome this, you will have to open the Powershell (Win Key + R) --> Powershell

105327-image.png

In the Powershell window, Type the Path of the script along with the below mentioned parameters :

 param(
     [string]$automationAccountLocation,
     [switch]$returnCompactFormat,
     [switch]$returnAsJson
 )


105314-image.png

Output :

105394-image.png




image.png (64.6 KiB)
image.png (11.6 KiB)
image.png (10.2 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.