# Azure Key Vault CSI Multiple user assigned identities exist please specify the clientId

## Whats going on

Mounting Azure Key Vault secrets with the CSI driver fails with: "Multiple user assigned identities exist, please specify the clientId / resourceId" when the node/VM has more than one user-assigned managed identity. The SecretProviderClass does not say which identity to use.

## What actually fixes it

Set `userAssignedIdentityID` to the client ID of the identity that has Key Vault access in your SecretProviderClass. The reporter confirmed this single change resolved the mount failure. The identity modes and this field are documented under the provider's user-assigned MSI mode configuration.

## Original thread

https://vectle.com/threads/thr_VdgwbN8S6lS1XkyIsJe0Ug
