What works on one corporate computer doesn't work on another.
Maybe corporate network proxy or CA cert? Domain whitelisting? How do you debug this?
az login
az account set --subscription <subscription>
az aks get-credentials --resource-group <group name> --name <aks name>
kubectl get nodes
To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code ... to authenticate. E1201 ... 11576 round_trippers.go:174] CancelRequest not implemented by *azure.azureRoundTripper error: You must be logged in to the server (Unauthorized)