Error when creating VMs in PS

Christopher Hartline 1 Reputation point
2020-08-30T19:42:07.87+00:00

Hey folks.

I don't seem to have an issue creating VMs through the Portal. Likewise w/ PS or CLI w/in Cloud Shell until yesterday (~29 Aug 2020). Now I receive the following error

New-AzVM: The property 'securityProfile.encryptionAtHost' is not valid because the 'Microsoft.Compute/EncryptionAtHost' feature is not enabled fo
r this subscription.

I've attempted to register "Microsfot.Compute ... " but got another error indicating that the resource didn't need to be registered.

Anyone else? Thoughts?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,784 questions
{count} votes

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 26,211 Reputation points
    2020-08-31T03:18:24.973+00:00

    @Christopher Hartline

    Firstly, apologies for any inconvenience this issue may have caused. Based on the error message you have shared, this is a know issue and from the latest updated on the issue the fix has been deployed and it will take some time to be deployed globally.

    I would request you to try to VM deployment after sometime and see if you are still running into issue.

    Also, if you want to report anything further on this, please add your comments on the issue:

    https://github.com/Azure/azure-powershell/issues/12776

    Hope this helps.

    Please 'Accept as answer' if the provided information is helpful, so that it can help others in the community looking for help on similar topics.

    0 comments No comments

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.