You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,6 +105,24 @@ Use the [Azure pricing calculator](https://azure.microsoft.com/en-us/pricing/cal
105
105
106
106
<br/>
107
107
108
+
Prerequisite — enable the Microsoft.Compute/EncryptionAtHost feature for every subscription (and region, if applicable) where you plan to deploy VMs or scale sets with encryptionAtHost: true. Repeat the steps below for each target subscription.
109
+
110
+
Steps to enable the feature:
111
+
1. Set the target subscription:
112
+
Run: <code>az account set --subscription "<YourSubscriptionId>"</code>
113
+
2. Register the feature (one time per subscription):
This error appears when a resource (typically a Virtual Machine or scale set) sets the property <code>encryptionAtHost: true</code> but the subscription isn't enabled for the feature <code>Microsoft.Compute/EncryptionAtHost</code> in that region.
304
-
305
-
Example error snippet:
306
-
307
-
<pre>
308
-
{"code":"InvalidTemplateDeployment","message":"The template deployment failed with error: 'The feature Microsoft.Compute/EncryptionAtHost is not enabled forsubscription <sub-id>in location <region>.'"}
309
-
</pre>
310
-
311
-
Why it happens:
312
-
- The host-level encryption capability is a gated feature. Subscriptions must register the feature (and sometimes wait for registration to complete) before provisioning VMs with it enabled.
313
-
- Attempting to force it on before registration completes blocks deployment.
314
-
315
-
How to fix:
316
-
1. Set the subscription
317
-
- Run: <code>az account set --subscription "yourSubIDHere"</code>
318
-
2. Register the feature (one time per subscription):
💡 Note: If you encounter any other issues, you can refer to the [Common Deployment Errors](https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/common-deployment-errors) documentation.
331
301
If the problem persists, you can also raise an bug in our [MACAE Github Issues](https://github.com/microsoft/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/issues) for further support.
0 commit comments