question

JohnPollock-9594 avatar image
0 Votes"
JohnPollock-9594 asked ·

Enable Update Management - error

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: undefinedproto: 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]: /answers/storage/attachments/73511-azure-updm.png

azure-automation
azure-updm.png (60.8 KiB)
· 2
10 |1000 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.

Thank you! Yes, this resolved the issue.

0 Votes 0 ·

Hi @JohnPollock-9594,

Glad to know that the issue is resolved now!

0 Votes 0 ·

1 Answer

tbgangav-MSFT avatar image
1 Vote"
tbgangav-MSFT answered ·

Hi @JohnPollock-9594,

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.

·
10 |1000 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.