This GitHub issue is being moved from MicrosoftDocs/azure-docs-cli GitHub issue 4596.
Type of issue
Typo
Feedback
The example in this document is incorrect. There should be a "/" in front of the "subscriptions/SubID..."
az aks create -g MyResourceGroup -n MyMC --kubernetes-version 1.20.9 --node-vm-size VMSize --assign-identity "subscriptions/SubID/resourceGroups/RGName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myID" --enable-managed-identity --crg-id "subscriptions/SubID/resourceGroups/RGName/providers/Microsoft.ContainerService/CapacityReservationGroups/MyCRGID"
Describe the bug
This GitHub issue is being moved from MicrosoftDocs/azure-docs-cli GitHub issue 4596.
Type of issue
Typo
Feedback
The example in this document is incorrect. There should be a "/" in front of the "subscriptions/SubID..."
az aks create -g MyResourceGroup -n MyMC --kubernetes-version 1.20.9 --node-vm-size VMSize --assign-identity "subscriptions/SubID/resourceGroups/RGName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myID" --enable-managed-identity --crg-id "subscriptions/SubID/resourceGroups/RGName/providers/Microsoft.ContainerService/CapacityReservationGroups/MyCRGID"
Page URL
https://learn.microsoft.com/en-us/cli/azure/aks?view=azure-cli-latest
Content source URL
https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/aks.yml
Screen print
Related command
az aks create
Errors
autogenerated example has syntax error, it is missing a
/
Issue script & Debug output
n/a
Expected behavior
n/a
Environment Summary
Azure CLI 2.64.0
Additional context
No response