azure pipeline getting failed with below Failed to acquire a token Kubernetes Task
Looks like you have Azure AD Integration setup on your AKS cluster, the Kubernetes task can't deal with this. You would need to create a service account in Kubernetes and set this up as a service connection in Azure DevOps.