This Powershell script is designed to remove updates solution from their log analytics workspace linked to the automation account and disables update schedules.
- This runbook will disable the schedules associated with the software update configurations to further ensure that the Runbook Patch-MicrosoftOMSComputers is not triggered.
- It will also remove updates solution from their log analytics workspace linked to the automation account.
- This will also ensure that system hybrid workers used for Azure Automation Update Management under this automation account stops sending pings and eventually post 30 days they will be deleted automatically.
Mandatory. Automation Account Resource Id.
Mandatory. Client Id of the User Assigned Managed Idenitity.
Deboarding -AutomationAccountResourceId "/subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Automation/automationAccounts/{aaName}" -ClientId "########-####-####-####-############"
The count of software update configurations disabled.
Status of removing updates solution from linked log analytics workspace of the automation account.