我需要为我的订阅 (EA) 启用 Azure Defender 计划。我是此订阅的所有者。但在定义服务后点击保存时出现 javascript 错误。
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'properties')
at lV1h5UH6pkvF.js:28:27861
at Array.filter (<anonymous>)
at d._checkForDowngradeEvent (lV1h5UH6pkvF.js:28:27701)
at d.<anonymous> (lV1h5UH6pkvF.js:28:27138)
at s (0vDMk2KjBH7c.js:17:2634)
at Object.next (0vDMk2KjBH7c.js:17:1927)
at 0vDMk2KjBH7c.js:17:1850
at new Promise (<anonymous>)
at __awaiter (0vDMk2KjBH7c.js:17:1644)
at d._saveChanges (lV1h5UH6pkvF.js:28:26951)
at Object.saveChanges (lV1h5UH6pkvF.js:28:20653)
at Object.execute (lV1h5UH6pkvF.js:25:1129)
at n.invoke (FrDcaNKPuP17.js:34:21430)
at Array.<anonymous> (FrDcaNKPuP17.js:36:4361)
at n.handleMessage (0vDMk2KjBH7c.js:80:5685)
at n.handleEventMessage (FrDcaNKPuP17.js:36:4663)
at Array.<anonymous> (FrDcaNKPuP17.js:36:6857)
at n.handleMessage (0vDMk2KjBH7c.js:80:5685)
at _handleMessage (0vDMk2KjBH7c.js:80:11863)
at p (0vDMk2KjBH7c.js:80:1489)
at n._handler (0vDMk2KjBH7c.js:80:12133)
at n._processInnerList (0vDMk2KjBH7c.js:80:4432)
at n._processOuterList (0vDMk2KjBH7c.js:80:4684)
at n.addItem (0vDMk2KjBH7c.js:80:4867)
at MessagePort._handleMessage (0vDMk2KjBH7c.js:80:6191)
答案1
您是否尝试过使用 Azure PowerShell:使用以下 Azure PowerShell 命令为 Cloud 启用 Microsoft Defender,例如为虚拟机启用:
Set-AzSecurityPricing -Name "virtualmachines" -PricingTier "Standard"