-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AKS] Service principal overrides enable-managed-identity #7012
Comments
Thank you for opening this issue, we will look into it. |
cc @FumingZhang - this might be an easy fix, not sure? |
Actually, the fix would be a breaking change. In Although setting the default value of an Fix in PR #27887. May have to wait until the next breaking change window (MS Build 24, around June) to merge this change. |
@FumingZhang Thanks for the fix. |
Describe the bug
CLI should prevent
--service-principal
and--enable-managed-identity
from being used together in a single command.Related command
az aks create
Errors
The current behavior will not return any error, but the service principal will be used, and the managed identity option will be ignored, which is confusing.
Issue script & Debug output
NA
Expected behavior
Expected behavior: "You can't set both service-principal and managed-identity"
Environment Summary
"azure-cli": "2.53.1",
"azure-cli-core": "2.53.1",
"azure-cli-telemetry": "1.1.0",
"extensions": {
"account": "0.2.5",
"aks-preview": "0.5.168",
"application-insights": "0.1.16",
"azure-devops": "0.26.0",
"front-door": "1.0.17",
"ssh": "2.0.2"
}
Additional context
No response
The text was updated successfully, but these errors were encountered: