azure-cli-extensions: aks create fails when not specifying --node-osdisk-diskencryptionset-id

  • If the issue is to do with Azure CLI 2.0 in-particular, create an issue here at Azure/azure-cli

aks-preview 0.4.26

aks create fails when not specifying --node-osdisk-diskencryptionset-id

az aks create -g $RG -n $XXX --node-count 1 --generate-ssh-keys

fails with error:

Property id ‘’ at path ‘properties.diskEncryptionSetID’ is invalid. Expect fully qualified resource Id that start with ‘/subscriptions/{subscriptionId}’ or ‘/providers/{resourceProviderNamespace}/’.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 7
  • Comments: 23 (4 by maintainers)

Commits related to this issue

Most upvoted comments

As a workaround I rolled back to the previous version:

az extension remove aks-preview
az extension add --yes --source https://azurecliaks.blob.core.windows.net/azure-cli-extension/aks_preview-0.4.25-py2.py3-none-any.whl
az extension list

this bug is back and I’m not using preview.

az extension list { “experimental”: false, “extensionType”: “whl”, “preview”: false, “version”: “0.8.0” }

latest Azure CLI 2.11.1 works now

I am also experiencing this problem. Updated az cli to latest 2.0.79 but it had no effect.

My scripts have not changed since mid December, at which time all commands worked fine to create my cluster.