Skip to main content

Restore of Azure VM to another subscription fails

Restore of Azure VM to another subscription fails

Updated over a week ago

Problem Description

Restore of Azure VM to another subscription fails with error 'Microsoft.Compute/EncryptionAtHost' feature is not enabled for this subscription."

This means you are trying to create a Virtual Machine (VM) in Azure with host-based encryption enabled (encryptionAtHost), but your Azure subscription doesn't have this feature enabled.

Traceback

Error : The property 'securityProfile.encryptionAtHost' is not valid because the 'Microsoft.Compute/EncryptionAtHost' feature is not enabled for this subscription."

Resolution:

  • Contact Azure admin or Azure support to get the feature enabled on the Azure subscription where encryptionAtHost feature needs to be enabled.

Reference:

Did this answer your question?