Private Link Error Creating Key Vault

Dave O'Donohoe 170 Reputation points
2023-07-19T21:08:17.2133333+00:00

Hi,

I am getting the below error when trying to create a new Key Vault in Azure.

Is this a possible known bug with Microsoft?

Any steer much appreciated.

Connection is not an approved private link and caller was ignored because bypass is not set to 'AzureServices' and PublicNetworkAccess is set to 'Disabled'. Vault: MyKeyvault12354;location=centralus

Thanks.

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

Accepted answer
  1. Akshay-MSFT 17,951 Reputation points Microsoft Employee Moderator
    2023-07-20T06:06:06.38+00:00

    @Dave O'Donohoe

    Thank you for posting your query on Microsoft Q&A.

    From above description it seems like you are getting the access issue with message "Connection is not an approved private link and caller was ignored because bypass is not set to 'AzureServices' and PublicNetworkAccess is set to 'Disabled' " while trying to create a new KeyVault MyKeyvault12354.

    How ever such error occurs when you try to create/add new key/secrets to the KeyVault. Assuming which I am responding below

    Please do correct me if this is not the case by responding in the comments section also do share the screenshot to validate the error generating step .

    This error occurs when :

    1. You have disabled public access on KeyVault.
    2. Allow trusted Microsoft services to bypass this firewall is not checked.

    User's image

    1. And the service or device you are accessing this KeyVault from is not using the allowed private IP.

    User's image

    Solution: Allow public access from specific virtual networks and IP addresses and adding your device IP address to it would fix the issue.

    User's image

    Also if you are trying access the vault via a Trusted Microsoft service then set Allow trusted Microsoft services to bypass this firewall.

    User's image

    Please do let me know if you have any queries by responding in the comments section.

    Thanks,

    Akshay Kaushik

    Please "Accept the answer" (Yes), and share your feedback if the suggestion answers you’re your query. This will help us and others in the community as well.


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.