The property 'properties.publicNetworkAccess' is not valid on Azure App Configuration service #3827
-
Hello all, I am trying to create multiple azure resources through bicep secured behind VNet with no public network access. One such component is Azure app configuration service. I am using api spec 2020-07-01-preview and documentation referred at https://docs.microsoft.com/en-us/azure/templates/microsoft.appconfiguration/2020-07-01-preview/configurationstores?tabs=bicep . When I try to build with az bicep build --file main.bicep command, it succeeds giving no warnings or error in my schema. However on deploying, it fails with message The property 'properties.publicNetworkAccess' is not valid. The bicep module deployed is
Any idea what is wrong? I believe the property publicNetworkAccess and its value Disabled should be correct? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
In order to configure the publicNetworkAccess to Disabled, you first need to configure the Privatelink on the app configuration instance. publicNetworkAccess --> Control permission for data plane traffic coming from public networks while private endpoint is enabled. - Enabled or Disabled" Information on configuring private link is here: |
Beta Was this translation helpful? Give feedback.
In order to configure the publicNetworkAccess to Disabled, you first need to configure the Privatelink on the app configuration instance.
publicNetworkAccess --> Control permission for data plane traffic coming from public networks while private endpoint is enabled. - Enabled or Disabled"
Information on configuring private link is here:
https://docs.microsoft.com/en-us/azure/templates/microsoft.appconfiguration/2020-07-01-preview/configurationstores/privateendpointconnections?tabs=bicep