I tried to make an new VM using the cloud shell. I used the actual example # 1 from Microsoft Docs as follows:
New-AzVM -Name MyVm -Credential (Get-Credential)
After entering in a user name and a password I get the following error message:
New-AzVM: The property 'securityProfile.encryptionAtHost' is not valid because the 'Microsoft.Compute/EncryptionAtHost' feature is not enabled for this subscription.
And then it aborts out.
I can make the exact same VM in the Portal.
This error is new and I've searched for it everywhere, but I get no hits in Bing or Google.
The original docs page is: https://docs.microsoft.com/en-us/powershell/module/az.compute/new-azvm?view=azps-4.6.0
I have used the above command in the past in various demos and classes I've taught without any error. This has only just now appeared.
What can I do to fix, and why am I having it now but not before?