(PropertyChangeNotAllowed) Changing property 'servicePrincipalProfile.clientId' is not allowed. Code: PropertyChangeNotAllowed Message: Changing property 'servicePrincipalProfile.clientId' is not allowed. Target: servicePrincipalProfile.clientId
az feedbackauto-generates most of the information requested below, as of CLI version 2.0.62
Describe the bug
az aks create fails
To Reproduce
az aks create \
--name $CLUSTER_NAME
--resource-group $RESOURCE_GROUP
--node-count 2
--node-vm-size Standard_D2as_v4
--vm-set-type VirtualMachineScaleSets
--kubernetes-version 1.22.15
--network-plugin kubenet
--service-cidr 10.0.0.0/16
--dns-service-ip 10.0.0.10
--docker-bridge-address 172.17.0.1/16
--vnet-subnet-id $SUBNETID
--generate-ssh-keys
--network-policy kubenet
--enable-addons http_application_routing
--location uksouth
--enable-cluster-autoscaler
--min-count 1
--max-count 5
--service-principal $APPID
--client-secret $PASSWD
--attach-acr arthuracr
AAD role propagation done[############################################] 100.0000%(PropertyChangeNotAllowed) Changing property 'servicePrincipalProfile.clientId' is not allowed.
Code: PropertyChangeNotAllowed
Message: Changing property 'servicePrincipalProfile.clientId' is not allowed.
Target: servicePrincipalProfile.clientId
Expected behavior
cluster to be provisioned
Environment summary
python 3.9.9 kompose 1.26.0 kubectl 1.24.0 azure-cli 2.37.0 jq 1.6
Additional context
route to CXP team
@yonzhan what does the mean concretely?
aks related CLI commands are owned by service team and CXP team will help with first.
Hi @scheung38, I realize there hasn't been a meaningful response on this 2.5-year-old issue. Is this still an active issue?
Closing as outdated based on comment above. Please comment/reopen if this should still be an active issue. Thanks!