Thank you for post!
The error message states that Firewall or VPN that are blocking your connectivity to the Key Vault's Data Plane Endpoint.
May I know have you Integrate Key Vault with Azure Private Link if so, refer the document and check Establish a private link connection to an existing key vault and Validate that the private link connection.
Please refer private links configuration issues on Azure Key Vault if you have any issues with the private link configuration.
Since you mentioned that accessing from your office network it might be firewall rules that is blocking traffic to the Azure Key Vault. Check your firewall rules to make sure that traffic to the Azure Key Vault is not being blocked and check the connectivity between your client and the Azure Key Vault by using network diagnostic tool, such as ping or tracert.
Also, verify with your admin that you in Azure AD VPN group.
If you have connected the azure VPN client, after login to azure vpn client ran this command in the terminal: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
Then refresh the azure key vault and see if the issue persisted.
If you would like to access the key vault with the public IP, you need to add you public IP to Key Vault firewall.
This error message can also be caused by a Tenant Mismatch
- if you recently deployed your Key Vault to a subscription that contains a different Tenant ID, or the subscription that owned the KV was moved to a different Tenant. For more info - The connection to Data Plane Failed.
In order to resolve a potential Tenant Mismatch issue, you can update your Key Vault's Tenant ID. For more info - Moving an Azure Key Vault to another subscription.
Hope this helps. Do let us know if you any further queries by responding in the comments section.
Thanks,
Akhilesh.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.