Forum Discussion

Carsten Stahlberg's avatar
Carsten Stahlberg
Copper Contributor
Apr 26, 2017
Solved

OMS UPdate management not working at all

I got two seperate azure environments and I am trying to use oms update management (free tier). Both environments seem to be unable to patch any server they always fail with the most helpful error m...
  • Carsten Stahlberg's avatar
    Carsten Stahlberg
    Jun 09, 2017

    Through a Microsoft support call we found out that the new problem is caused by a parameter error in a function call inside the oms patch script and an updated for a default printer driver from 2006 (on windows Server 2016).

     

    At the moment when an update fails the script will try to add it to a failed list using this line of code:

    AddUpdateToFailList GetUpdateKbID($update.KBArticleIDs) $update.Title $update.Identity.UpdateID  $null "Install Failed" $baseException.HResult 

    The problem is that GetUpdateKbID and $update.KBArtcileIDs are treated as two seperate parameters.

     

    By june the 15th a new version of the script should be rolled out to all azure datacenters.

    The script contains a fixed function call.

    AddUpdateToFailList $(GetUpdateKbID($update.KBArticleIDs)) $update.Title $update.Identity.UpdateID  $null "Install Failed" $baseException.HResult  

     

     

Resources