How to change Workspace (Azure Security Centre) Pricing Tier using Powershell

Ankush Chauhan 1 Reputation point
2020-08-11T11:10:56.3+00:00

In Azure Security Centre Pricing and Tier .My subscription is showing Standard Tier.

However, my Workspace Pricing Tier is still showing Free.

![16980-annotation-2020-08-11-210717.png][1]

Though I can change workspace Pricing Tier to Free using Portal, However i want to do it using power shell .

I have tried

Set-AzContext -Subscription "XXXXXXXX"
Set-AzSecurityPricing -Name "Virtual Machine" -PricingTier "Standard" and did the same for other objects

but still Workspace is showing free.

Please suggest how can i change it to standard using powershell cmdlet

Thanks

Ankush

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,250 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Saurabh Sharma 23,781 Reputation points Microsoft Employee
    2020-08-20T19:55:35.137+00:00

    @Ankush Chauhan I have received confirmation from product team that the PS Module available for ASC is only available to change the pricing tier for the subscription level. You may provide this as a feedback at Uservoice so that community can upvote and product team can plan to include into future release.

    ----------

    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.