How To Disable Azure Disk Encryption

Disabling Azure Disk Encryption matters for the security of your Azure resources. This article will discuss the quick approaches to do this task.

Note: Before executing this command, ensure your VM is running.

Disable Azure Disk Encryption

Let us dive deep into the two approaches individually.

Approach-1: Using PowerShell

You can use the Azure PowerShell command below for this purpose.

Disable-AzVMDiskEncryption -ResourceGroupName "newresgroup" -VMName "AzureLessonsVM" -VolumeType "all"

After executing the above PowerShell command, I got the expected output, as shown in the screenshot below.

Click on the Yes button on the below pop up.

disable azure disk encryption linux
Disable Azure Disk Encryption

I logged in to the Azure Portal and navigated to the Azure VM. The screenshot below shows that the Azure disk encryption had been disabled.

disable disk encryption azure vm

Before executing the PowerShell script, Azure disk encryption was enabled, as shown in the screenshot below.

remove disk encryption azure vm

Check out Azure how to check if disk is managed or unmanaged

Approach-2: Using Azure CLI

You can execute the below Azure CLI command to disable the Azure Disk Encryption.

az vm encryption disable --name "AzureLessonsVM" --resource-group "newresgroup" --volume-type "all"

After executing the above Azure CLI command, I got the expected output as below, and the ADE had been disabled successfully.

remove disk encryption azure vm

Then, I verified in the Azure Portal and saw that the ADE had been disabled successfully.

How to remove disk encryption azure vm

You may also like following the articles below.

Azure Virtual Machine

DOWNLOAD FREE AZURE VIRTUAL MACHINE PDF

Download our free 25+ page Azure Virtual Machine guide and master cloud deployment today!