Issue Creating Governance Rule in Microsoft Defender for Cloud

John Lyritis 5 Reputation points
2025-04-09T15:04:42.2466667+00:00

Trying to create a governance rule in Microsoft Defender for Cloud results in the following error:


(Extension: Microsoft_Azure_Security)(Content: CreateGovernanceRuleContext.ReactView)

{  

  "shellProps": {    

    "sessionId": "054512c2601e43d5a1933aae1adac505",    

    "extName": "Microsoft_Azure_Security",    

    "contentName": "CreateGovernanceRuleContext.ReactView"  

  },  

  "error": {    

    "message": "Content failed to load.",    

    "details": "Manual require of the following modules failed; [\"ReactViews/Security/Governance/CreateGovernanceRuleContext/CreateGovernanceRuleContext.ReactView\" : {Error: Couldn't load \"ReactViews/Security/Governance/CreateGovernanceRuleContext/CreateGovernanceRuleContext.ReactView\" at \"https://afd-v2.hosting.portal.azure.net/security/Content/Dynamic/pPhaCQV-ODi9.js\" as the following exception was thrown; {\"message\":\"T.current is null\",\"stack\":\"e.useMemo@https://portal.azure.com/Content/Dynamic/EdO70eIAM6Rz.js:89:6049\\nL@https://portal.azure.com/Content/Dynamic/xqX21tiU9T5X.js:1:20478\\n@https://afd-v2.hosting.portal.azure.net/security/Content/Dynamic/pPhaCQV-ODi9.js:105:409209\\n@https://afd-v2.hosting.portal.azure.net/security/Content/Dynamic/pPhaCQV-ODi9.js:105:429094\\n@https://afd-v2.hosting.portal.azure.net/security/Content/Dynamic/pPhaCQV-ODi9.js:105:429100\\nt@https://reactblade.portal.azure.net//Content/Dynamic/xkM_epbTs0Ai.js:1:10433\\nFe/a/a/<@https://reactblade.portal.azure.net//Content/Dynamic/xkM_epbTs0Ai.js:1:10492\\nge@https://reactblade.portal.azure.net//Content/Dynamic/xkM_epbTs0Ai.js:1:2286\\na@https://reactblade.portal.azure.net//Content/Dynamic/xkM_epbTs0Ai.js:1:10271\\na@https://reactblade.portal.azure.net//Content/Dynamic/xkM_epbTs0Ai.js:1:11382\\nFe@https://reactblade.portal.azure.net//Content/Dynamic/xkM_epbTs0Ai.js:1:11759\\nAe@https://reactblade.portal.azure.net//Content/Dynamic/xkM_epbTs0Ai.js:1:9388\\n@https://afd-v2.hosting.portal.azure.net/security/Content/Dynamic/pPhaCQV-ODi9.js:3:7\\n\"}}];"

  },  

  "code": null  

}

Any insights on why this error occurs?

Microsoft Security | Microsoft Defender | Microsoft Defender for Cloud
{count} votes

1 answer

Sort by: Most helpful
  1. Venkata Jagadeep 1,400 Reputation points Microsoft External Staff Moderator
    2025-04-18T10:23:26.7233333+00:00

    Hello John Lyritis,

    This might happen if the browser is not able to load the page.

    Please clear your browser cahce and cookies and restart the browser. Please remove any browser extensions and try to open in in-private browser.

    Also suggest you update the browser to the latest.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.