How to get defender for cloud plans activated for a long analytics workspace through powershell?

Lakshmi Bharath Kumar Dasa 0 Reputation points
2023-04-21T09:31:02.17+00:00

Hello everyone, I am trying to get the defender for cloud plans activated for a log analytics workspace through powershell, but there is no such command in powershell to get that. Can anyone help me with this would be highly appreciated. Thanks in advance

Microsoft Defender for Cloud
Microsoft Defender for Cloud
An Azure service that provides threat protection for workloads running in Azure, on-premises, and in other clouds. Previously known as Azure Security Center and Azure Defender.
1,233 questions
Microsoft Defender for Identity
Microsoft Defender for Identity
A Microsoft service that helps protect enterprise hybrid environments from multiple types of advanced, targeted cyberattacks and insider threats.
168 questions
Microsoft Defender for Cloud Apps
Microsoft Defender for Cloud Apps
A Microsoft cloud access security broker that enables customers to control the access and use of software as a service apps in their organization.
116 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. David Broggy 5,691 Reputation points MVP
    2023-04-22T12:31:46.8066667+00:00

    Hi Lakshmi, There is documentation here on creating D4C policies using powershell/az commands. Or are you asking about something else? https://learn.microsoft.com/en-us/azure/governance/policy/assign-policy-powershell#create-a-policy-assignment

    0 comments No comments