Venafi CM Self hosted - Troubleshooting Azure key vault discovery Forbidden Error
103
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 13:02 PM
Symptom
When attempting to discover certificates from Azure Key Vault following error is observed:
Failed to load certificates from key vault '<KeyVaultName>'.
Error: Operation returned an invalid status code 'Forbidden'
Environment
25.3 TPP/TLSPDC Discovery;TLSPDC
Cause
The Azure Key Vault access control configuration blocks the required access.
This typically occurs when:
- Azure Key Vault Network ACLs deny access from the Certificate Manager server, or
- Required firewall rules are missing when a proxy or specific server IP is used for Azure connectivity.
Resolution
Validate Azure permissions
- Run the attached permission‑validation script from Azure Cloud Shell to confirm the required access is granted.
- Ensure the service principal or managed identity used by Certificate Manager has the correct Key Vault permissions.
Verify Key Vault Network ACLs
- In the Azure Portal, navigate to the affected Key Vault.
- Open Networking.
- Confirm that the network access configuration allows:
-
Connections from the Certificate Manager server, or
-
The configured proxy (if applicable)
-
If firewall restrictions are enabled, the required IP addresses or virtual networks must be explicitly allowed.
-
Re‑run discovery
- After updating permissions or network settings, re‑run the Azure Key Vault discovery job in Certificate Manager.