Skip to content

Customer feedback | az aks create | CLI example incorrect #29842

Description

@dbradish-microsoft

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

image

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

Metadata

Metadata

Assignees

Labels

AKSaz aks/acs/openshiftAuto-AssignAuto assign by botService AttentionThis issue is responsible by Azure service team.act-observability-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions