You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After creating a new AKS cluster I'm trying to get access through AD with Powershell.
It works with Azure CLI.
az cli version 2.37 and 2.44.1
AKS 1.24.6
Authentication and Authorization: Azure AD authentication with Kubernetes RBAC.
I'm part of the authorized groups.
Command Name az aks get-credentials
Errors:
The command failed with an unexpected error. Here is the traceback:
[Errno 22] Invalid argument: '"C'
Traceback (most recent call last):
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 663, in execute
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 697, in _run_job
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 333, in __call__
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/acs/custom.py", line 2085, in aks_get_credentials
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/acs/custom.py", line 2206, in _print_or_merge_credentials
OSError: [Errno 22] Invalid argument: '"C'
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
Creatre a new AKS cluster from the Azure portal
az aks get-credentials --resource-group {} --name {}
Describe the bug
After creating a new AKS cluster I'm trying to get access through AD with Powershell.
It works with Azure CLI.
az cli version 2.37 and 2.44.1
AKS 1.24.6
Authentication and Authorization: Azure AD authentication with Kubernetes RBAC.
I'm part of the authorized groups.
Command Name
az aks get-credentials
Errors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az aks get-credentials --resource-group {} --name {}
Expected Behavior
Environment Summary
Additional Context
Copy from
https://github.com/Azure/azure-cli/issues/25282
The text was updated successfully, but these errors were encountered: