Not Monitored
Tag not monitored by Microsoft.
43,304 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
hello,
I want to create ADO service connection via az cmd.
What type should I set for creating azure ADO service connection for AKS via cmd 'az devops service-endpoint create --service-endpoint-configuration myfile.json'.
I set type kubernetes in the json file, but didn't work with error:
Unable to find service connection type 'kubernetes' using authentication schema 'ServicePrincipal'.
I checked the output of command: az devops service-endpoint list, and find the existed AKS did use that type as below:
"type": "kubernetes",
"url": "https://mydns-zvwnoqdd.hcp.westus2.azmk8s.io"
```Also I tried to sue type: azurermkubernetes, Kubernetes, etc. all failed.
should not I use Principal for AKS? I did create ACR service connection successfully.
how should I use then?
Thanks a lot!
David