Azure KeyVault Firewall not working as expected for Azure Services

Len Ott 20 Reputation points
2024-08-22T20:24:17.05+00:00

We have been using keyvault to get secrets for Azure functions and App Services with no issue (so all identity access is setup).
I tried to enable the Keyvault firewall to: Allow public access from specific virtual networks and IP addresses, I then check the "Exception: Allow trusted Microsoft services to bypass this firewall"

I 'assumed' this meant that App Services and Azure Functions would be considered "trusted", but that does not appear to be the case? If we add the IP address of the app service, it can access the keyvault, but with out that it can not.

What am I missing?

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,314 questions
{count} votes

Accepted answer
  1. Akhilesh Vallamkonda 10,080 Reputation points Microsoft Vendor
    2024-09-01T03:28:43.2366667+00:00

    Hi @Len Ott
    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.

    Issue:

    Azure Key Vault Firewall not working as expected for Azure Services. If you add the IP address of the app service, it can access the key Vault, but without IP address that it cannot.

    Solution:

    The issue is fixed by connecting the VPN to app service to the key Vault.

    If you have any other questions or are still running into more issues, please let me know. Thank you again for your time and patience throughout this issue.

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.