KeyVault missing: The 'PublicNetworkAccess' property can not be empty. Please specify an authorized value. #4077
Answered
by
mimachniak
mimachniak
asked this question in
Q&A
-
Dear All, I have issue with KeyVault creation with public and point, when I deplo I got error {
"status": "Failed",
"error": {
"code": "BadRequest",
"message": "The 'PublicNetworkAccess' property can not be empty. Please specify an authorized value."
}
}
and bicpe coe looks like this param tags object
param basename string
param keyVaultSku object
resource keyVault 'Microsoft.KeyVault/vaults@2021-06-01-preview' = {
name: basename
location: resourceGroup().location
tags: tags
properties: {
sku: keyVaultSku
tenantId: subscription().tenantId
accessPolicies: [
]
networkAcls: {
defaultAction: 'Allow'
bypass: 'AzureServices'
}
}
}
Thanks for help. |
Beta Was this translation helpful? Give feedback.
Answered by
mimachniak
Aug 19, 2021
Replies: 1 comment
-
Ok changin API verions helps: Microsoft.KeyVault/vaults@2019-09-01 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
alex-frankel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok changin API verions helps: Microsoft.KeyVault/vaults@2019-09-01