An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
Hello Nawaz,
Greetings!
The error indicates that the request to access the Key Vault secrets is being blocked by the vault's network access restrictions. Azure Key Vault management permissions are separate from data-plane permissions, so being able to view the Key Vault resource in the Azure portal does not automatically allow access to its secrets.
If the Key Vault is configured to allow access from selected networks, verify that the client's current public IPv4 address is added to the firewall allowlist under Key Vault → Networking. If the client is connected through a VPN or corporate proxy, ensure that the public IP seen by Azure is allowlisted rather than the local/private IP address. After updating the firewall rules, save the changes and refresh the Secrets blade.
If Public Network Access is disabled, IP allowlisting will not be effective. In this scenario, access must be performed through an approved Virtual Network using a configured Private Endpoint or an allowed subnet with the Microsoft.KeyVault service endpoint enabled. Additionally, confirm that the Key Vault FQDN resolves to the private endpoint IP address.
Once network connectivity is validated, verify that the account has the required data-plane permissions. For vaults using Azure RBAC, the Key Vault Secrets User role is required to read secret values, whereas the Key Vault Contributor role does not grant access to secret contents. For vaults using the Access Policy permission model, ensure that Get and List permissions are assigned for secrets.
In summary, the issue is typically caused by Key Vault firewall/network restrictions or insufficient data-plane permissions. Reviewing the Key Vault networking configuration, Private Endpoint connectivity (if applicable), and RBAC/Access Policy assignments should help restore access to the secrets.
Configure network security for Azure Key Vault -- https://learn.microsoft.com/en-us/azure/key-vault/general/network-security?tabs=azure-portal
Access Key Vault behind a firewall -- https://learn.microsoft.com/en-us/azure/key-vault/general/access-behind-firewall
I hope this helps clarify the cause of the issue and the required remediation steps. Please let us know if you continue to experience the problem after validating the network configuration and permissions, or if you need further assistance reviewing the Key Vault settings