Enable Update Management - error

John Pollock 1 Reputation point
2021-03-02T17:42:11.963+00:00

Hi, I tried to enable Update Management, and everything appears to go well until trying to click the "Enable" button (nothing happens except in the browser console). ![73511-azure-updm.png][1] The browser console shows the following error: ---------- _1rRA0vmyWGo.js:10 [Microsoft_Azure_Automation] 11:27:01 AM MsPortalFx.Base.Diagnostics.ErrorReporter 3 MsPortalFx.Base.Diagnostics.ErrorReporter: message: vmLocation is null or undefined stack: RangeError: vmLocation is null or undefined at n.parseAzureLocation (https://afd.hosting.portal.azure.net/automation/Content/Dynamic/Dl4HLLcd_rAr.js:96:2747) at n.getRegionOMS (https://afd.hosting.portal.azure.net/automation/Content/Dynamic/Dl4HLLcd_rAr.js:96:5324) at t.onClick (https://afd.hosting.portal.azure.net/automation/Content/Dynamic/RzOlgOHfvEVF.js:1:6756) at t.invokeClickHandler (https://portal.azure.com/Content/Dynamic/wPDZ5XNJ2oEx.js:81:10072) at n.invoke (https://portal.azure.com/Content/Dynamic/\_1rRA0vmyWGo.js:35:21026) at Array.<anonymous> (https://portal.azure.com/Content/Dynamic/\_1rRA0vmyWGo.js:37:4369) at n.handleMessage (https://portal.azure.com/Content/Dynamic/wPDZ5XNJ2oEx.js:119:5321) at n.handleEventMessage (https://portal.azure.com/Content/Dynamic/\_1rRA0vmyWGo.js:37:4671) at Array.<anonymous> (https://portal.azure.com/Content/Dynamic/\_1rRA0vmyWGo.js:37:7129) at n.handleMessage (https://portal.azure.com/Content/Dynamic/wPDZ5XNJ2oEx.js:119:5321) From RPC: fx -> Microsoft_Azure_Automation (Callstack capturing is not enabled. Use ?trace=diagnostics to enable it.) {message: undefined, fileName: undefined, lineNumber: undefined, columnNumber: undefined, additionalInfo: false}additionalInfo: falsecolumnNumber: undefinedfileName: undefinedlineNumber: undefinedmessage: undefined__proto__: Object r @ _1rRA0vmyWGo.js:10 a @ _1rRA0vmyWGo.js:10 k @ _1rRA0vmyWGo.js:10 t.error @ _1rRA0vmyWGo.js:10 g @ wPDZ5XNJ2oEx.js:177 k @ wPDZ5XNJ2oEx.js:177 t @ _1rRA0vmyWGo.js:31 (anonymous) @ _1rRA0vmyWGo.js:37 v @ wPDZ5XNJ2oEx.js:119 (anonymous) @ wPDZ5XNJ2oEx.js:119 n._processInnerList @ wPDZ5XNJ2oEx.js:119 n._processOuterList @ wPDZ5XNJ2oEx.js:119 n.addItem @ wPDZ5XNJ2oEx.js:119 _handleMessage @ wPDZ5XNJ2oEx.js:119 -------- Is there something I need to on my end that would help? Thanks! :) [1]: /api/attachments/73511-azure-updm.png?platform=QnA

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,132 questions
{count} votes

1 answer

Sort by: Most helpful
  1. tbgangav-MSFT 10,386 Reputation points
    2021-03-03T11:38:16.78+00:00

    Hi @John Pollock ,

    In general, while trying to enable update management we see this (MsPortalFx.Base.Diagnostics.ErrorReporter: message: vmLocation is null or undefined) error if machines were linked with different Log Analytics workspace. So I would recommend you to verify it and make sure the machines are linked with correct Log Analytics workspace. Let me know if that is not the case here.

    1 person found this answer helpful.