Error whitelisting subnet to Key Vault

Henri Pihkala 0 Reputation points
2025-03-10T15:46:55.7333333+00:00

I'm having trouble whitelisting a new subnet to my Key Vault. I've previously added other subnets from other vnets without any issue. For some reason, for this vnet and subnet I'm getting an error.

I'm in the Networking settings of my Key Vault (via 'Manage' button on Networking page). Note that I have previously added a few subnets successfully via the exact same procedure:

Screenshot 2025-03-10 at 16.19.27

I select the virtual network I want to add:

Screenshot 2025-03-10 at 16.38.10

I click "Add" and it appears in the list:

Screenshot 2025-03-10 at 16.39.35

When I click "Save" I get this error:

Screenshot 2025-03-07 at 20.41.00

I don't understand how come I don't have sufficient permissions, as I was able to add the other subnets AND I have the Owner role in both associated Subscriptions (the one where the Key Vault is, and the one where the Virtual Network is). Checking with "View my access" in the IAM tab for both resources:

Screenshot 2025-03-10 at 16.41.47

I also compared my roles/permissions to the other vnets that I WAS able to successfully add to the Key Vault, and there's no difference at all, so I don't understand why it's failing:

Screenshot 2025-03-10 at 16.45.47

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,394 questions
0 comments No comments
{count} votes

Your answer

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