When 'enabledfordiskencryption' is True, networkAcLs.bypass must include "Azure Services".

Satyam 25 Reputation points
2024-08-08T07:04:07.8133333+00:00

User's image

I am trying to create a key vault and selected only the option Azure Disk encryption for volume encryption under Access policy.

For networking it was left to default i.e. all networks. But the deployment is failing for key vault. I have attached the screenshot of the error.

For reference I am following the process of "Create and encrypt a Windows virtual machine with the Azure portal"

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} vote

1 answer

Sort by: Most helpful
  1. Elshan Mammadli 5 Reputation points
    2024-09-18T19:47:27.81+00:00

    Hi @Raja Pothuraju

    I can confirm that I had the same error and following your suggestion helped.

    Steps I took:

    I went to Key Valut>Netrowking and selected "Allow public access from specific virtual networks and IP addresses" After that checked the box below "Allow trusted Microsoft services to bypass this firewall"

    1 person found this answer 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.