Failed to save 'sql servers on machines' plan for subsribtion 'N/A'

Marcin 0 Reputation points
2024-07-10T08:14:42.64+00:00

Trying to turn off Azure Defender for Cloud but have error:defender

How to do it successfully ?

Azure SQL Database
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,421 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amira Bedhiafi 26,656 Reputation points
    2024-07-10T10:05:15.4866667+00:00

    To make changes to Azure Defender settings, you need to be an owner, contributor, or have the Security Admin role on the subscription.

    Sometimes, clearing the browser cache can resolve issues with saving settings in the Azure portal.

    You can also use Azure CLI to disable the Defender plan. Open the Azure Cloud Shell or your local terminal and run the following command:

    
    az security pricing create --name "SqlServerVirtualMachines" --tier "Free" --subscription "<your-subscription-id>"
    
    

    If none of the above steps work, consider opening a support ticket with Microsoft. There might be an issue specific to your subscription or a broader service issue.


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.