Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

When enabledForTemplateDeployment is true, networkAcls.bypass must include "AzureServices"

Working on Private Endpoint implementation for KeyVault, for that I enabled Private Endpoint  and access is allowed to only selected networks. And no exceptions (no one can bypass the rule)



After doing that I was trying to add a Secret in a Key Vault but was notified with following error

"When enabledForTemplateDeployment is true, networkAcls.bypass must include "AzureServices""





Why it happened

 
So seeing the error I verified and confirmed that enabledForTemplateDeployment is true



But this 
Specifies whether Azure Resource Manager is permitted to retrieve secrets from the key vault  thus this is not why the error was popped.
                     
The other part of error says that network access control is enabled.

networkAcls.bypass - Tells what traffic can bypass network rules. This can be 'AzureServices' or 'None'.

But as I have selected No in exceptions, no azure services can access Key Vault (cannot bypass the firewall).

What to do


The KeyVault in which I was tying to add secret has Private Endpoint enabled and access is allowed to only selected networks.

Thus I need to be inside that network to access Key Vault, for I logged in to one of the VM which is part of this Virtual Network and that's it - was able to add secret.







Related Post 

  • Getting Started with Logic Apps - Enterprise Application Integration
  • Getting Started with Logic Apps - EDI X12 Fundamentals
  • Getting Started with Logic Apps - What happened to the Request?
  • Getting Started with Logic Apps - Fundamentals
  • Getting Started with Logic Apps - AS2
  • Getting Started with Logic Apps - XML to EDI X12
  • The provided map definition is not valid
  • Required property 'content' expects a value but got null. Path ''.'
  • Getting Started with Logic Apps - File Routing
  • Installing and Configuring On Premises Data Gateway - By adding user to Active Directory
  • Inserting data in On Premises SQL Database using Logic Apps
  • Inserting Multiple Records In On Prem SQL Using Logic App
  • Check your request parameters to make sure the Path “” exists on your file system




    This post first appeared on TechFindings, please read the originial post: here

    Share the post

    When enabledForTemplateDeployment is true, networkAcls.bypass must include "AzureServices"

    ×

    Subscribe to Techfindings

    Get updates delivered right to your inbox!

    Thank you for your subscription

    ×