azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

(PropertyChangeNotAllowed) Changing property 'servicePrincipalProfile.clientId' is not allowed. Code: PropertyChangeNotAllowed Message: Changing property 'servicePrincipalProfile.clientId' is not allowed. Target: servicePrincipalProfile.clientId

Open scheung38 opened this issue 3 years ago • 4 comments

az feedback auto-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

scheung38 avatar Nov 29 '22 13:11 scheung38

route to CXP team

yonzhan avatar Nov 29 '22 14:11 yonzhan

@yonzhan what does the mean concretely?

scheung38 avatar Nov 30 '22 21:11 scheung38

aks related CLI commands are owned by service team and CXP team will help with first.

yonzhan avatar Nov 30 '22 23:11 yonzhan

Hi @scheung38, I realize there hasn't been a meaningful response on this 2.5-year-old issue. Is this still an active issue?

mbifeld avatar Jun 05 '25 16:06 mbifeld

Closing as outdated based on comment above. Please comment/reopen if this should still be an active issue. Thanks!

mbifeld avatar Jul 11 '25 16:07 mbifeld