AKS Deployment Failing with "Index was outside the bounds of the array." Errors

Larissa Cox (SHE/HER) 0 Reputation points Microsoft Employee
2026-02-04T23:38:17.9+00:00

Our AKS deployment via ARM templates using Ev2 is consistently failing with the following error:

Exception: One or more errors occurred..

InnerException Message: Index was outside the bounds of the array.

Help Link: https://aka.ms/ev2/errors/troubleshooting

Deployment Name:

Operation Id: ResourceProvidereastusnw/SecretStore/failed-operation

This started after attempting to update the cluster to AKS version 1.32.9, which also resulted in an OS update on the node pools. We also had some changes to the versions of secrets-store-csi related images, which had to be reverted. The cluster and pods seem healthy, but the service is failing due to what seem to be authentication errors on the pods. We've tried reverting the version changes in ARM, but the issue remains and we can't get the cluster deployment back into a good state.

The error message here is very vague, and it's hard to tell what the root of the problem is. How can we troubleshoot this?

Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.