Get the configuration of Microsoft Defender Plans Cloud Workload Protection using Automation Account Runbook PowerShell

Lintag, Carlo Alfonso 0 Reputation points
2024-03-11T04:36:11.0533333+00:00

I am trying to get the configuration of the Microsoft Defender for Cloud in all of our subscriptions. Specifically, I want to get the Cloud Workload Protection Details. All I am able to get are the pricing details of the plans and not specific details such as the resource quantity, monitoring coverage, and the status of the plan.

Microsoft Security | Microsoft Defender | Microsoft Defender for Cloud
Windows for business | Windows Server | User experience | PowerShell
{count} votes

1 answer

Sort by: Most helpful
  1. Andrew Blumhardt 10,071 Reputation points Microsoft Employee
    2024-03-12T12:12:59.4033333+00:00

    MDC stores much of the config in the Azure Resource Graph. Many of the MDC portal screens have an Open Query button that provides a sample graph query. I assume there are PS options for running a graph query. https://learn.microsoft.com/en-us/azure/governance/resource-graph/first-query-powershell

    User's image

    0 comments No comments

Your answer

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