Skip to content

aks kollect does not work with AKS with disabled local accounts #201

@superzer0

Description

@superzer0

Describe the bug
We have AKS (1.24.6) configured in a way that disables local account access (best security practice).
Currently, our AKS is configured with Azure AD authentication with Kubernetes RBAC.

To Reproduce
Steps to reproduce the behavior: (for example)

  1. Execute az aks kollect -g *** -n *** --storage-account "***"
  2. See the error:
    (BadRequest) Getting static credential is not allowed because this cluster is set to disable local accounts. Code: BadRequest Message: Getting static credential is not allowed because this cluster is set to disable local accounts.

Expected behavior
AKS periscope runs

Desktop:

  • OS: Windows 11
  • Powershell Core 7.2.7
  • { "azure-cli": "2.42.0", "azure-cli-core": "2.42.0", "azure-cli-telemetry": "1.0.8", "extensions": { "aks-preview": "0.5.114", "azure-devops": "0.25.0", "interactive": "0.4.5" } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions