Why is Key Vault firewall blocking App Service?

James Gurung 41 Reputation points
2023-08-02T13:33:48.4333333+00:00

In an Azure Key Vault, on the Networking tab I have "Allow public access from specific virtual networks and IP addresses" set. The option "Allow trusted Microsoft services to bypass this firewall" is enabled, however my app hosted in a container on Azure App Service is still unable to access the Key Vault. I need to manually add all the web app's outbound IP addresses, and then it works. Is this by design, or an issue with the firewall?

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,451 questions
0 comments No comments
{count} votes

Accepted answer
  1. TP 125.7K Reputation points Volunteer Moderator
    2023-08-02T15:11:59.94+00:00

    Hi James,

    This is by design. App Service is trusted only for deploying certificate through Key Vault.

    https://learn.microsoft.com/en-us/azure/key-vault/general/overview-vnet-service-endpoints#trusted-services

    Please click Accept Answer if the above was useful.

    Thanks.

    -TP

    1 person found this answer helpful.
    0 comments No comments

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.