Azure / azure-linux-extensions

Linux Virtual Machine Extensions for Azure
Apache License 2.0
301 stars 251 forks source link

Adding AAD extension to VMSS deployed for Azure K8s cluster #1909

Open mani3887 opened 3 months ago

mani3887 commented 3 months ago

I find that the AAD extension for Azure VMSS is not working as intended. We tried executing the below command and we observe that it gets created but gets removed from our cluster in few minutes. So we were wondering whether AAD extension is supported for the VMSS for the cluster. Ours is a IaaS and not the managed AKS cluster.

az vmss identity assign --name myVMSS --resource-group MyRG

az vmss extension set --publisher Microsoft.Azure.ActiveDirectory --name AADSSHLoginForLinux --resource-group MyRG --vmss-name MyVMSS --subscription MySubscription