Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Properties is required for this resource" error when deploying bicep #14

Open
msftph opened this issue Sep 7, 2023 · 1 comment
Open

Comments

@msftph
Copy link

msftph commented Sep 7, 2023

The following resource is missing properties field and errors during deployment:

"{"code":"BadRequest","message":"Properties is required for this resouce."}"

https://github.com/MSUSAzureAccelerators/Azure-Cognitive-Search-Azure-OpenAI-Accelerator/blob/406038c0e8074b5b43cb995a21e4dcb39e1f1653/azuredeploy.bicep#L197C61-L197C69

The documentation shows the resource should have the following section:

resource formRecognizerAccount 'Microsoft.CognitiveServices/accounts@2023-05-01' = {
  name: formRecognizerName
  location: location
  sku: {
    name: 'S0'
  }
  kind: 'FormRecognizer'
  properties: {}
}

https://learn.microsoft.com/en-us/azure/templates/microsoft.cognitiveservices/2023-05-01/accounts?pivots=deployment-language-bicep

@msftph
Copy link
Author

msftph commented Sep 18, 2023

This also appears to be broken with the ARM template.

I see the pull request addresses that as well, good work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant