Hello everyone,
I'm experiencing an issue when creating an Azure Pipeline for my AKS cluster. When I try to choose a namespace in the field during pipeline creation, I receive the following error:
"Error while fetching cluster credentials. Make sure you have clusterAdmin permissions on the cluster. Error from external server: Failed to query service connection API: 'https://management.azure.com/subscriptions/xxxxxxxxxxxxx/resourcegroups/az-xxxx-xxxxx-rg/providers/Microsoft.ContainerService/managedClusters/xxxxxxx-xxxxxx/accessProfiles/clusterAdmin/listCredential?api-version=2018-03-31'. Status Code: 'BadRequest', Response from server: '{ "code": "BadRequest", "details": null, "message": "Getting static credential is not allowed because this cluster is set to disable local accounts.", "subcode": "" }'"
It seems that my AKS cluster has local accounts disabled, which is preventing the pipeline from using static credentials to access the cluster. I'm not sure how to proceed with creating the pipeline given this security setting. Any guidance on how to properly set up an Azure Pipeline for an AKS cluster with disabled local accounts would be greatly appreciated.
